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)
commit740d6f188fb71ae13e3e9f7208b6b3094517509d
tree29553181be9be0d3a225ac4a5d7bbd63b6393637
parentdf1ec1b9d0df57e96011f175418dc95b1af46821
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