rtlwifi: Standardize RT_PRINT_DATA macro and uses
Use a single printk(KERN_DEBUG to emit the header line to avoid any possible output interleaving. Remove unnecessary parentheses from the calling uses. Standardize header arg without trailing \n or colon. Fix a few pairwiase/pairwise typos. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
884dd24499
commit
af08687b4e
@@ -189,10 +189,9 @@ do { \
|
||||
do { \
|
||||
if (unlikely(((_comp) & rtlpriv->dbg.global_debugcomponents) && \
|
||||
(_level <= rtlpriv->dbg.global_debuglevel))) { \
|
||||
printk(KERN_DEBUG "%s: ", KBUILD_MODNAME); \
|
||||
pr_cont("In process \"%s\" (pid %i):", \
|
||||
current->comm, current->pid); \
|
||||
printk(_titlestring); \
|
||||
printk(KERN_DEBUG "%s: In process \"%s\" (pid %i): %s\n", \
|
||||
KBUILD_MODNAME, current->comm, current->pid, \
|
||||
_titlestring); \
|
||||
print_hex_dump_bytes("", DUMP_PREFIX_NONE, \
|
||||
_hexdata, _hexdatalen); \
|
||||
} \
|
||||
|
Reference in New Issue
Block a user