.html";.
v2: I modified this to print when only cond is true.
v3: Modify to evaluate cond only once.
v4: There was a mistake in v3, send this again.
Signed-off-by: Gyeyoung Baek
---
drivers/gpu/drm/xe/xe_macros.h | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --gi
.html";.
v2: I modified this to print when only cond is true.
v3: Modify to evaluate cond only once.
Signed-off-by: Gyeyoung Baek
---
drivers/gpu/drm/xe/xe_macros.h | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_macros.h b/d
]
218 | enum drm_debug_category category = p->category;
so i simply add '(void)(category);' to remove unused variable warning,
by referring to "https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html";.
Signed-off-by: Gyeyoung Baek
---
include/drm/drm_print.h |
.html";.
v2: I modified this to print when only cond is true.
Signed-off-by: Gyeyoung Baek
---
drivers/gpu/drm/xe/xe_macros.h | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_macros.h b/drivers/gpu/drm/xe/xe_macros.h
index daf56c846d
I fix the expression to be compatible with the do while statement,
by referring to "https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html";.
Signed-off-by: Gyeyoung Baek
---
drivers/gpu/drm/xe/xe_macros.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dr