dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: remove duplicate <kunit/test-bug.h> include
@ 2026-07-02 11:28 Anas Khan
  2026-07-03 18:23 ` Rodrigo Vivi
  0 siblings, 1 reply; 2+ messages in thread
From: Anas Khan @ 2026-07-02 11:28 UTC (permalink / raw)
  To: Matthew Brost, Thomas Hellström, Rodrigo Vivi
  Cc: Lucas De Marchi, intel-xe, dri-devel, linux-kernel, Anas Khan

xe_pci.c includes <kunit/test-bug.h> twice, separated only by the
<kunit/test.h> include. Drop the redundant second include; this is a
non-functional cleanup flagged by scripts/checkincludes.pl.

Fixes: 6cad22853cb8 ("drm/xe/kunit: Add stub to read_gmdid")
Signed-off-by: Anas Khan <anxkhn28@gmail.com>
---
 drivers/gpu/drm/xe/tests/xe_pci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/tests/xe_pci.c b/drivers/gpu/drm/xe/tests/xe_pci.c
index 9240aff779da..c2c686aed1cb 100644
--- a/drivers/gpu/drm/xe/tests/xe_pci.c
+++ b/drivers/gpu/drm/xe/tests/xe_pci.c
@@ -9,7 +9,6 @@
 
 #include <kunit/test-bug.h>
 #include <kunit/test.h>
-#include <kunit/test-bug.h>
 #include <kunit/visibility.h>
 
 #define PLATFORM_CASE(platform__, graphics_step__)					\
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/xe: remove duplicate <kunit/test-bug.h> include
  2026-07-02 11:28 [PATCH] drm/xe: remove duplicate <kunit/test-bug.h> include Anas Khan
@ 2026-07-03 18:23 ` Rodrigo Vivi
  0 siblings, 0 replies; 2+ messages in thread
From: Rodrigo Vivi @ 2026-07-03 18:23 UTC (permalink / raw)
  To: Anas Khan
  Cc: Matthew Brost, Thomas Hellström, Lucas De Marchi, intel-xe,
	dri-devel, linux-kernel

On Thu, Jul 02, 2026 at 04:58:20PM +0530, Anas Khan wrote:
> xe_pci.c includes <kunit/test-bug.h> twice, separated only by the
> <kunit/test.h> include. Drop the redundant second include; this is a
> non-functional cleanup flagged by scripts/checkincludes.pl.
> 
> Fixes: 6cad22853cb8 ("drm/xe/kunit: Add stub to read_gmdid")
> Signed-off-by: Anas Khan <anxkhn28@gmail.com>
> ---
>  drivers/gpu/drm/xe/tests/xe_pci.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/tests/xe_pci.c b/drivers/gpu/drm/xe/tests/xe_pci.c
> index 9240aff779da..c2c686aed1cb 100644
> --- a/drivers/gpu/drm/xe/tests/xe_pci.c
> +++ b/drivers/gpu/drm/xe/tests/xe_pci.c
> @@ -9,7 +9,6 @@
>  
>  #include <kunit/test-bug.h>
>  #include <kunit/test.h>
> -#include <kunit/test-bug.h>

Thanks for the patch, pushed  to drm-xe-next

>  #include <kunit/visibility.h>
>  
>  #define PLATFORM_CASE(platform__, graphics_step__)					\
> -- 
> 2.54.0
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-03 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-02 11:28 [PATCH] drm/xe: remove duplicate <kunit/test-bug.h> include Anas Khan
2026-07-03 18:23 ` Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox