* [dhowells-fs:pgplib 8/14] crypto/asymmetric_keys/pgp_signature.c:26:3: warning: 'pgp_pubkey_hash' defined but not used
@ 2024-08-17 11:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-17 11:05 UTC (permalink / raw)
To: David Howells; +Cc: oe-kbuild-all, Roberto Sassu
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git pgplib
head: f5bc37208146cc7ce38c4ad5a403e00904c0b6d2
commit: 4687723ce751ddc2429ed0cbfb2bf1e56658ace5 [8/14] KEYS: PGP-based public key signature verification
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20240817/202408171901.k5WNZfKX-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240817/202408171901.k5WNZfKX-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408171901.k5WNZfKX-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> crypto/asymmetric_keys/pgp_signature.c:26:3: warning: 'pgp_pubkey_hash' defined but not used [-Wunused-const-variable=]
26 | } pgp_pubkey_hash[PGP_HASH__LAST] = {
| ^~~~~~~~~~~~~~~
vim +/pgp_pubkey_hash +26 crypto/asymmetric_keys/pgp_signature.c
23
24 static const struct {
25 enum hash_algo algo : 8;
> 26 } pgp_pubkey_hash[PGP_HASH__LAST] = {
27 [PGP_HASH_MD5].algo = HASH_ALGO_MD5,
28 [PGP_HASH_SHA1].algo = HASH_ALGO_SHA1,
29 [PGP_HASH_RIPE_MD_160].algo = HASH_ALGO_RIPE_MD_160,
30 [PGP_HASH_SHA256].algo = HASH_ALGO_SHA256,
31 [PGP_HASH_SHA384].algo = HASH_ALGO_SHA384,
32 [PGP_HASH_SHA512].algo = HASH_ALGO_SHA512,
33 [PGP_HASH_SHA224].algo = HASH_ALGO_SHA224,
34 };
35
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-17 11:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-17 11:05 [dhowells-fs:pgplib 8/14] crypto/asymmetric_keys/pgp_signature.c:26:3: warning: 'pgp_pubkey_hash' defined but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.