[PATCH] Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

From: Sander Eikelenboom
Date: Fri May 02 2014 - 09:10:14 EST


Hi All,

This patch is for USB sound, but the construction is widely used in the kernel,
so this could pop up in more places.

Greg, Julia,

Would it be worthwhile to sweep this tree wide ?
And would this be something for Coccinelle ?
This probably also goes for the other loglevels and the "net" variant.


Sander Eikelenboom (1):
Sound USB: Prevent printk ratelimiting from spamming kernel log while
DEBUG not defined

sound/usb/pcm.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/