All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Krzysztof Niemiec <krzysztof.niemiec@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC 1/2] drm/i915: Expose local memory information via sysfs
Date: Tue, 20 May 2025 02:08:56 +0800	[thread overview]
Message-ID: <202505200118.s2XVIwkW-lkp@intel.com> (raw)
In-Reply-To: <20250519153418.44543-2-krzysztof.niemiec@intel.com>

Hi Krzysztof,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.15-rc7 next-20250516]
[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/Krzysztof-Niemiec/drm-i915-Expose-local-memory-information-via-sysfs/20250519-233529
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
patch link:    https://lore.kernel.org/r/20250519153418.44543-2-krzysztof.niemiec%40intel.com
patch subject: [RFC 1/2] drm/i915: Expose local memory information via sysfs
config: i386-buildonly-randconfig-003-20250519 (https://download.01.org/0day-ci/archive/20250520/202505200118.s2XVIwkW-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/20250520/202505200118.s2XVIwkW-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/202505200118.s2XVIwkW-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_memory_region.c: In function 'vram_total_show':
>> drivers/gpu/drm/i915/intel_memory_region.c:439:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=]
     439 |         return sysfs_emit(buf, "%llu\n", mr->total);
         |                                 ~~~^     ~~~~~~~~~
         |                                    |       |
         |                                    |       resource_size_t {aka unsigned int}
         |                                    long long unsigned int
         |                                 %u
   drivers/gpu/drm/i915/intel_memory_region.c: In function 'vram_total_visible_show':
   drivers/gpu/drm/i915/intel_memory_region.c:471:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=]
     471 |         return sysfs_emit(buf, "%llu\n", resource_size(&mr->io));
         |                                 ~~~^     ~~~~~~~~~~~~~~~~~~~~~~
         |                                    |     |
         |                                    |     resource_size_t {aka unsigned int}
         |                                    long long unsigned int
         |                                 %u


vim +439 drivers/gpu/drm/i915/intel_memory_region.c

   430	
   431	static ssize_t
   432	vram_total_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
   433	{
   434		struct device *dev = kobj_to_dev(kobj->parent);
   435		struct intel_memory_region *mr;
   436	
   437		mr = intel_memory_region_by_type(kdev_minor_to_i915(dev), INTEL_MEMORY_LOCAL);
   438	
 > 439		return sysfs_emit(buf, "%llu\n", mr->total);
   440	}
   441	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2025-05-19 18:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-19 15:34 [RFC 0/2] Introduce a sysfs interface for lmem information Krzysztof Niemiec
2025-05-19 15:34 ` [RFC 1/2] drm/i915: Expose local memory information via sysfs Krzysztof Niemiec
2025-05-19 15:57   ` Jani Nikula
2025-05-19 18:08   ` kernel test robot [this message]
2025-05-20 14:25   ` Krzysztof Karas
2025-05-19 15:34 ` [RFC 2/2] drm/i915: Add protections to sysfs local memory information Krzysztof Niemiec
2025-05-20 14:39   ` Krzysztof Karas
2025-05-19 16:43 ` ✗ Fi.CI.CHECKPATCH: warning for Introduce a sysfs interface for lmem information Patchwork
2025-05-19 16:43 ` ✗ Fi.CI.SPARSE: " Patchwork
2025-05-19 17:05 ` ✗ i915.CI.BAT: failure " Patchwork
2025-05-20 14:26 ` [RFC 0/2] " Krzysztof Karas
2025-05-20 15:01 ` Joonas Lahtinen
2025-05-20 17:46   ` Andi Shyti
2025-05-21 17:01     ` Krzysztof Niemiec
2025-05-21  8:06   ` Tvrtko Ursulin
2025-05-21 17:10     ` Krzysztof Niemiec
2025-05-22  4:31       ` Tvrtko Ursulin
2025-05-21 16:56   ` Krzysztof Niemiec

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=202505200118.s2XVIwkW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=krzysztof.niemiec@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 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.