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
History
File Mode Size
configs
drivers
include
kernel
os-Linux
scripts
.gitignore -rw-r--r-- 53 bytes
Kconfig.char -rw-r--r-- 4.5 KB
Kconfig.common -rw-r--r-- 823 bytes
Kconfig.debug -rw-r--r-- 1.0 KB
Kconfig.net -rw-r--r-- 8.5 KB
Kconfig.rest -rw-r--r-- 326 bytes
Kconfig.um -rw-r--r-- 4.1 KB
Makefile -rw-r--r-- 5.2 KB
Makefile-os-Linux -rw-r--r-- 235 bytes
Makefile-skas -rw-r--r-- 290 bytes

back to top