Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681050 > unrolled thread

[PATCH 1/4] video: fbdev: sm712fb.c: using __func__ macro for pr_debug

Started byLynn Lei <lynnl.yet@gmail.com>
First post2017-07-04 17:30 +0200
Last post2017-07-04 17:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/4] video: fbdev: sm712fb.c: using __func__ macro for  pr_debug Lynn Lei <lynnl.yet@gmail.com> - 2017-07-04 17:30 +0200

#1681050 — [PATCH 1/4] video: fbdev: sm712fb.c: using __func__ macro for pr_debug

FromLynn Lei <lynnl.yet@gmail.com>
Date2017-07-04 17:30 +0200
Subject[PATCH 1/4] video: fbdev: sm712fb.c: using __func__ macro for pr_debug
Message-ID<tZxW2-1JA-21@gated-at.bofh.it>
Inside function sm7xx_vga_setup()

Using a generic function macro for debug information display

Signed-off-by: Lynn Lei <lynnl.wit@gmail.com>
---
 drivers/video/fbdev/sm712fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/sm712fb.c b/drivers/video/fbdev/sm712fb.c
index 73cb4ffff3c5..4d3684333b7b 100644
--- a/drivers/video/fbdev/sm712fb.c
+++ b/drivers/video/fbdev/sm712fb.c
@@ -785,7 +785,7 @@ static void __init sm7xx_vga_setup(char *options)
 	smtc_scr_info.lfb_height = 0;
 	smtc_scr_info.lfb_depth = 0;
 
-	pr_debug("sm7xx_vga_setup = %s\n", options);
+	pr_debug("%s = %s\n", __func__, options);
 
 	for (i = 0; i < ARRAY_SIZE(vesa_mode_table); i++) {
 		if (strstr(options, vesa_mode_table[i].index)) {
-- 
2.13.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web