* Re: [PATCH] cxl/hdm: Fix dpa translation locking
[not found] <170192142664.461900.3169528633970716889.stgit@dwillia2-xfh.jf.intel.com>
@ 2023-12-07 16:13 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-07 16:13 UTC (permalink / raw)
To: Dan Williams, linux-cxl
Cc: llvm, oe-kbuild-all, stable, Alison Schofield, Jonathan Cameron,
Dave Jiang, Ira Weiny
Hi Dan,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.7-rc4 next-20231207]
[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/Dan-Williams/cxl-hdm-Fix-dpa-translation-locking/20231207-115958
base: linus/master
patch link: https://lore.kernel.org/r/170192142664.461900.3169528633970716889.stgit%40dwillia2-xfh.jf.intel.com
patch subject: [PATCH] cxl/hdm: Fix dpa translation locking
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20231208/202312080021.eQEtUpnB-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231208/202312080021.eQEtUpnB-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/202312080021.eQEtUpnB-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/cxl/core/port.c:231:36: warning: format specifies type 'unsigned long long' but the argument has type 'resource_size_t' (aka 'unsigned int') [-Wformat]
return sysfs_emit(buf, "%#llx\n", cxl_dpa_resource_start(cxled));
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%#x
1 warning generated.
vim +231 drivers/cxl/core/port.c
224
225 static ssize_t dpa_resource_show(struct device *dev, struct device_attribute *attr,
226 char *buf)
227 {
228 struct cxl_endpoint_decoder *cxled = to_cxl_endpoint_decoder(dev);
229
230 guard(rwsem_read)(&cxl_dpa_rwsem);
> 231 return sysfs_emit(buf, "%#llx\n", cxl_dpa_resource_start(cxled));
232 }
233 static DEVICE_ATTR_RO(dpa_resource);
234
--
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:[~2023-12-07 16:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <170192142664.461900.3169528633970716889.stgit@dwillia2-xfh.jf.intel.com>
2023-12-07 16:13 ` [PATCH] cxl/hdm: Fix dpa translation locking 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