[android-common:android14-kiwi-6.1 192/192] arch/arm64/crypto//ghash-ce-glue.c:511:33: warning: unused variable 'ghash_cpu_feature'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
Hi Ard,

First bad commit (maybe != root cause):

tree:   https://android.googlesource.com/kernel/common android14-kiwi-6.1
head:   b3c531e1677cf574dd7ffc9bfce3a298c74ef2f8
commit: c6d5a767217ce93403528e99f1a1eb401a26eeb3 [192/192] ANDROID: fips140: add kernel crypto module
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260721/[email protected]/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5c0dfced1adc55429e32b1db08570abd3a219d85)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260721/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

   In file included from <built-in>:3:
   In file included from include/linux/compiler_types.h:94:
   include/linux/compiler-clang.h:24:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
      24 | #define __SANITIZE_ADDRESS__
         |         ^
   <built-in>:371:9: note: previous definition is here
     371 | #define __SANITIZE_ADDRESS__ 1
         |         ^
>> arch/arm64/crypto//ghash-ce-glue.c:511:33: warning: unused variable 'ghash_cpu_feature' [-Wunused-const-variable]
     511 | static const struct cpu_feature ghash_cpu_feature[] = {
         |                                 ^~~~~~~~~~~~~~~~~
   2 warnings generated.


vim +/ghash_cpu_feature +511 arch/arm64/crypto//ghash-ce-glue.c

fdd2389457b209a Ard Biesheuvel 2014-03-26  510  
03c9a333fef1bb0 Ard Biesheuvel 2017-07-24 @511  static const struct cpu_feature ghash_cpu_feature[] = {
03c9a333fef1bb0 Ard Biesheuvel 2017-07-24  512  	{ cpu_feature(PMULL) }, { }
03c9a333fef1bb0 Ard Biesheuvel 2017-07-24  513  };
03c9a333fef1bb0 Ard Biesheuvel 2017-07-24  514  MODULE_DEVICE_TABLE(cpu, ghash_cpu_feature);
03c9a333fef1bb0 Ard Biesheuvel 2017-07-24  515  

:::::: The code at line 511 was first introduced by commit
:::::: 03c9a333fef1bb0a67615b686a7342d853f1a460 crypto: arm64/ghash - add NEON accelerated fallback for 64-bit PMULL

:::::: TO: Ard Biesheuvel <[email protected]>
:::::: CC: Herbert Xu <[email protected]>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.