]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: use ratelimited variants dev_warn/dev_err
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 12 Mar 2019 09:51:41 +0000 (10:51 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Apr 2019 16:40:52 +0000 (19:40 +0300)
commit730271c92ba0d697c99f225bf2d191961190bf12
tree2aaac9e203ed8741d4066185283f80e85e67a55b
parent683943017b40064cbf77117b73307f0766615a96
rt2x00: use ratelimited variants dev_warn/dev_err

As reported by Randy we can overwhelm logs on some USB error conditions.
To avoid that use dev_warn_ratelimited() and dev_err_ratelimitd().

Reported-and-tested-by: Randy Oostdyk <linux-kernel@oostdyk.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2x00.h