diff options
author | Markus Trippelsdorf <markus@trippelsdorf.de> | 2012-10-05 14:57:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-05 09:26:01 -0700 |
commit | 2351a6c6e7d5a5e848411b5dd2c02142497624cc (patch) | |
tree | 8acb375523fff8a24a23a75c9a64caa00124b835 /sound | |
parent | 6f5601251d7e306b8a7bf5e674c5307d865c0fa1 (diff) | |
download | op-kernel-dev-2351a6c6e7d5a5e848411b5dd2c02142497624cc.zip op-kernel-dev-2351a6c6e7d5a5e848411b5dd2c02142497624cc.tar.gz |
tty: Fix bogus "callbacks suppressed" messages
On the current git tree one sees messages such as:
tty_init_dev: 24 callbacks suppressed
tty_init_dev: 3 callbacks suppressed
To fix this we need to look at condition before calling __ratelimit in
the WARN_RATELIMIT macro. While at it remove the superfluous
__WARN_RATELIMIT macros.
Original patch is from Joe Perches and Jiri Slaby.
Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Acked-and-tested-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions