[Intel-xe] [drm-xe:oak/drm-evictable-lru 2911/3055] drivers/gpu/drm/i915/display/intel_display_power.h: linux/mutex.h is included more than once.

Jani Nikula jani.nikula at intel.com
Tue Nov 7 08:41:51 UTC 2023


On Tue, 07 Nov 2023, kernel test robot <yujie.liu at intel.com> wrote:
> tree:   https://gitlab.freedesktop.org/drm/xe/kernel.git oak/drm-evictable-lru

Why do we have this stale branch? I don't think developers should push
their branches to xe/kernel.git but their own repos instead.

BR,
Jani.


> head:   d1f59526925ae851c6abf77af8ae6f8c3cffeebd
> commit: 304baa8c20cfad330a6c7cad47d86043e968642c [2911/3055] FIXME: drm/i915: add a lot of includes in intel_display_power.h
> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
>
> 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 <yujie.liu at intel.com>
> | Closes: https://lore.kernel.org/r/202311070416.8nPv4n6G-lkp@intel.com/
>
> includecheck warnings: (new ones prefixed by >>)
>>> drivers/gpu/drm/i915/display/intel_display_power.h: linux/mutex.h is included more than once.
>>> drivers/gpu/drm/i915/display/intel_display_power.h: linux/workqueue.h is included more than once.
>
> vim +9 drivers/gpu/drm/i915/display/intel_display_power.h
>
>      8	
>    > 9	#include <linux/mutex.h>
>     10	#include <linux/workqueue.h>
>     11	
>     12	#include "intel_wakeref.h"
>     13	#include <linux/types.h>
>     14	#include <linux/bitops.h>
>   > 15	#include <linux/mutex.h>
>     16	#include <linux/workqueue.h>
>     17	#include "intel_runtime_pm.h"
>     18	

-- 
Jani Nikula, Intel


More information about the Intel-xe mailing list