Skip to content

Commit 9f6b479

Browse files
committed
drm/xe: Remove redundant [drm] tag from xe_assert() message
Since commit 178c0a3 ("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 <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent da6ec74 commit 9f6b479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_assert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
#if IS_ENABLED(CONFIG_DRM_XE_DEBUG)
8383
#define __xe_assert_msg(xe, condition, msg, arg...) ({ \
84-
(void)drm_WARN(&(xe)->drm, !(condition), "[" DRM_NAME "] Assertion `%s` failed!\n" msg, \
84+
(void)drm_WARN(&(xe)->drm, !(condition), "Assertion `%s` failed!\n" msg, \
8585
__stringify(condition), ## arg); \
8686
})
8787
#else

0 commit comments

Comments
 (0)