* [jarkko-tpmdd:next 15/38] drivers/char/tpm/tpm-buf.c:62: warning: Function parameter or struct member 'buf' not described in 'tpm_buf_length'
@ 2024-05-06 0:08 kernel test robot
2024-05-07 20:00 ` Jarkko Sakkinen
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-05-06 0:08 UTC (permalink / raw)
To: Jarkko Sakkinen; +Cc: llvm, oe-kbuild-all, James Bottomley, Stefan Berger
tree: git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git next
head: 152585665f0f6b89e67ed6d04c17b18d1f0f4077
commit: 28a0675aa9964fd89e61248d4cfe49baf9151199 [15/38] tpm: Store the length of the tpm_buf data separately.
config: s390-defconfig (https://download.01.org/0day-ci/archive/20240506/202405060827.XuRaAHPt-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 37ae4ad0eef338776c7e2cffb3896153d43dcd90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240506/202405060827.XuRaAHPt-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/202405060827.XuRaAHPt-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/char/tpm/tpm-buf.c:62: warning: Function parameter or struct member 'buf' not described in 'tpm_buf_length'
vim +62 drivers/char/tpm/tpm-buf.c
eb0a137505fd0b James Bottomley 2024-04-29 55
28a0675aa9964f Jarkko Sakkinen 2024-04-29 56 /**
28a0675aa9964f Jarkko Sakkinen 2024-04-29 57 * tpm_buf_length() - Return the number of bytes consumed by the data
28a0675aa9964f Jarkko Sakkinen 2024-04-29 58 *
28a0675aa9964f Jarkko Sakkinen 2024-04-29 59 * Return: The number of bytes consumed by the buffer
28a0675aa9964f Jarkko Sakkinen 2024-04-29 60 */
eb0a137505fd0b James Bottomley 2024-04-29 61 u32 tpm_buf_length(struct tpm_buf *buf)
eb0a137505fd0b James Bottomley 2024-04-29 @62 {
28a0675aa9964f Jarkko Sakkinen 2024-04-29 63 return buf->length;
eb0a137505fd0b James Bottomley 2024-04-29 64 }
eb0a137505fd0b James Bottomley 2024-04-29 65 EXPORT_SYMBOL_GPL(tpm_buf_length);
eb0a137505fd0b James Bottomley 2024-04-29 66
:::::: The code at line 62 was first introduced by commit
:::::: eb0a137505fd0baf693173f3572b87e983bc0594 tpm: Move buffer handling from static inlines to real functions
:::::: TO: James Bottomley <James.Bottomley@HansenPartnership.com>
:::::: CC: Jarkko Sakkinen <jarkko@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-07 20:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 0:08 [jarkko-tpmdd:next 15/38] drivers/char/tpm/tpm-buf.c:62: warning: Function parameter or struct member 'buf' not described in 'tpm_buf_length' kernel test robot
2024-05-07 20:00 ` Jarkko Sakkinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox