summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYuanyuan Liu <yuanliu@codeaurora.org>2017-07-11 16:53:14 -0700
committerYuanyuan Liu <yuanliu@codeaurora.org>2017-07-21 15:06:46 -0700
commit2e16671480011667c2724558cb3ecc3bda77ca17 (patch)
treef8366aa4edcc0b99bb5aaacef2976679345857aa /net/unix/af_unix.c
parent7aa065cbc4f86125895f6c7c6a5ac1fdda231505 (diff)
icnss: Consolidate logging message
Currently the code makes liberal use of macros that print a log message (with pr_err or pr_debug) and then passes the same string on to the IPC logging mechanism. The problem is that it doesn't actually end up being the same string in the binary. Using pr_err or one of its friends appends the KERN_* code to the front of the string with the pre-processor and the IPC logger just uses the passed in string. Every string used by the macros ends up appearing twice in the binary, once with KERN_* prepended and the other not. This change fix this duplication issue by appending KERN_* to the front of the IPC logger. Change-Id: Ibfdf9edf6e243d13cacf1a45838a88e287a684be Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions