diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-11-17 14:23:01 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-11-17 14:23:01 -0500 |
commit | 6dec543df2571b64c3a4acc0d4793c9a6c903b81 (patch) | |
tree | 283975841df06642c8fc8a9014db9e74cd2a07f9 /lib | |
parent | 4f61be1d72be7c63c9a6f86f1bb85d36490ba8b2 (diff) | |
parent | f82786d7a94f06a35ab273002cedc1385bae8e9f (diff) |
Merge tag 'v4.9.55' into v4.9-rt
This is the 4.9.55 stable release
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ratelimit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ratelimit.c b/lib/ratelimit.c index 08f8043cac61..d01f47135239 100644 --- a/lib/ratelimit.c +++ b/lib/ratelimit.c @@ -48,7 +48,9 @@ int ___ratelimit(struct ratelimit_state *rs, const char *func) if (time_is_before_jiffies(rs->begin + rs->interval)) { if (rs->missed) { if (!(rs->flags & RATELIMIT_MSG_ON_RELEASE)) { - pr_warn("%s: %d callbacks suppressed\n", func, rs->missed); + printk_deferred(KERN_WARNING + "%s: %d callbacks suppressed\n", + func, rs->missed); rs->missed = 0; } } |