CC: kbuild-...@lists.01.org
CC: linux-ker...@vger.kernel.org
TO: Chuck Lever <chuck.le...@oracle.com>
CC: Jason Gunthorpe <j...@mellanox.com>
CC: Leon Romanovsky <leo...@mellanox.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   a581387e415bbb0085e7e67906c8f4a99746590e
commit: 278f74b39e641e1315e1b7f11b26aa1f989a40fc RDMA/core: Move and rename 
trace_cm_id_create()
date:   5 weeks ago
:::::: branch date: 5 hours ago
:::::: commit date: 5 weeks ago
config: riscv-randconfig-m031-20200710 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>
Reported-by: Dan Carpenter <dan.carpen...@oracle.com>

New smatch warnings:
drivers/infiniband/core/./cma_trace.h:106 trace_raw_output_cm_id_attach() 
error: '%pIS' expects argument of type struct sockaddr *, argument 4 has type 
'uchar[]'

Old smatch warnings:
drivers/infiniband/core/./cma_trace.h:61 trace_raw_output_cma_fsm_class() 
error: '%pIS' expects argument of type struct sockaddr *, argument 4 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:61 trace_raw_output_cma_fsm_class() 
error: '%pIS' expects argument of type struct sockaddr *, argument 5 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:106 trace_raw_output_cm_id_attach() 
error: '%pIS' expects argument of type struct sockaddr *, argument 5 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:136 trace_raw_output_cma_qp_class() 
error: '%pIS' expects argument of type struct sockaddr *, argument 4 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:136 trace_raw_output_cma_qp_class() 
error: '%pIS' expects argument of type struct sockaddr *, argument 5 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:211 trace_raw_output_cm_qp_create() 
error: '%pIS' expects argument of type struct sockaddr *, argument 4 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:211 trace_raw_output_cm_qp_create() 
error: '%pIS' expects argument of type struct sockaddr *, argument 5 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:263 trace_raw_output_cm_req_handler() 
error: '%pIS' expects argument of type struct sockaddr *, argument 4 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:263 trace_raw_output_cm_req_handler() 
error: '%pIS' expects argument of type struct sockaddr *, argument 5 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:295 trace_raw_output_cm_event_handler() 
error: '%pIS' expects argument of type struct sockaddr *, argument 4 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:295 trace_raw_output_cm_event_handler() 
error: '%pIS' expects argument of type struct sockaddr *, argument 5 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:330 trace_raw_output_cm_event_done() 
error: '%pIS' expects argument of type struct sockaddr *, argument 4 has type 
'uchar[]'
drivers/infiniband/core/./cma_trace.h:330 trace_raw_output_cm_event_done() 
error: '%pIS' expects argument of type struct sockaddr *, argument 5 has type 
'uchar[]'

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=278f74b39e641e1315e1b7f11b26aa1f989a40fc
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 278f74b39e641e1315e1b7f11b26aa1f989a40fc
vim +106 drivers/infiniband/core/./cma_trace.h

ed999f820a6c57 Chuck Lever 2019-12-18  105  
278f74b39e641e Chuck Lever 2020-05-30 @106  TRACE_EVENT(cm_id_attach,
ed999f820a6c57 Chuck Lever 2019-12-18  107      TP_PROTO(
278f74b39e641e Chuck Lever 2020-05-30  108              const struct 
rdma_id_private *id_priv,
278f74b39e641e Chuck Lever 2020-05-30  109              const struct ib_device 
*device
ed999f820a6c57 Chuck Lever 2019-12-18  110      ),
ed999f820a6c57 Chuck Lever 2019-12-18  111  
278f74b39e641e Chuck Lever 2020-05-30  112      TP_ARGS(id_priv, device),
ed999f820a6c57 Chuck Lever 2019-12-18  113  
ed999f820a6c57 Chuck Lever 2019-12-18  114      TP_STRUCT__entry(
ed999f820a6c57 Chuck Lever 2019-12-18  115              __field(u32, cm_id)
278f74b39e641e Chuck Lever 2020-05-30  116              __array(unsigned char, 
srcaddr, sizeof(struct sockaddr_in6))
278f74b39e641e Chuck Lever 2020-05-30  117              __array(unsigned char, 
dstaddr, sizeof(struct sockaddr_in6))
278f74b39e641e Chuck Lever 2020-05-30  118              __string(devname, 
device->name)
ed999f820a6c57 Chuck Lever 2019-12-18  119      ),
ed999f820a6c57 Chuck Lever 2019-12-18  120  
ed999f820a6c57 Chuck Lever 2019-12-18  121      TP_fast_assign(
ed999f820a6c57 Chuck Lever 2019-12-18  122              __entry->cm_id = 
id_priv->res.id;
278f74b39e641e Chuck Lever 2020-05-30  123              
memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
278f74b39e641e Chuck Lever 2020-05-30  124                     sizeof(struct 
sockaddr_in6));
278f74b39e641e Chuck Lever 2020-05-30  125              
memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
278f74b39e641e Chuck Lever 2020-05-30  126                     sizeof(struct 
sockaddr_in6));
278f74b39e641e Chuck Lever 2020-05-30  127              __assign_str(devname, 
device->name);
ed999f820a6c57 Chuck Lever 2019-12-18  128      ),
ed999f820a6c57 Chuck Lever 2019-12-18  129  
278f74b39e641e Chuck Lever 2020-05-30  130      TP_printk("cm.id=%u src=%pISpc 
dst=%pISpc device=%s",
278f74b39e641e Chuck Lever 2020-05-30  131              __entry->cm_id, 
__entry->srcaddr, __entry->dstaddr,
278f74b39e641e Chuck Lever 2020-05-30  132              __get_str(devname)
ed999f820a6c57 Chuck Lever 2019-12-18  133      )
ed999f820a6c57 Chuck Lever 2019-12-18  134  );
ed999f820a6c57 Chuck Lever 2019-12-18  135  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to