All of lore.kernel.org
 help / color / mirror / Atom feed
* [device-mapper-dm:for-next 83/83] drivers/md/dm-vdo/encodings.h:616:28: warning: 'MAXIMUM_VDO_PHYSICAL_BLOCKS' defined but not used
@ 2024-02-07 14:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-07 14:35 UTC (permalink / raw)
  To: Susan LeGendre-McGhee
  Cc: oe-kbuild-all, dm-devel, Mike Snitzer, Matthew Sakai

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402072259.v3h88Ogl-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-07 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07 14:35 [device-mapper-dm:for-next 83/83] drivers/md/dm-vdo/encodings.h:616:28: warning: 'MAXIMUM_VDO_PHYSICAL_BLOCKS' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.