diff options
author | Mike Snitzer <snitzer@redhat.com> | 2019-07-17 12:57:06 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-07-17 13:09:32 -0400 |
commit | 733232f8c852bcc2ad6fc1db7f4c43eb01c7c217 (patch) | |
tree | 712122bb8f1bf479ca5ddee13201e013b190132a /arch/riscv | |
parent | c663e04097f4e286fc146f79eb5ef6a47c01d337 (diff) |
dm: use printk ratelimiting functions
DM provided its own ratelimiting printk wrapper but given printk
advances this is no longer needed.
Also, switching DMDEBUG_LIMIT to using pr_debug_ratelimited() fixes the
reported issue where DMDEBUG_LIMIT() still caused a flood of "callbacks
suppressed" messages.
Reported-by: Milan Broz <gmazyland@gmail.com>
Depends-on: 29fc2bc7539386 ("printk: pr_debug_ratelimited: check state first to reduce "callbacks suppressed" messages")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions