diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2020-01-21 16:42:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-21 11:46:20 +0100 |
commit | 09783d448bccf1ec1c91d0b9e5443b0bcb034dbb (patch) | |
tree | 98ad369da3c9e2d1cf1468555f00713c213d1032 /drivers/regulator/rc5t583-regulator.c | |
parent | 953c4a08dfc9ffe763a8340ac10f459d6c6cc4eb (diff) |
net: hns3: limit the error logging in the hns3_clean_tx_ring()
The error log printed by netdev_err() in the hns3_clean_tx_ring()
may spam the kernel log.
This patch uses hns3_rl_err() to ratelimit the error log in the
hns3_clean_tx_ring().
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator/rc5t583-regulator.c')
0 files changed, 0 insertions, 0 deletions