CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Gioh Kim <[email protected]>
CC: Jens Axboe <[email protected]>
CC: Jack Wang <[email protected]>
CC: Leon Romanovsky <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   593ef1658ecf61d3619885bdbbcfffa3d1417891
commit: fa607fcb87f6e3dca38b9984c4ccde3e36a43721 [13667/14048] block/rnbd-clt: 
Support polling mode for IO latency optimization
:::::: branch date: 18 hours ago
:::::: commit date: 34 hours ago
config: x86_64-randconfig-m031-20210420 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
drivers/infiniband/ulp/rtrs/rtrs-clt.c:2922 rtrs_clt_rdma_cq_direct() error: 
uninitialized symbol 'cnt'.

vim +/cnt +2922 drivers/infiniband/ulp/rtrs/rtrs-clt.c

6a98d71daea186 Jack Wang 2020-05-11  2900  
fa607fcb87f6e3 Gioh Kim  2021-04-19  2901  int rtrs_clt_rdma_cq_direct(struct 
rtrs_clt *clt, unsigned int index)
fa607fcb87f6e3 Gioh Kim  2021-04-19  2902  {
fa607fcb87f6e3 Gioh Kim  2021-04-19  2903       int cnt;
fa607fcb87f6e3 Gioh Kim  2021-04-19  2904       struct rtrs_con *con;
fa607fcb87f6e3 Gioh Kim  2021-04-19  2905       struct rtrs_clt_sess *sess;
fa607fcb87f6e3 Gioh Kim  2021-04-19  2906       struct path_it it;
fa607fcb87f6e3 Gioh Kim  2021-04-19  2907  
fa607fcb87f6e3 Gioh Kim  2021-04-19  2908       rcu_read_lock();
fa607fcb87f6e3 Gioh Kim  2021-04-19  2909       for (path_it_init(&it, clt);
fa607fcb87f6e3 Gioh Kim  2021-04-19  2910            (sess = it.next_path(&it)) 
&& it.i < it.clt->paths_num; it.i++) {
fa607fcb87f6e3 Gioh Kim  2021-04-19  2911               if 
(READ_ONCE(sess->state) != RTRS_CLT_CONNECTED)
fa607fcb87f6e3 Gioh Kim  2021-04-19  2912                       continue;
fa607fcb87f6e3 Gioh Kim  2021-04-19  2913  
fa607fcb87f6e3 Gioh Kim  2021-04-19  2914               con = sess->s.con[index 
+ 1];
fa607fcb87f6e3 Gioh Kim  2021-04-19  2915               cnt = 
ib_process_cq_direct(con->cq, -1);
fa607fcb87f6e3 Gioh Kim  2021-04-19  2916               if (cnt)
fa607fcb87f6e3 Gioh Kim  2021-04-19  2917                       break;
fa607fcb87f6e3 Gioh Kim  2021-04-19  2918       }
fa607fcb87f6e3 Gioh Kim  2021-04-19  2919       path_it_deinit(&it);
fa607fcb87f6e3 Gioh Kim  2021-04-19  2920       rcu_read_unlock();
fa607fcb87f6e3 Gioh Kim  2021-04-19  2921  
fa607fcb87f6e3 Gioh Kim  2021-04-19 @2922       return cnt;
fa607fcb87f6e3 Gioh Kim  2021-04-19  2923  }
fa607fcb87f6e3 Gioh Kim  2021-04-19  2924  
EXPORT_SYMBOL(rtrs_clt_rdma_cq_direct);
fa607fcb87f6e3 Gioh Kim  2021-04-19  2925  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to