-
由 Markus Trippelsdorf 提交于
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: NMarkus Trippelsdorf <markus@trippelsdorf.de> Acked-and-tested-by: NBorislav Petkov <borislav.petkov@amd.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
2351a6c6