]> git.baikalelectronics.ru Git - kernel.git/commit
can: sja1000: Fix error location forwarding
authorAlexander Gerasiov <gq@cs.msu.su>
Fri, 1 Apr 2016 16:16:45 +0000 (19:16 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 9 May 2016 09:07:28 +0000 (11:07 +0200)
commit8dc6859f4fdd930f54bca932784b151d3f9229da
treed7ed60cd25b05ca0b35be3a8531dc8d7b1f78565
parentf3f917bf35cdd5b1a5b3df90fa0cb5383a31c292
can: sja1000: Fix error location forwarding

According to SJA1000 documentation the location of error is available
regardless of an error type. Therefore it should always be forwarded to
SocketCAN.

Signed-off-by: Nikita Edward Baruzdin <nebaruzdin@lvk.cs.msu.su>
Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/sja1000.c