From: Martin Schwidefsky Date: Wed, 12 Nov 2008 20:16:43 +0000 (+0100) Subject: Add 'pr_fmt()' format modifier to pr_xyz macros. X-Git-Tag: v2.6.28-rc5~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d091c2f58ba32029495a933b721e8e02fbd12caa;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed