diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-10 14:12:37 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-10 14:12:37 -0800 |
commit | 65d0e6259152a94a0bf4c43c860b45826a3d11f9 (patch) | |
tree | edc28952775143aa7e34c942d7818f58058109a8 /usb | |
parent | d7a4a1acbce52eddca27c913e558937091310faf (diff) | |
download | patches-65d0e6259152a94a0bf4c43c860b45826a3d11f9.tar.gz |
removed broken patch
Diffstat (limited to 'usb')
-rw-r--r-- | usb/usb-reduce-syslog-clutter.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/usb/usb-reduce-syslog-clutter.patch b/usb/usb-reduce-syslog-clutter.patch deleted file mode 100644 index 8e94ab9329f266..00000000000000 --- a/usb/usb-reduce-syslog-clutter.patch +++ /dev/null @@ -1,40 +0,0 @@ -From linux-usb-devel-admin@lists.sourceforge.net Fri Feb 24 01:51:08 2006 -Message-ID: <43FED6FC.3090604@imap.cc> -From: Tilman Schmidt <tilman@imap.cc> -Cc: <hjlipp@web.de> -Subject: USB: reduce syslog clutter -Date: Fri, 24 Feb 2006 10:50:52 +0100 - -The current versions of the err() / info() / warn() syslog macros -insert __FILE__ at the beginning of the message, which expands to -the complete path name of the source file within the kernel tree. - -With the following patch, when used in a module, they'll insert the -module name instead, which is significantly shorter and also tends to -be more useful to users trying to make sense of a particular message. - -Signed-off-by: Tilman Schmidt <tilman@imap.cc> -Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> ---- - include/linux/usb.h | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - ---- gregkh-2.6.orig/include/linux/usb.h -+++ gregkh-2.6/include/linux/usb.h -@@ -1198,11 +1198,13 @@ extern void usb_unregister_notify(struct - #endif - - #define err(format, arg...) printk(KERN_ERR "%s: " format "\n" , \ -- __FILE__ , ## arg) -+ THIS_MODULE ? THIS_MODULE->name : __FILE__ , ## arg) - #define info(format, arg...) printk(KERN_INFO "%s: " format "\n" , \ -- __FILE__ , ## arg) -+ THIS_MODULE ? THIS_MODULE->name : __FILE__ , ## arg) - #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n" , \ -- __FILE__ , ## arg) -+ THIS_MODULE ? THIS_MODULE->name : __FILE__ , ## arg) -+#define notice(format, arg...) printk(KERN_NOTICE "%s: " format "\n" , \ -+ THIS_MODULE ? THIS_MODULE->name : __FILE__ , ## arg) - - - #endif /* __KERNEL__ */ |