From: kernel test robot <lkp@intel.com>
To: Tejas Upadhyay <tejas.upadhyay@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>,
intel-xe@lists.freedesktop.org, oe-kbuild-all@lists.linux.dev
Subject: drivers/gpu/drm/xe/xe_tile_sysfs.c:29:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'}
Date: Sun, 24 Dec 2023 15:59:34 +0800 [thread overview]
Message-ID: <202312241523.F6YQjyeJ-lkp@intel.com> (raw)
Hi Tejas,
FYI, the error/warning still remains.
tree: https://gitlab.freedesktop.org/drm/xe/kernel.git new
head: f30cae3de3b138849010f4e54d8800eb1cc080b9
commit: a8eff4f048bf2238bd686112c64bd6b6c5d99646 drm/xe: Add sysfs entry to report per tile memory size
date: 10 weeks ago
config: microblaze-allyesconfig (https://download.01.org/0day-ci/archive/20231224/202312241523.F6YQjyeJ-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231224/202312241523.F6YQjyeJ-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/202312241523.F6YQjyeJ-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/xe/xe_tile_sysfs.c: In function 'physical_vram_size_bytes_show':
>> drivers/gpu/drm/xe/xe_tile_sysfs.c:29:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=]
29 | return sysfs_emit(buf, "%llu\n", tile->mem.vram.actual_physical_size);
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | resource_size_t {aka unsigned int}
| long long unsigned int
| %u
vim +29 drivers/gpu/drm/xe/xe_tile_sysfs.c
22
23 static ssize_t
24 physical_vram_size_bytes_show(struct device *kdev, struct device_attribute *attr,
25 char *buf)
26 {
27 struct xe_tile *tile = kobj_to_tile(&kdev->kobj);
28
> 29 return sysfs_emit(buf, "%llu\n", tile->mem.vram.actual_physical_size);
30 }
31
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-12-24 8:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202312241523.F6YQjyeJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rodrigo.vivi@intel.com \
--cc=tejas.upadhyay@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox