All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH] drm/xe: Prevent flooding the kernel log with XE_IOCTL_ERR
@ 2023-05-25 16:16 Francois Dugast
  2023-05-25 16:20 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Francois Dugast @ 2023-05-25 16:16 UTC (permalink / raw)
  To: intel-xe

Lower log level of XE_IOCTL_ERR macro to debug in order to prevent
flooding kernel log. Rely on drm_dbg macro output which includes
function name, so removing file and name macros.

Reported-by: Oded Gabbay <ogabbay@kernel.org>
Link: https://lists.freedesktop.org/archives/intel-xe/2023-May/004704.html
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
---
 drivers/gpu/drm/xe/xe_macros.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_macros.h b/drivers/gpu/drm/xe/xe_macros.h
index 0d24c124d202..2b8a46ffb93e 100644
--- a/drivers/gpu/drm/xe/xe_macros.h
+++ b/drivers/gpu/drm/xe/xe_macros.h
@@ -13,8 +13,8 @@
 #define XE_BUG_ON BUG_ON
 
 #define XE_IOCTL_ERR(xe, cond) \
-	((cond) && (drm_info(&(xe)->drm, \
-			    "Ioctl argument check failed at %s:%d: %s", \
-			    __FILE__, __LINE__, #cond), 1))
+	((cond) && (drm_dbg(&(xe)->drm, \
+			    "Ioctl argument check failed: %s", \
+			    #cond), 1))
 
 #endif
-- 
2.34.1


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

end of thread, other threads:[~2023-06-02  9:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 16:16 [Intel-xe] [PATCH] drm/xe: Prevent flooding the kernel log with XE_IOCTL_ERR Francois Dugast
2023-05-25 16:20 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
2023-05-25 16:22 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-05-25 16:26 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-05-25 16:54 ` [Intel-xe] ○ CI.BAT: info " Patchwork
2023-05-31 16:45 ` [Intel-xe] [PATCH] " Lucas De Marchi
2023-06-01 16:41   ` Matt Roper
2023-06-01 17:28     ` Lucas De Marchi
2023-06-01 17:49       ` Matt Roper
2023-06-02  9:29         ` Jani Nikula
2023-06-01 17:30 ` [Intel-xe] ✗ CI.Patch_applied: failure for drm/xe: Prevent flooding the kernel log with XE_IOCTL_ERR (rev2) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.