Re: [PATCH 07/11] block: Add missing entries from cmd_flag_name[]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

kernel test robot noticed the following build warnings:

[auto build test WARNING on axboe-block/for-next]
[also build test WARNING on next-20240709]
[cannot apply to hch-configfs/for-next linus/master v6.10-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/John-Garry/block-remove-QUEUE_FLAG_STOPPED/20240709-191356
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
patch link:    https://lore.kernel.org/r/20240709110538.532896-8-john.g.garry%40oracle.com
patch subject: [PATCH 07/11] block: Add missing entries from cmd_flag_name[]
config: x86_64-randconfig-r132-20240710 (https://download.01.org/0day-ci/archive/20240710/202407100611.wrfknWDf-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240710/202407100611.wrfknWDf-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407100611.wrfknWDf-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> block/blk-mq-debugfs.c:231:9: sparse: sparse: Initializer entry defined twice
   block/blk-mq-debugfs.c:237:9: sparse:   also defined here

vim +231 block/blk-mq-debugfs.c

9abb2ad21e8b9b7 Omar Sandoval     2017-01-25  214  
1a435111f8eb30b Omar Sandoval     2017-05-04  215  #define CMD_FLAG_NAME(name) [__REQ_##name] = #name
8658dca8bd5666f Bart Van Assche   2017-04-26  216  static const char *const cmd_flag_name[] = {
1a435111f8eb30b Omar Sandoval     2017-05-04  217  	CMD_FLAG_NAME(FAILFAST_DEV),
1a435111f8eb30b Omar Sandoval     2017-05-04  218  	CMD_FLAG_NAME(FAILFAST_TRANSPORT),
1a435111f8eb30b Omar Sandoval     2017-05-04  219  	CMD_FLAG_NAME(FAILFAST_DRIVER),
1a435111f8eb30b Omar Sandoval     2017-05-04  220  	CMD_FLAG_NAME(SYNC),
1a435111f8eb30b Omar Sandoval     2017-05-04  221  	CMD_FLAG_NAME(META),
1a435111f8eb30b Omar Sandoval     2017-05-04  222  	CMD_FLAG_NAME(PRIO),
1a435111f8eb30b Omar Sandoval     2017-05-04  223  	CMD_FLAG_NAME(NOMERGE),
1a435111f8eb30b Omar Sandoval     2017-05-04  224  	CMD_FLAG_NAME(IDLE),
1a435111f8eb30b Omar Sandoval     2017-05-04  225  	CMD_FLAG_NAME(INTEGRITY),
1a435111f8eb30b Omar Sandoval     2017-05-04  226  	CMD_FLAG_NAME(FUA),
1a435111f8eb30b Omar Sandoval     2017-05-04  227  	CMD_FLAG_NAME(PREFLUSH),
1a435111f8eb30b Omar Sandoval     2017-05-04  228  	CMD_FLAG_NAME(RAHEAD),
1a435111f8eb30b Omar Sandoval     2017-05-04  229  	CMD_FLAG_NAME(BACKGROUND),
22d538213ec4fa6 Bart Van Assche   2017-08-18  230  	CMD_FLAG_NAME(NOWAIT),
1c26010c5e1b9ad Jianchao Wang     2019-01-24 @231  	CMD_FLAG_NAME(NOUNMAP),
6ce913fe3eee14f Christoph Hellwig 2021-10-12  232  	CMD_FLAG_NAME(POLLED),
6c56c597270e732 John Garry        2024-07-09  233  	CMD_FLAG_NAME(ALLOC_CACHE),
6c56c597270e732 John Garry        2024-07-09  234  	CMD_FLAG_NAME(SWAP),
6c56c597270e732 John Garry        2024-07-09  235  	CMD_FLAG_NAME(DRV),
6c56c597270e732 John Garry        2024-07-09  236  	CMD_FLAG_NAME(FS_PRIVATE),
6c56c597270e732 John Garry        2024-07-09  237  	CMD_FLAG_NAME(NOUNMAP),
8658dca8bd5666f Bart Van Assche   2017-04-26  238  };
1a435111f8eb30b Omar Sandoval     2017-05-04  239  #undef CMD_FLAG_NAME
8658dca8bd5666f Bart Van Assche   2017-04-26  240  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux