staging: rtl8188eu: use pr_cont()
authorAastha Gupta <aastha.gupta4104@gmail.com>
Wed, 18 Oct 2017 18:42:58 +0000 (00:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 12:45:05 +0000 (14:45 +0200)
Using 'printk("\n")' is not preferred anymore as
printks without KERN_CONT are emitted on a new line and
KERN_CONT is required to continue lines so use pr_cont.

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_debug.h

index 9cc4b8c..4873ba4 100644 (file)
@@ -106,9 +106,9 @@ extern u32 GlobalDebugLevel;
                                         (((__i + 1) % 4) == 0) ?       \
                                         "  " : " ");   \
                                if (((__i + 1) % 16) == 0)              \
-                                       printk("\n");                   \
+                                       pr_cont("\n");                  \
                        }                                               \
-                       printk("\n");                                   \
+                       pr_cont("\n");                                  \
                }                                                       \
        } while (0)