staging: rtl8188eu: use pr_info() instead of printk()
PATCH 1/1 staging: rtl8188eu: use pr_info() instead of printk()
Fixes checkpatch.pl warning:
WARNING: printk() should include KERN_ facility level
Replaced printk() without any KERN_facility level with pr_info(). The statements before use pr_info and the new line character is to be appended to them.
Could have used printk() with KERN_INFO level, but used pr_info() just to use the same function as that had been used before in the code.
Signed-off-by Aastha Gupta <[email protected]>
--- drivers/staging/rtl8188eu/include/rtw_debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8188eu/include/rtw_debug.h +2 -2
@@ -106,9 +106,9 @@ extern u32 GlobalDebugLevel; (((__i +1 ) %4 ) ==0 ) ? \ " " : " "); \if (((__i +1 ) %16 ) ==0 ) \ -printk ("\n" ); \ +pr_info ("\n" ); \ } \ -printk ("\n" ); \ +pr_info ("\n" ); \ } \ }while (0 )
Signature · 1 line
2.7.4