Skip to contentSkip to conversation

video: fbdev: sm712fb.c: using __func__ macro for pr_debug

PATCH In review Lynn Lei 2 participants 2 messages Jul 4, 2017 – Aug 1, 2017

Subsystems (2)
lore
Share & tools
lore

Lynn Lei

author
#0 lore raw

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

Inside function sm7xx_vga_setup()

Using a generic function macro for debug information display

---
 drivers/video/fbdev/sm712fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/sm712fb.c +1 -1
index 73cb4ffff3c5..4d3684333b7b 100644
@@ -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)) {
Signature · 1 line
2.13.2
#1 lore raw
Quoted 5 lines · Lynn Lei

Inside function sm7xx_vga_setup()

Using a generic function macro for debug information display

Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics