* [cel:nfsd-5.8 4/31] fs/nfsd/./trace.h:470:1: sparse: sparse: incorrect type in assignment (different base types)
@ 2020-05-02 14:19 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-02 14:19 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3106 bytes --]
tree: git://git.linux-nfs.org/projects/cel/cel-2.6.git nfsd-5.8
head: b3bd93d54a48dbb6feb5eb1d46027d8602cef06c
commit: 1c3c49f4833b0ededa26242246cedec54db84457 [4/31] NFSD: Add tracepoints to NFSD's duplicate reply cache
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-191-gc51a0382-dirty
git checkout 1c3c49f4833b0ededa26242246cedec54db84457
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> fs/nfsd/./trace.h:470:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] cached @@ got restricted unsigned int [usertype] cached @@
>> fs/nfsd/./trace.h:470:1: sparse: expected unsigned int [usertype] cached
>> fs/nfsd/./trace.h:470:1: sparse: got restricted __wsum const [usertype] k_csum
>> fs/nfsd/./trace.h:470:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ingress @@ got restricted unsigned int [usertype] ingress @@
>> fs/nfsd/./trace.h:470:1: sparse: expected unsigned int [usertype] ingress
>> fs/nfsd/./trace.h:470:1: sparse: got restricted __wsum const [usertype] k_csum
>> fs/nfsd/./trace.h:470:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] cached @@ got restricted unsigned int [usertype] cached @@
>> fs/nfsd/./trace.h:470:1: sparse: expected unsigned int [usertype] cached
>> fs/nfsd/./trace.h:470:1: sparse: got restricted __wsum const [usertype] k_csum
>> fs/nfsd/./trace.h:470:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ingress @@ got restricted unsigned int [usertype] ingress @@
>> fs/nfsd/./trace.h:470:1: sparse: expected unsigned int [usertype] ingress
>> fs/nfsd/./trace.h:470:1: sparse: got restricted __wsum const [usertype] k_csum
vim +470 fs/nfsd/./trace.h
469
> 470 TRACE_EVENT(nfsd_drc_mismatch,
471 TP_PROTO(
472 const struct nfsd_net *nn,
473 const struct svc_cacherep *key,
474 const struct svc_cacherep *rp
475 ),
476 TP_ARGS(nn, key, rp),
477 TP_STRUCT__entry(
478 __field(unsigned long long, boot_time)
479 __field(u32, xid)
480 __field(u32, cached)
481 __field(u32, ingress)
482 ),
483 TP_fast_assign(
484 __entry->boot_time = nn->boot_time;
485 __entry->xid = be32_to_cpu(key->c_key.k_xid);
486 __entry->cached = key->c_key.k_csum;
487 __entry->ingress = rp->c_key.k_csum;
488 ),
489 TP_printk("boot_time=%16llx xid=0x%08x cached-csum=0x%08x ingress-csum=0x%08x",
490 __entry->boot_time, __entry->xid, __entry->cached,
491 __entry->ingress)
492 );
493
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-02 14:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-02 14:19 [cel:nfsd-5.8 4/31] fs/nfsd/./trace.h:470:1: sparse: sparse: incorrect type in assignment (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.