summaryrefslogtreecommitdiffstats
path: root/linux-2.6-silence-noise.patch
diff options
context:
space:
mode:
authorKyle McMartin <kmcmartin@redhat.com>2011-07-24 22:26:26 -0400
committerKyle McMartin <kmcmartin@redhat.com>2011-07-25 09:46:01 -0400
commit4a2041744e262bb41936adfb3db0b85e13c73b11 (patch)
tree13a97fd36359066adc33a220149246cecf9695de /linux-2.6-silence-noise.patch
parent524b8cb85593696e6867aa30b1c581cf35fb7cbe (diff)
downloadkernel-4a2041744e262bb41936adfb3db0b85e13c73b11.tar.gz
kernel-4a2041744e262bb41936adfb3db0b85e13c73b11.tar.xz
kernel-4a2041744e262bb41936adfb3db0b85e13c73b11.zip
3.0-git3 snapshot
Testing that this part of the spec still works... Hopefully the next release is indeed 3.1.0...
Diffstat (limited to 'linux-2.6-silence-noise.patch')
-rw-r--r--linux-2.6-silence-noise.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-2.6-silence-noise.patch b/linux-2.6-silence-noise.patch
index 8aba3cdab..1e4d7c57f 100644
--- a/linux-2.6-silence-noise.patch
+++ b/linux-2.6-silence-noise.patch
@@ -46,8 +46,8 @@ Signed-off-by: Dave Jones <davej@redhat.com>
+ * In case of error we but don't return the error code immediately.
+ * Below we will return -EPROTONOSUPPORT
*/
-- if (err && printk_ratelimit())
-- printk(KERN_ERR "can: request_module "
+- if (err)
+- printk_ratelimited(KERN_ERR "can: request_module "
- "(can-proto-%d) failed.\n", protocol);
cp = can_get_proto(protocol);