summaryrefslogtreecommitdiffstats
path: root/linux-2.6-silence-noise.patch
diff options
context:
space:
mode:
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);