From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Intel graphics driver community testing & development
<intel-gfx@lists.freedesktop.org>,
Chris Wilson <chris.p.wilson@linux.intel.com>,
Jani Nikula <jani.nikula@linux.intel.com>,
Tvrtko Ursulin <tursulin@ursulin.net>
Subject: Re: [PATCH] drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c
Date: Fri, 8 Mar 2024 09:58:04 -0500 [thread overview]
Message-ID: <ZesnfFTu3GLJVIrj@intel.com> (raw)
In-Reply-To: <20240308144643.137831-1-joonas.lahtinen@linux.intel.com>
On Fri, Mar 08, 2024 at 04:46:43PM +0200, Joonas Lahtinen wrote:
> Add standalone includes for BUG_ON and BUILD_BUG_ON to avoid build failure
> after linux-next include refactoring.
any lore link so we can use with a 'Closes:' tag?
and perhaps a reported-by?
>
> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> Cc: Chris Wilson <chris.p.wilson@linux.intel.com>
> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Tvrtko Ursulin <tursulin@ursulin.net>
> ---
> drivers/gpu/drm/i915/i915_memcpy.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_memcpy.c b/drivers/gpu/drm/i915/i915_memcpy.c
> index ba82277254b7..cc41974cee74 100644
> --- a/drivers/gpu/drm/i915/i915_memcpy.c
> +++ b/drivers/gpu/drm/i915/i915_memcpy.c
> @@ -25,6 +25,8 @@
> #include <linux/kernel.h>
> #include <linux/string.h>
> #include <linux/cpufeature.h>
> +#include <linux/bug.h>
> +#include <linux/build_bug.h>
git grep BUILD_BUG_ON drivers/gpu/drm/i915/
output
vs
git grep build_bug.h drivers/gpu/drm/i915/
output
tells me that we likely need this in many more files...
but not opposed to move with this faster and come back later with
other fixes if this unblocks people:
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> #include <asm/fpu/api.h>
>
> #include "i915_memcpy.h"
> --
> 2.43.2
>
next prev parent reply other threads:[~2024-03-08 14:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 14:46 [PATCH] drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c Joonas Lahtinen
2024-03-08 14:58 ` Rodrigo Vivi [this message]
2024-03-14 12:48 ` Joonas Lahtinen
2024-03-18 12:40 ` Vivi, Rodrigo
2024-03-19 9:07 ` Joonas Lahtinen
2024-03-08 18:04 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-03-09 8:51 ` ✗ 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=ZesnfFTu3GLJVIrj@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=chris.p.wilson@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=joonas.lahtinen@linux.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.