diff options
author | 2008-11-12 21:16:43 +0100 | |
---|---|---|
committer | 2008-11-15 11:43:37 -0800 | |
commit | d091c2f58ba32029495a933b721e8e02fbd12caa (patch) | |
tree | 9f20dc4cc77e7178270fb1d5946918fe44d4e3eb /net/unix/sysctl_net_unix.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs (diff) | |
download | linux-dev-d091c2f58ba32029495a933b721e8e02fbd12caa.tar.xz linux-dev-d091c2f58ba32029495a933b721e8e02fbd12caa.zip |
Add 'pr_fmt()' format modifier to pr_xyz macros.
A common reason for device drivers to implement their own printk macros
is the lack of a printk prefix with the standard pr_xyz macros.
Introduce a pr_fmt() macro that is applied for every pr_xyz macro to the
format string.
The most common use of the pr_fmt macro would be to add the name of the
device driver to all pr_xyz messages in a source file.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions