* [jss-tpmdd:master 14/16] include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types)
@ 2019-10-12 1:25 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-12 1:25 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 11983 bytes --]
tree: git://git.infradead.org/users/jjs/linux-tpmdd master
head: 2feacb45cc29cf4fbb3783372ca096ea4d4fd761
commit: 371b14cb93831ac738a90a33c761ac16e05b8553 [14/16] tpm: Move tpm_buf code to include/linux/
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-rc1-42-g38eda53-dirty
git checkout 371b14cb93831ac738a90a33c761ac16e05b8553
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
--
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
--
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
--
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
>> include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long addr @@ got unsigned chaunsigned long addr @@
>> include/linux/tpm.h:318:9: sparse: expected unsigned long addr
>> include/linux/tpm.h:318:9: sparse: got unsigned char [usertype] *data
vim +318 include/linux/tpm.h
315
316 static inline void tpm_buf_destroy(struct tpm_buf *buf)
317 {
> 318 free_page(buf->data);
319 }
320
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-12 1:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-12 1:25 [jss-tpmdd:master 14/16] include/linux/tpm.h:318:9: sparse: sparse: incorrect type in argument 1 (different base types) kbuild 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.