Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: clean up type of GUC_HXG_MSG_0_ORIGIN
@ 2024-01-08  9:05 Dan Carpenter
  2024-01-08  9:09 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Dan Carpenter @ 2024-01-08  9:05 UTC (permalink / raw)
  To: Lucas De Marchi
  Cc: Daniel Vetter, kernel-janitors, linux-kernel, Maxime Ripard,
	dri-devel, Thomas Zimmermann, Rodrigo Vivi, David Airlie,
	intel-xe

The GUC_HXG_MSG_0_ORIGIN definition should be unsigned.  Currently it is
defined as INT_MIN.  This doesn't cause a problem currently but it's
still worth cleaning up.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
 drivers/gpu/drm/xe/abi/guc_messages_abi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/abi/guc_messages_abi.h b/drivers/gpu/drm/xe/abi/guc_messages_abi.h
index 3d199016cf88..c04606872e48 100644
--- a/drivers/gpu/drm/xe/abi/guc_messages_abi.h
+++ b/drivers/gpu/drm/xe/abi/guc_messages_abi.h
@@ -40,7 +40,7 @@
  */
 
 #define GUC_HXG_MSG_MIN_LEN			1u
-#define GUC_HXG_MSG_0_ORIGIN			(0x1 << 31)
+#define GUC_HXG_MSG_0_ORIGIN			(0x1U << 31)
 #define   GUC_HXG_ORIGIN_HOST			0u
 #define   GUC_HXG_ORIGIN_GUC			1u
 #define GUC_HXG_MSG_0_TYPE			(0x7 << 28)
-- 
2.42.0


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

end of thread, other threads:[~2024-01-09 16:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-08  9:05 [PATCH] drm/xe: clean up type of GUC_HXG_MSG_0_ORIGIN Dan Carpenter
2024-01-08  9:09 ` ✓ CI.Patch_applied: success for " Patchwork
2024-01-08  9:09 ` ✓ CI.checkpatch: " Patchwork
2024-01-08  9:10 ` ✓ CI.KUnit: " Patchwork
2024-01-08  9:18 ` ✓ CI.Build: " Patchwork
2024-01-08  9:18 ` ✓ CI.Hooks: " Patchwork
2024-01-08  9:20 ` ✓ CI.checksparse: " Patchwork
2024-01-08  9:54 ` ✓ CI.BAT: " Patchwork
2024-01-08 14:07 ` [PATCH] " Lucas De Marchi
2024-01-08 20:46   ` Michal Wajdeczko
2024-01-08 21:24     ` Lucas De Marchi
2024-01-09 16:47       ` Michal Wajdeczko

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