* drivers/cxl/core/region.c:753:37: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'}
@ 2025-12-13 6:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-13 6:59 UTC (permalink / raw)
To: Dave Jiang
Cc: oe-kbuild-all, linux-kernel, Alison Schofield, Ben Cheatham,
Jonathan Cameron
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a859eca0e4cc96f63ff125dbe5388d961558b0e9
commit: d6602e25819dea2c239972e98e09ba5db4aebd22 cxl/region: Add support to indicate region has extended linear cache
date: 6 weeks ago
config: i386-randconfig-051-20251213 (https://download.01.org/0day-ci/archive/20251213/202512131450.UZNtWJqM-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512131450.UZNtWJqM-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/202512131450.UZNtWJqM-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/cxl/core/region.c: In function 'extended_linear_cache_size_show':
>> drivers/cxl/core/region.c:753:37: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=]
753 | return sysfs_emit(buf, "%#llx\n", p->cache_size);
| ~~~~^ ~~~~~~~~~~~~~
| | |
| | resource_size_t {aka unsigned int}
| long long unsigned int
| %#x
vim +753 drivers/cxl/core/region.c
741
742 static ssize_t extended_linear_cache_size_show(struct device *dev,
743 struct device_attribute *attr,
744 char *buf)
745 {
746 struct cxl_region *cxlr = to_cxl_region(dev);
747 struct cxl_region_params *p = &cxlr->params;
748 ssize_t rc;
749
750 ACQUIRE(rwsem_read_intr, rwsem)(&cxl_rwsem.region);
751 if ((rc = ACQUIRE_ERR(rwsem_read_intr, &rwsem)))
752 return rc;
> 753 return sysfs_emit(buf, "%#llx\n", p->cache_size);
754 }
755 static DEVICE_ATTR_RO(extended_linear_cache_size);
756
--
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:[~2025-12-13 7:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-13 6:59 drivers/cxl/core/region.c:753:37: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox