mirror of
https://github.com/torvalds/linux.git
synced 2024-09-20 06:53:04 +00:00
drm/xe: Remove redundant [drm] tag from xe_assert() message
Since commit 178c0a33c4
("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>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240902190726.1748-1-michal.wajdeczko@intel.com
This commit is contained in:
parent
da6ec74339
commit
9f6b47907e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user