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 |
---|---|---|
Kconfig | -rw-r--r-- | 1.3 KB |
Makefile | -rw-r--r-- | 285 bytes |
awacs.c | -rw-r--r-- | 31.8 KB |
awacs.h | -rw-r--r-- | 8.0 KB |
beep.c | -rw-r--r-- | 7.7 KB |
burgundy.c | -rw-r--r-- | 24.3 KB |
burgundy.h | -rw-r--r-- | 4.0 KB |
daca.c | -rw-r--r-- | 6.9 KB |
keywest.c | -rw-r--r-- | 4.3 KB |
pmac.c | -rw-r--r-- | 37.2 KB |
pmac.h | -rw-r--r-- | 5.1 KB |
powermac.c | -rw-r--r-- | 5.1 KB |
snd_ps3.c | -rw-r--r-- | 28.6 KB |
snd_ps3.h | -rw-r--r-- | 3.5 KB |
snd_ps3_reg.h | -rw-r--r-- | 33.2 KB |
tumbler.c | -rw-r--r-- | 38.3 KB |
tumbler_volume.h | -rw-r--r-- | 6.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...