CC: [email protected]
BCC: [email protected]
CC: [email protected]
TO: Mingzhe Zou <[email protected]>
CC: "Martin K. Petersen" <[email protected]>
CC: Mike Christie <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   eaea45fc0e7b6ae439526b4a41d91230c8517336
commit: d72d827f2f2636d8d72f0f3ebe5b661c9a24d343 scsi: target: Add 
iscsi/cpus_allowed_list in configfs
date:   10 weeks ago
:::::: branch date: 2 hours ago
:::::: commit date: 10 weeks ago
compiler: m68k-linux-gcc (GCC) 11.3.0
reproduce (cppcheck warning):
        # apt-get install cppcheck
        git checkout d72d827f2f2636d8d72f0f3ebe5b661c9a24d343
        cppcheck --quiet --enable=style,performance,portability --template=gcc 
FILE

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> drivers/target/iscsi/iscsi_target_configfs.c:1133:9: warning: sprintf format 
>> string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]
    return sprintf(page, "%*pbln",
           ^

vim +1133 drivers/target/iscsi/iscsi_target_configfs.c

e48354ce078c07 Nicholas Bellinger 2011-07-23  1129  
d72d827f2f2636 Mingzhe Zou        2022-03-01  1130  static ssize_t 
lio_target_wwn_cpus_allowed_list_show(
d72d827f2f2636 Mingzhe Zou        2022-03-01  1131              struct 
config_item *item, char *page)
d72d827f2f2636 Mingzhe Zou        2022-03-01  1132  {
d72d827f2f2636 Mingzhe Zou        2022-03-01 @1133      return sprintf(page, 
"%*pbl\n",
d72d827f2f2636 Mingzhe Zou        2022-03-01  1134                     
cpumask_pr_args(iscsit_global->allowed_cpumask));
d72d827f2f2636 Mingzhe Zou        2022-03-01  1135  }
d72d827f2f2636 Mingzhe Zou        2022-03-01  1136  

-- 
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