Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [jarkko-tpmdd:tpm2key-v8 9/11] crypto/tpm2_key.c:104: warning: expecting prototype for tpm_key_decode(). Prototype was for tpm2_key_decode() instead
@ 2024-09-11  5:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-11  5:21 UTC (permalink / raw)
  To: Jarkko Sakkinen; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tpm2key-v8
head:   79e909153c0a5ac21c2c5c0d4eac9229b3408178
commit: 4585d73c32859de02a0112dec20eb8ab527a912c [9/11] crypto: tpm2_key: Introduce a TPM2 key type
config: i386-buildonly-randconfig-001-20240911 (https://download.01.org/0day-ci/archive/20240911/202409111302.eEdgJjPF-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240911/202409111302.eEdgJjPF-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/202409111302.eEdgJjPF-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> crypto/tpm2_key.c:104: warning: expecting prototype for tpm_key_decode(). Prototype was for tpm2_key_decode() instead


vim +104 crypto/tpm2_key.c

    88	
    89	/**
    90	 * tpm_key_decode() - Decode TPM2 ASN.1 key
    91	 * @src:	ASN.1 source.
    92	 * @src_len:	ASN.1 source length.
    93	 *
    94	 * Decodes the TPM2 ASN.1 key and validates that the public key data has all
    95	 * the shared fields of TPMT_PUBLIC. This is full coverage of the memory that
    96	 * can be validated before doing any key type specific validation.
    97	 *
    98	 * Return:
    99	 * - TPM2 ASN.1 key on success.
   100	 * - -EBADMSG when decoding fails.
   101	 * - -ENOMEM when OOM while allocating struct tpm2_key.
   102	 */
   103	struct tpm2_key *tpm2_key_decode(const u8 *src, u32 src_len)
 > 104	{

-- 
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-09-11  5:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-11  5:21 [jarkko-tpmdd:tpm2key-v8 9/11] crypto/tpm2_key.c:104: warning: expecting prototype for tpm_key_decode(). Prototype was for tpm2_key_decode() instead 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