[device-mapper-dm:for-next 83/83] drivers/md/dm-vdo/encodings.h:616:28: warning: 'MAXIMUM_VDO_PHYSICAL_BLOCKS' defined but not used

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
head:   076f0dbc1ae258e8a872499b84e65bb10aa5c5f3
commit: 076f0dbc1ae258e8a872499b84e65bb10aa5c5f3 [83/83] dm vdo: move encoding constants to encodings.h
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240207/202402072259.v3h88Ogl-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240207/202402072259.v3h88Ogl-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/202402072259.v3h88Ogl-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from drivers/md/dm-vdo/vdo.h:18,
                    from drivers/md/dm-vdo/action-manager.c:15:
>> drivers/md/dm-vdo/encodings.h:616:28: warning: 'MAXIMUM_VDO_PHYSICAL_BLOCKS' defined but not used [-Wunused-const-variable=]
     616 | static const block_count_t MAXIMUM_VDO_PHYSICAL_BLOCKS = 1024ULL * 1024 * 1024 * 64;
         |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/md/dm-vdo/encodings.h:613:28: warning: 'MAXIMUM_VDO_LOGICAL_BLOCKS' defined but not used [-Wunused-const-variable=]
     613 | static const block_count_t MAXIMUM_VDO_LOGICAL_BLOCKS = 1024ULL * 1024 * 1024 * 1024;
         |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/MAXIMUM_VDO_PHYSICAL_BLOCKS +616 drivers/md/dm-vdo/encodings.h

   611	
   612	/** The maximum logical space is 4 petabytes, which is 1 terablock. */
 > 613	static const block_count_t MAXIMUM_VDO_LOGICAL_BLOCKS = 1024ULL * 1024 * 1024 * 1024;
   614	
   615	/** The maximum physical space is 256 terabytes, which is 64 gigablocks. */
 > 616	static const block_count_t MAXIMUM_VDO_PHYSICAL_BLOCKS = 1024ULL * 1024 * 1024 * 64;
   617	

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




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux