From: Jani Nikula <jani.nikula@linux.intel.com>
To: Danilo Krummrich <dakr@redhat.com>,
joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com,
tursulin@ursulin.net, airlied@gmail.com, daniel@ffwll.ch,
dmitry.baryshkov@linaro.org, lyude@redhat.com,
andrzej.hajda@intel.com, lucas.demarchi@intel.com,
alexander.deucher@amd.com
Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
Danilo Krummrich <dakr@redhat.com>,
kernel test robot <lkp@intel.com>
Subject: Re: [PATCH] drm/i915: fix missing linux/debugfs.h includes
Date: Tue, 30 Apr 2024 17:53:49 +0300 [thread overview]
Message-ID: <875xvy3nr6.fsf@intel.com> (raw)
In-Reply-To: <20240430142622.217616-1-dakr@redhat.com>
On Tue, 30 Apr 2024, Danilo Krummrich <dakr@redhat.com> wrote:
> After dropping linux/debugfs.h include from drm/drm_print.h the following
> files in i915 miss the linux/debugfs.h include: i915_debugfs.c,
> i915_debugfs_params.c and i915_gpu_error.c.
>
> Add the include to fix the corresponding build errors.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: 33d5ae6cacf4 ("drm/print: drop include debugfs.h and include where needed")
> Closes: https://lore.kernel.org/oe-kbuild-all/202404260726.nyGuvl59-lkp@intel.com/
> Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Thanks, but it's already fixed by commit 7fa043eafdb7 ("drm/i915: fix
build with missing debugfs includes") in drm-next.
BR,
Jani.
> ---
> drivers/gpu/drm/i915/i915_debugfs.c | 1 +
> drivers/gpu/drm/i915/i915_debugfs_params.c | 1 +
> drivers/gpu/drm/i915/i915_gpu_error.c | 1 +
> 3 files changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
> index 24c78873b3cf..b552e27cdcd5 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -26,6 +26,7 @@
> *
> */
>
> +#include <linux/debugfs.h>
> #include <linux/sched/mm.h>
> #include <linux/sort.h>
> #include <linux/string_helpers.h>
> diff --git a/drivers/gpu/drm/i915/i915_debugfs_params.c b/drivers/gpu/drm/i915/i915_debugfs_params.c
> index 8bca02025e09..295486b8ceb1 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs_params.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs_params.c
> @@ -3,6 +3,7 @@
> * Copyright © 2019 Intel Corporation
> */
>
> +#include <linux/debugfs.h>
> #include <linux/kernel.h>
>
> #include "i915_debugfs_params.h"
> diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
> index 2594eb10c559..625b3c024540 100644
> --- a/drivers/gpu/drm/i915/i915_gpu_error.c
> +++ b/drivers/gpu/drm/i915/i915_gpu_error.c
> @@ -28,6 +28,7 @@
> */
>
> #include <linux/ascii85.h>
> +#include <linux/debugfs.h>
> #include <linux/highmem.h>
> #include <linux/nmi.h>
> #include <linux/pagevec.h>
>
> base-commit: 4a9a567ab101e659a4fafb7a691ff6b84531a10a
--
Jani Nikula, Intel
next prev parent reply other threads:[~2024-04-30 14:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 14:25 [PATCH] drm/i915: fix missing linux/debugfs.h includes Danilo Krummrich
2024-04-30 14:53 ` Jani Nikula [this message]
2024-04-30 15:27 ` Danilo Krummrich
2024-04-30 15:26 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2024-04-30 15:33 ` ✓ Fi.CI.BAT: success " Patchwork
2024-04-30 22:02 ` ✗ Fi.CI.IGT: 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=875xvy3nr6.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=andrzej.hajda@intel.com \
--cc=dakr@redhat.com \
--cc=daniel@ffwll.ch \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=joonas.lahtinen@linux.intel.com \
--cc=lkp@intel.com \
--cc=lucas.demarchi@intel.com \
--cc=lyude@redhat.com \
--cc=rodrigo.vivi@intel.com \
--cc=tursulin@ursulin.net \
/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.