summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAastha Gupta <aastha.gupta4104@gmail.com>2017-10-19 00:12:58 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-20 14:45:05 +0200
commit3dfbe9ea54d1dc283301adac8cef06a393d2bcae (patch)
tree8c3fd14bf4cdc336c1caef2ba333b9bfc3bad946
parentd0d239148ea6508f94a4078d990ab56f914f90af (diff)
downloadlinux-3dfbe9ea54d1dc283301adac8cef06a393d2bcae.tar.gz
linux-3dfbe9ea54d1dc283301adac8cef06a393d2bcae.tar.bz2
linux-3dfbe9ea54d1dc283301adac8cef06a393d2bcae.zip
staging: rtl8188eu: use pr_cont()
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>
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/include/rtw_debug.h b/drivers/staging/rtl8188eu/include/rtw_debug.h
index 9cc4b8c7c166..4873ba49900c 100644
--- a/drivers/staging/rtl8188eu/include/rtw_debug.h
+++ b/drivers/staging/rtl8188eu/include/rtw_debug.h
@@ -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)