Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jani Nikula <jani.nikula@intel.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	jani.nikula@intel.com
Subject: Re: [PATCH 1/2] drm/xe/compat: refactor compat i915_drv.h
Date: Sat, 1 Mar 2025 03:16:41 +0800	[thread overview]
Message-ID: <202503010231.ZOOOjLUU-lkp@intel.com> (raw)
In-Reply-To: <20250228142539.3216960-1-jani.nikula@intel.com>

Hi Jani,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20250228]
[also build test WARNING on linus/master v6.14-rc4]
[cannot apply to drm-xe/drm-xe-next v6.14-rc4 v6.14-rc3 v6.14-rc2]
[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/Jani-Nikula/drm-i915-plane-convert-intel_atomic_plane-ch-to-struct-intel_display/20250228-222835
base:   next-20250228
patch link:    https://lore.kernel.org/r/20250228142539.3216960-1-jani.nikula%40intel.com
patch subject: [PATCH 1/2] drm/xe/compat: refactor compat i915_drv.h
config: arm-randconfig-003-20250301 (https://download.01.org/0day-ci/archive/20250301/202503010231.ZOOOjLUU-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 14170b16028c087ca154878f5ed93d3089a965c6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250301/202503010231.ZOOOjLUU-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/202503010231.ZOOOjLUU-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/display/intel_atomic_plane.c:37:
   In file included from include/drm/drm_atomic_helper.h:31:
   In file included from include/drm/drm_crtc.h:32:
   In file included from include/drm/drm_modes.h:33:
   In file included from include/drm/drm_connector.h:32:
   In file included from include/drm/drm_util.h:36:
   In file included from include/linux/kgdb.h:19:
   In file included from include/linux/kprobes.h:28:
   In file included from include/linux/ftrace.h:13:
   In file included from include/linux/kallsyms.h:13:
   In file included from include/linux/mm.h:2287:
   include/linux/vmstat.h:507:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     507 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   In file included from drivers/gpu/drm/i915/display/intel_atomic_plane.c:43:
>> drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h:4:9: warning: '__I915_GEM_OBJECT_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
       4 | #ifndef __I915_GEM_OBJECT_H__
         |         ^~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h:5:9: note: '__i915_GEM_OBJECT_H__' is defined here; did you mean '__I915_GEM_OBJECT_H__'?
       5 | #define __i915_GEM_OBJECT_H__
         |         ^~~~~~~~~~~~~~~~~~~~~
         |         __I915_GEM_OBJECT_H__
   2 warnings generated.


vim +/__I915_GEM_OBJECT_H__ +4 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h

     3	
   > 4	#ifndef __I915_GEM_OBJECT_H__
     5	#define __i915_GEM_OBJECT_H__
     6	

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

  parent reply	other threads:[~2025-02-28 19:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-28 14:25 [PATCH 1/2] drm/xe/compat: refactor compat i915_drv.h Jani Nikula
2025-02-28 14:25 ` [PATCH 2/2] drm/i915/plane: convert intel_atomic_plane.[ch] to struct intel_display Jani Nikula
2025-02-28 14:37   ` Jani Nikula
2025-02-28 15:34 ` ✓ CI.Patch_applied: success for series starting with [1/2] drm/xe/compat: refactor compat i915_drv.h Patchwork
2025-02-28 15:36 ` ✗ CI.checkpatch: warning " Patchwork
2025-02-28 15:38 ` ✓ CI.KUnit: success " Patchwork
2025-02-28 15:54 ` ✓ CI.Build: " Patchwork
2025-02-28 16:18 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-28 19:16 ` kernel test robot [this message]
2025-02-28 23:15 ` ✗ Xe.CI.Full: failure " Patchwork

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=202503010231.ZOOOjLUU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=llvm@lists.linux.dev \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox