Revision 5c2cb02edf79ad79d9b8d07c6d52243a948c4c9f authored by Stephane Grosjean on 23 November 2017, 14:44:35 UTC, committed by Marc Kleine-Budde on 01 December 2017, 10:20:52 UTC
PCI/PCIe drivers for PEAK-System CAN/CAN-FD interfaces do some access to the PCI config during probing. In case one of these accesses fails, a POSITIVE PCIBIOS_xxx error code is returned back. This POSITIVE error code MUST be converted into a NEGATIVE errno for the probe() function to indicate it failed. Using the pcibios_err_to_errno() function, we make sure that the return code will always be negative. Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent f6c23b1
File | Mode | Size |
---|---|---|
ad1816a | ||
ad1848 | ||
cs423x | ||
es1688 | ||
galaxy | ||
gus | ||
msnd | ||
opti9xx | ||
sb | ||
wavefront | ||
wss | ||
Kconfig | -rw-r--r-- | 12.7 KB |
Makefile | -rw-r--r-- | 892 bytes |
adlib.c | -rw-r--r-- | 2.6 KB |
als100.c | -rw-r--r-- | 10.4 KB |
azt2320.c | -rw-r--r-- | 9.6 KB |
cmi8328.c | -rw-r--r-- | 13.4 KB |
cmi8330.c | -rw-r--r-- | 22.6 KB |
es18xx.c | -rw-r--r-- | 69.4 KB |
opl3sa2.c | -rw-r--r-- | 29.0 KB |
sc6000.c | -rw-r--r-- | 17.8 KB |
sscape.c | -rw-r--r-- | 32.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...