Re: [PATCH v11 14/14] cxl/memfeature: Add CXL memory device PPR control feature

kernel test robot
2024-08-18T07:53:10Z

Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on ras/edac-for-next]
[also build test WARNING on rafael-pm/linux-next rafael-pm/bleeding-edge cxl/next linus/master v6.11-rc3 next-20240816]
[cannot apply to cxl/pending]
[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/shiju-jose-huawei-com/EDAC-Add-support-for-EDAC-device-feature-s-control/20240817-004442
base: https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git edac-for-next
patch link: https://lore.kernel.org/r/20240816164238.1902-15-shiju.jose%40huawei.com
patch subject: [PATCH v11 14/14] cxl/memfeature: Add CXL memory device PPR control feature
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20240818/202408181550.8ttlDbQA-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240818/202408181550.8ttlDbQA-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/202408181550.8ttlDbQA-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/cxl/core/memfeature.c:717:21: warning: 'cxl_hppr_uuid' defined but not used [-Wunused-const-variable=]
717 | static const uuid_t cxl_hppr_uuid =
| ^~~~~~~~~~~~~

vim +/cxl_hppr_uuid +717 drivers/cxl/core/memfeature.c

711
712 /* CXL memory soft PPR & hard PPR control definitions */
713 static const uuid_t cxl_sppr_uuid =
714 UUID_INIT(0x892ba475, 0xfad8, 0x474e, 0x9d, 0x3e, 0x69, 0x2c, 0x91, \
715 0x75, 0x68, 0xbb);
716
> 717 static const uuid_t cxl_hppr_uuid =
718 UUID_INIT(0x80ea4521, 0x786f, 0x4127, 0xaf, 0xb1, 0xec, 0x74, 0x59, \
719 0xfb, 0x0e, 0x24);
720

--
0-DAY CI Kernel Test Service