mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
drm/xe: Drop "gt_" prefix from xe_gt_WARN() macros
Those WARN messages will already include GT-specific "GT%u:" prefix so there is no point to include additional "gt_" prefix. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20250909165941.31730-3-michal.wajdeczko@intel.com
This commit is contained in:
parent
edffa93a93
commit
a2dc39fb1c
|
|
@ -41,10 +41,10 @@
|
|||
drm_WARN_ONCE(>_to_xe(_gt)->drm, _condition, "GT%u: " _fmt, (_gt)->info.id, ##__VA_ARGS__)
|
||||
|
||||
#define xe_gt_WARN_ON(_gt, _condition) \
|
||||
xe_gt_WARN((_gt), _condition, "%s(%s)", "gt_WARN_ON", __stringify(_condition))
|
||||
xe_gt_WARN((_gt), _condition, "%s(%s)", "WARN_ON", __stringify(_condition))
|
||||
|
||||
#define xe_gt_WARN_ON_ONCE(_gt, _condition) \
|
||||
xe_gt_WARN_ONCE((_gt), _condition, "%s(%s)", "gt_WARN_ON_ONCE", __stringify(_condition))
|
||||
xe_gt_WARN_ONCE((_gt), _condition, "%s(%s)", "WARN_ON_ONCE", __stringify(_condition))
|
||||
|
||||
static inline void __xe_gt_printfn_err(struct drm_printer *p, struct va_format *vaf)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user