linux-stable/drivers
Sean Anderson bf2d0921a3 net: sunhme: Fix uninitialized return code
[ Upstream commit d61157414d ]

Fix an uninitialized return code if we never found a qfe slot. It would be
a bug if we ever got into this situation, but it's good to return something
tracable.

Fixes: acb3f35f92 ("sunhme: forward the error code from pci_enable_device()")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:11:10 +09:00
..
accel
accessibility
acpi ACPI: bus: Ensure that notify handlers are not running after removal 2023-05-11 23:11:07 +09:00
amba
android
ata
atm
auxdisplay
base platform: Provide a remove callback that returns no value 2023-05-11 23:11:06 +09:00
bcma
block
bluetooth
bus bus: mhi: host: Range check CHDBOFF and ERDBOFF 2023-05-11 23:10:55 +09:00
cdrom
char tpm, tpm_tis: Claim locality when interrupts are reenabled on resume 2023-05-11 23:10:56 +09:00
clk
clocksource
comedi
connector
counter
cpufreq cpufreq: use correct unit when verify cur freq 2023-05-11 23:11:07 +09:00
cpuidle RISC-V: Align SBI probe implementation with spec 2023-05-11 23:10:54 +09:00
crypto crypto: qat - fix concurrency issue when device state changes 2023-05-11 23:11:08 +09:00
cxl cxl/hdm: Fail upon detecting 0-sized decoders 2023-05-11 23:10:55 +09:00
dax
dca
devfreq
dio
dma
dma-buf
edac EDAC/skx: Fix overflows on the DRAM row address mapping arrays 2023-05-11 23:10:57 +09:00
eisa
extcon
firewire
firmware firmware: arm_scmi: Fix xfers allocation on Rx channel 2023-05-11 23:11:01 +09:00
fpga
fsi
gnss
gpio
gpu drm/i915: Make intel_get_crtc_new_encoder() less oopsy 2023-05-11 23:11:07 +09:00
greybus
hid
hsi
hte
hv
hwmon hwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E 2023-05-11 23:11:07 +09:00
hwspinlock
hwtracing
i2c i2c: omap: Fix standard mode false ACK readings 2023-05-11 23:10:54 +09:00
i3c
idle
iio iio: addac: stx104: Fix race condition for stx104_write_raw() 2023-05-11 23:10:51 +09:00
infiniband scsi: target: iscsit: isert: Alloc per conn cmd counter 2023-05-11 23:11:10 +09:00
input
interconnect
iommu iommu/amd: Fix "Guest Virtual APIC Table Root Pointer" configuration in IRTE 2023-05-11 23:10:54 +09:00
ipack
irqchip
isdn
leds
macintosh
mailbox mailbox: mpfs: switch to txdone_poll 2023-05-11 23:11:02 +09:00
mcb
md blk-crypto: make blk_crypto_evict_key() return void 2023-05-11 23:10:50 +09:00
media media: mediatek: vcodec: add remove function for decoder platform driver 2023-05-11 23:11:07 +09:00
memory
memstick
message
mfd
misc
mmc mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data 2023-05-11 23:11:01 +09:00
most
mtd ubi: Fix return value overwrite issue in try_write_vid_and_data() 2023-05-11 23:10:54 +09:00
mux
net net: sunhme: Fix uninitialized return code 2023-05-11 23:11:10 +09:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf perf/arm-cmn: Fix port detection for CMN-700 2023-05-11 23:11:06 +09:00
phy
pinctrl pinctrl: qcom: lpass-lpi: set output value before enabling output 2023-05-11 23:10:51 +09:00
platform platform/chrome: cros_typec_switch: Add missing fwnode_handle_put() 2023-05-11 23:11:07 +09:00
pnp
power
powercap
pps
ps3
ptp
pwm pwm: meson: Fix g12a ao clk81 name 2023-05-11 23:10:51 +09:00
rapidio
ras
regulator regulator: stm32-pwr: fix of_iomap leak 2023-05-11 23:11:06 +09:00
remoteproc
reset
rpmsg rpmsg: glink: Propagate TX failures in intentless mode as well 2023-05-11 23:11:07 +09:00
rtc
s390
sbus
scsi scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS 2023-05-11 23:11:10 +09:00
sh
siox
slimbus
soc soc: qcom: rpmh-rsc: Support RSC v3 minor versions 2023-05-11 23:11:03 +09:00
soundwire soundwire: qcom: correct setting ignore bit on v1.5.1 2023-05-11 23:10:51 +09:00
spi
spmi
ssb
staging media: rkvdec: fix use after free bug in rkvdec_remove 2023-05-11 23:11:05 +09:00
target scsi: target: iscsit: Fix TAS handling during conn cleanup 2023-05-11 23:11:10 +09:00
tc
tee
thermal
thunderbolt
tty serial: max310x: fix IO data corruption in batched operations 2023-05-11 23:10:50 +09:00
ufs
uio
usb scsi: target: Pass in cmd counter to use during cmd setup 2023-05-11 23:11:10 +09:00
vdpa
vfio
vhost
video
virt virt/coco/sev-guest: Double-buffer messages 2023-05-11 23:11:00 +09:00
virtio
vlynq
w1
watchdog
xen ACPI: processor: Fix evaluating _PDC method when running as Xen dom0 2023-05-11 23:11:01 +09:00
zorro
Kconfig
Makefile