]> git.baikalelectronics.ru Git - kernel.git/commit
net: qcom/emac: clean up some TX/RX error messages
authorTimur Tabi <timur@codeaurora.org>
Wed, 11 Oct 2017 19:52:26 +0000 (14:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Oct 2017 23:01:56 +0000 (16:01 -0700)
commit6ecb30e7302133a7f201fa1a702a9b996ea9a3fe
tree29553181be9be0d3a225ac4a5d7bbd63b6393637
parent79decbabd59eb4cfc008f7625e3df2fb1fd5c796
net: qcom/emac: clean up some TX/RX error messages

Some of the error messages that are printed by the interrupt handlers
are poorly written.  For example, many don't include a device prefix,
so there's no indication that they are EMAC errors.

Also use rate limiting for all messages that could be printed from
interrupt context.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
drivers/net/ethernet/qualcomm/emac/emac.c