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 |
---|---|---|
adi | ||
amd | ||
atmel | ||
au1x | ||
bcm | ||
blackfin | ||
cirrus | ||
codecs | ||
davinci | ||
dwc | ||
fsl | ||
generic | ||
hisilicon | ||
img | ||
intel | ||
jz4740 | ||
kirkwood | ||
mediatek | ||
mxs | ||
nuc900 | ||
omap | ||
pxa | ||
qcom | ||
rockchip | ||
samsung | ||
sh | ||
sirf | ||
spear | ||
sti | ||
stm | ||
sunxi | ||
tegra | ||
txx9 | ||
ux500 | ||
xtensa | ||
zte | ||
Kconfig | -rw-r--r-- | 2.1 KB |
Makefile | -rw-r--r-- | 1.8 KB |
soc-ac97.c | -rw-r--r-- | 10.6 KB |
soc-acpi.c | -rw-r--r-- | 4.1 KB |
soc-cache.c | -rw-r--r-- | 1.3 KB |
soc-compress.c | -rw-r--r-- | 32.5 KB |
soc-core.c | -rw-r--r-- | 113.5 KB |
soc-dapm.c | -rw-r--r-- | 113.9 KB |
soc-devres.c | -rw-r--r-- | 3.9 KB |
soc-generic-dmaengine-pcm.c | -rw-r--r-- | 13.4 KB |
soc-io.c | -rw-r--r-- | 7.5 KB |
soc-jack.c | -rw-r--r-- | 13.7 KB |
soc-ops.c | -rw-r--r-- | 25.6 KB |
soc-pcm.c | -rw-r--r-- | 90.9 KB |
soc-topology.c | -rw-r--r-- | 68.6 KB |
soc-utils.c | -rw-r--r-- | 9.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...