]> 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)
commit540c5b6f38c53de5b1220cfbf4d5251b4a145e01
tree29553181be9be0d3a225ac4a5d7bbd63b6393637
parentc92fa23641d1ba483d8326b0cf6f1fd9587ef585
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