Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Remove redundant [drm] tag from xe_assert() message
@ 2024-09-02 19:07 Michal Wajdeczko
  2024-09-02 19:13 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Michal Wajdeczko @ 2024-09-02 19:07 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko

Since commit 178c0a33c421 ("drm/print: Add generic drm dev printk
function") the output from drm_WARN() includes previously missing
the [drm] tag, so now xe_assert() is printing it twice:

  [ ] xe 0000:00:02.0: [drm] [drm] Assertion `false` failed!

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
 drivers/gpu/drm/xe/xe_assert.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_assert.h b/drivers/gpu/drm/xe/xe_assert.h
index 8b0cc1bc9327..e22bbf57fca7 100644
--- a/drivers/gpu/drm/xe/xe_assert.h
+++ b/drivers/gpu/drm/xe/xe_assert.h
@@ -81,7 +81,7 @@
 
 #if IS_ENABLED(CONFIG_DRM_XE_DEBUG)
 #define __xe_assert_msg(xe, condition, msg, arg...) ({						\
-	(void)drm_WARN(&(xe)->drm, !(condition), "[" DRM_NAME "] Assertion `%s` failed!\n" msg,	\
+	(void)drm_WARN(&(xe)->drm, !(condition), "Assertion `%s` failed!\n" msg,		\
 		       __stringify(condition), ## arg);						\
 })
 #else
-- 
2.43.0


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

end of thread, other threads:[~2024-09-03  7:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 19:07 [PATCH] drm/xe: Remove redundant [drm] tag from xe_assert() message Michal Wajdeczko
2024-09-02 19:13 ` ✓ CI.Patch_applied: success for " Patchwork
2024-09-02 19:13 ` ✓ CI.checkpatch: " Patchwork
2024-09-02 19:14 ` ✓ CI.KUnit: " Patchwork
2024-09-02 19:26 ` ✓ CI.Build: " Patchwork
2024-09-02 19:29 ` ✓ CI.Hooks: " Patchwork
2024-09-02 19:31 ` ✓ CI.checksparse: " Patchwork
2024-09-02 19:50 ` ✓ CI.BAT: " Patchwork
2024-09-03  1:37 ` ✗ CI.FULL: failure " Patchwork
2024-09-03  7:50   ` Michal Wajdeczko
2024-09-03  2:36 ` [PATCH] " Lucas De Marchi

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