CC: [email protected]
BCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: Alexander Fomichev <[email protected]>
CC: Jon Mason <[email protected]>

tree:   https://github.com/jonmason/ntb ntb-next
head:   10003e852471b1214f4383d79592497b3f4c7b39
commit: 10003e852471b1214f4383d79592497b3f4c7b39 [2/2] ntb_perf: extend with 
burst/poll/doorbell latency measurement
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
config: s390-randconfig-c003-20220417 
(https://download.01.org/0day-ci/archive/20220418/[email protected]/config)
compiler: s390-linux-gcc (GCC) 11.2.0

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


cocci warnings: (new ones prefixed by >>)
>> drivers/ntb/test/ntb_perf.c:1454:5-20: duplicated argument to && or ||
   drivers/ntb/test/ntb_perf.c:1454:24-39: duplicated argument to && or ||

vim +1454 drivers/ntb/test/ntb_perf.c

10003e852471b1 Alexander Fomichev 2022-04-18  1449  
10003e852471b1 Alexander Fomichev 2022-04-18  1450  static void 
perf_ext_lat_work(struct work_struct *work)
10003e852471b1 Alexander Fomichev 2022-04-18  1451  {
10003e852471b1 Alexander Fomichev 2022-04-18  1452      struct 
perf_ext_lat_data *data = to_ext_lat_data(work);
10003e852471b1 Alexander Fomichev 2022-04-18  1453  
10003e852471b1 Alexander Fomichev 2022-04-18 @1454      if (!data->ops.init || 
!data->ops.init || !data->ops.init) {
10003e852471b1 Alexander Fomichev 2022-04-18  1455              struct perf_ctx 
*perf = data->perf;
10003e852471b1 Alexander Fomichev 2022-04-18  1456  
10003e852471b1 Alexander Fomichev 2022-04-18  1457              data->status = 
-EFAULT;
10003e852471b1 Alexander Fomichev 2022-04-18  1458              
atomic_set(&perf->running, 0);
10003e852471b1 Alexander Fomichev 2022-04-18  1459              
wake_up(&perf->twait);
10003e852471b1 Alexander Fomichev 2022-04-18  1460              return;
10003e852471b1 Alexander Fomichev 2022-04-18  1461      }
10003e852471b1 Alexander Fomichev 2022-04-18  1462  
10003e852471b1 Alexander Fomichev 2022-04-18  1463      data->status = 
data->ops.init(data);
10003e852471b1 Alexander Fomichev 2022-04-18  1464      if (data->status)
10003e852471b1 Alexander Fomichev 2022-04-18  1465              return;
10003e852471b1 Alexander Fomichev 2022-04-18  1466  
10003e852471b1 Alexander Fomichev 2022-04-18  1467      data->status = 
data->ops.run(data);
10003e852471b1 Alexander Fomichev 2022-04-18  1468  
10003e852471b1 Alexander Fomichev 2022-04-18  1469      data->ops.clear(data);
10003e852471b1 Alexander Fomichev 2022-04-18  1470  }
10003e852471b1 Alexander Fomichev 2022-04-18  1471  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to