aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/mhi
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-02-14 00:37:52 +0200
committerDavid S. Miller <davem@davemloft.net>2021-02-14 17:31:43 -0800
commita94306cea56fe49d74cd36950858c2bcbb5de6c8 (patch)
tree2ba89d5250a2fe088543fae55cfdb71f3ad169d5 /drivers/net/mhi
parentd7795f8f26d944ede937d750b1804c080edf86c3 (diff)
net: mscc: ocelot: better error handling in ocelot_xtr_irq_handler
The ocelot_rx_frame_word() function can return a negative error code, however this isn't being checked for consistently. Errors being ignored have not been seen in practice though. Also, some constructs can be simplified by using "goto" instead of repeated "break" statements. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mhi')
0 files changed, 0 insertions, 0 deletions