[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.
Zeng, Oak
oak.zeng at intel.com
Tue Nov 7 14:53:11 UTC 2023
> -----Original Message-----
> From: Nikula, Jani <jani.nikula at intel.com>
> Sent: Tuesday, November 7, 2023 3:42 AM
> To: Liu, Yujie <yujie.liu at intel.com>; Zeng, Oak <oak.zeng at intel.com>
> Cc: oe-kbuild-all at lists.linux.dev; intel-xe at lists.freedesktop.org; Vivi, Rodrigo
> <rodrigo.vivi at intel.com>
> Subject: Re: [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.
>
> 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.
Jani, I didn't know we are not allowed so. Branch deleted.
Oak
>
> 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