mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [ebiggers:crypto-pending 8/9] arch/arm64/crypto/polyval-ce-glue.c:187:1: error: redefinition of '__inittest'
@ 2022-05-22  8:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-22  8:26 UTC (permalink / raw)
  To: Nathan Huckleberry
  Cc: llvm, kbuild-all, linux-kernel, Eric Biggers, Ard Biesheuvel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git crypto-pending
head:   22ca50a7cbeef1cde1ea3d99686ad3575bd7d4ed
commit: bfa275a9bb4e16067b9056e8019bd478da798bc9 [8/9] crypto: arm64/polyval: Add PMULL accelerated implementation of POLYVAL
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220522/202205221607.4vYxE0vQ-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b369762beb70dfef22c7e793aed79b94d7dc0757)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/commit/?id=bfa275a9bb4e16067b9056e8019bd478da798bc9
        git remote add ebiggers https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git
        git fetch --no-tags ebiggers crypto-pending
        git checkout bfa275a9bb4e16067b9056e8019bd478da798bc9
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/arm64/crypto/polyval-ce-glue.c:187:1: error: redefinition of '__inittest'
   module_init(polyval_ce_mod_init);
   ^
   include/linux/module.h:131:42: note: expanded from macro 'module_init'
           static inline initcall_t __maybe_unused __inittest(void)                \
                                                   ^
   arch/arm64/crypto/polyval-ce-glue.c:185:1: note: previous definition is here
   module_cpu_feature_match(PMULL, polyval_ce_mod_init)
   ^
   include/linux/cpufeature.h:54:10: note: expanded from macro 'module_cpu_feature_match'
   }                                                               \
                                                                   ^
   include/linux/module.h:131:42: note: expanded from macro '\
   module_init'
           static inline initcall_t __maybe_unused __inittest(void)                \
                                                   ^
>> arch/arm64/crypto/polyval-ce-glue.c:187:1: error: redefinition of 'init_module'
   module_init(polyval_ce_mod_init);
   ^
   include/linux/module.h:133:6: note: expanded from macro 'module_init'
           int init_module(void) __copy(initfn)                    \
               ^
   arch/arm64/crypto/polyval-ce-glue.c:185:1: note: previous definition is here
   module_cpu_feature_match(PMULL, polyval_ce_mod_init)
   ^
   include/linux/cpufeature.h:54:10: note: expanded from macro 'module_cpu_feature_match'
   }                                                               \
                                                                   ^
   include/linux/module.h:133:6: note: expanded from macro '\
   module_init'
           int init_module(void) __copy(initfn)                    \
               ^
   2 errors generated.


vim +/__inittest +187 arch/arm64/crypto/polyval-ce-glue.c

   186	
 > 187	module_init(polyval_ce_mod_init);
   188	module_exit(polyval_ce_mod_exit);
   189	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-22  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-22  8:26 [ebiggers:crypto-pending 8/9] arch/arm64/crypto/polyval-ce-glue.c:187:1: error: redefinition of '__inittest' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®