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
boot
configs
include
kernel
lib
mm
oprofile
tbx
Kconfig -rw-r--r-- 7.1 KB
Kconfig.debug -rw-r--r-- 1.1 KB
Kconfig.soc -rw-r--r-- 1.5 KB
Makefile -rw-r--r-- 2.5 KB

back to top