diff mbox series

Revert "drm/sched: Define pr_fmt() for DRM using pr_*()"

Message ID 20231111024130.11464-2-ltuikov89@gmail.com (mailing list archive)
State New, archived
Headers show
Series Revert "drm/sched: Define pr_fmt() for DRM using pr_*()" | expand

Commit Message

Luben Tuikov Nov. 11, 2023, 2:41 a.m. UTC
This reverts commit 36245bd02e88e68ac5955c2958c968879d7b75a9.

Signed-off-by: Luben Tuikov <ltuikov89@gmail.com>
---
 include/drm/drm_print.h | 14 --------------
 1 file changed, 14 deletions(-)


base-commit: 540527b1385fb203cc4513ca838b4de60bbbc49a

Comments

Javier Martinez Canillas Nov. 11, 2023, 8:26 a.m. UTC | #1
Luben Tuikov <ltuikov89@gmail.com> writes:

Hello Luben,

> This reverts commit 36245bd02e88e68ac5955c2958c968879d7b75a9.
>

You should include a commit message explaining why this commit should
be reverted. I noticed that was asked by Jani so I would include what
he mentioned in the other email thread.

> Signed-off-by: Luben Tuikov <ltuikov89@gmail.com>
> ---
diff mbox series

Patch

diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h
index e8fe60d0eb8783..a93a387f8a1a15 100644
--- a/include/drm/drm_print.h
+++ b/include/drm/drm_print.h
@@ -26,20 +26,6 @@ 
 #ifndef DRM_PRINT_H_
 #define DRM_PRINT_H_
 
-/* Define this before including linux/printk.h, so that the format
- * string in pr_*() macros is correctly set for DRM. If a file wants
- * to define this to something else, it should do so before including
- * this header file.
- *
- * It is encouraged code using pr_err() to prefix their format with
- * the string "*ERROR* ", to make it easier to scan kernel logs. For
- * instance,
- *   pr_err("*ERROR* <the rest of your format string here>", args).
- */
-#ifndef pr_fmt
-#define pr_fmt(fmt) "[drm] " fmt
-#endif
-
 #include <linux/compiler.h>
 #include <linux/printk.h>
 #include <linux/seq_file.h>