linux/drivers
Valentina Fernandez bc4d17e495 mailbox: mchp-ipc-sbi: fix uninitialized symbol and other smatch warnings
Fix uninitialized symbol 'hartid' warning in mchp_ipc_cluster_aggr_isr()
by introducing a 'found' flag to track whether the IRQ matches any
online hart. If no match is found, return IRQ_NONE.

Also fix other smatch warnings by removing dead code in
mchp_ipc_startup() and by returning -ENODEV in dev_err_probe() if the
Microchip SBI extension is not found.

Fixes below smatch warnings:
drivers/mailbox/mailbox-mchp-ipc-sbi.c:187 mchp_ipc_cluster_aggr_isr() error: uninitialized symbol 'hartid'.
drivers/mailbox/mailbox-mchp-ipc-sbi.c:324 mchp_ipc_startup() warn: ignoring unreachable code.
drivers/mailbox/mailbox-mchp-ipc-sbi.c:422 mchp_ipc_probe() warn: passing zero to 'dev_err_probe'

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202512171533.CDLdScMY-lkp@intel.com/
Signed-off-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
2026-01-24 18:42:39 -06:00
..
accel accel/amdxdna: Block running under a hypervisor 2025-12-15 13:00:03 -06:00
accessibility
acpi ACPI: PM: s2idle: Add module parameter for LPS0 constraints checking 2026-01-13 23:10:25 +01:00
amba
android rust_binder: remove spin_lock() in rust_shrink_free_page() 2025-12-29 11:34:16 +01:00
ata ata: libata-core: Disable LPM on ST2000DM008-2FR102 2025-12-16 14:23:10 +09:00
atm atm: Fix dma_free_coherent() size 2026-01-08 08:47:32 -08:00
auxdisplay
base PM: runtime: Do not clear needs_force_resume with enabled runtime PM 2025-12-16 12:58:57 +01:00
bcma
block block-6.19-20260116 2026-01-16 20:59:46 -08:00
bluetooth Bluetooth: btusb: revert use of devm_kzalloc in btusb 2025-12-19 17:23:18 -05:00
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter counter: 104-quad-8: Fix incorrect return value in IRQ handler 2025-12-22 20:03:23 +09:00
cpufreq cpufreq: dt-platdev: Fix creating device on OPPv1 platforms 2025-12-16 07:59:30 -06:00
cpuidle
crypto crypto: qat - fix duplicate restarting msg during AER error 2025-12-29 08:44:14 +08:00
cxl cxl: Check for invalid addresses returned from translation functions on errors 2026-01-13 08:30:40 -07:00
dax drivers/dax: add some missing kerneldoc comment fields for struct dev_dax 2026-01-14 22:16:26 -08:00
dca
devfreq
dibs
dio
dma dmaengine updates for v6.19 2025-12-09 06:35:53 +09:00
dma-buf
dpll
edac
eisa
extcon
firewire firewire: nosy: Fix dma_free_coherent() size 2025-12-26 22:04:03 +09:00
firmware efi/cper: Fix cper_bits_to_str buffer handling and return value 2026-01-14 11:34:42 +01:00
fpga
fsi
fwctl
gnss
gpib
gpio gpiolib: remove redundant callback check 2026-01-12 09:35:04 +01:00
gpu drm-misc-fixes for v6.19-rc6: 2026-01-16 20:27:21 +01:00
greybus
hid hid-for-linus-2026010801 2026-01-08 07:44:48 -08:00
hsi
hte
hv mshv: release mutex on region invalidation failure 2025-12-18 20:00:10 +00:00
hwmon hwmon: (ltc4282): Fix reset_history file permissions 2025-12-19 08:44:22 -08:00
hwspinlock
hwtracing
i2c i2c: i801: Add support for Intel Nova Lake-S 2025-12-17 00:28:51 +01:00
i3c i3c: adi: Fix confusing cleanup.h syntax 2025-12-12 23:59:39 +01:00
idle
iio
infiniband RDMA/bnxt_re: fix dma_free_coherent() pointer 2025-12-30 06:45:51 -05:00
input Input updates for v6.19-rc1 2025-12-21 15:21:10 -08:00
interconnect
iommu iommu/sva: include mmu_notifier.h header 2026-01-14 22:16:25 -08:00
ipack
irqchip Revert "irqchip/riscv-imsic: Embed the vector array in lpriv" 2026-01-09 16:10:05 +01:00
isdn
leds
macintosh
mailbox mailbox: mchp-ipc-sbi: fix uninitialized symbol and other smatch warnings 2026-01-24 18:42:39 -06:00
mcb
md block-6.19-20260102 2026-01-02 12:15:59 -08:00
media [GIT PULL for v6.19-rc6] media fixes 2026-01-14 08:18:01 -08:00
memory
memstick
message
mfd
misc Char/Misc driver fixes for 6.19-rc5 2026-01-11 07:27:44 -10:00
mmc mmc: sdhci-esdhc-imx: add alternate ARCH_S32 dependency to Kconfig 2025-12-17 14:14:51 +01:00
most
mtd treewide: Update email address 2026-01-11 06:09:11 -10:00
mux
net linux-can-fixes-for-6.19-20260115 2026-01-15 13:13:01 +01:00
nfc nfc: pn533: Fix error code in pn533_acr122_poweron_rdr() 2025-12-11 01:40:00 -08:00
ntb
nubus
nvdimm
nvme block-6.19-20260116 2026-01-16 20:59:46 -08:00
nvmem
of of: unittest: Fix memory leak in unittest_data_add() 2026-01-02 15:36:37 -06:00
opp
parisc parisc: Set valid bit in high byte of 64‑bit physical address 2025-12-19 13:56:17 +01:00
parport
pci cxl fixes for v6.19-rc6 2026-01-16 13:09:28 -08:00
pcmcia
peci
perf
phy
pinctrl pinctrl: qcom: lpass-lpi: mark the GPIO controller as sleeping 2026-01-01 15:40:56 +01:00
platform platform/x86: asus-armoury: add support for G835LW 2025-12-30 12:51:46 +02:00
pmdomain pmdomain: imx: Fix reference count leak in imx_gpc_probe() 2025-12-29 11:41:09 +01:00
pnp
power
powercap powercap: intel_rapl: Fix possible recursive lock warning 2025-12-17 17:24:28 +01:00
pps
ps3
ptp
pwm pwm: th1520: Fix missing Kconfig dependencies 2025-12-13 16:41:50 +12:00
rapidio
ras
regulator regulator: fp9931: fix regulator node pointer 2025-12-24 11:31:29 +00:00
remoteproc
resctrl arm_mpam: Use non-atomic bitops when modifying feature bitmap 2026-01-16 12:04:20 +00:00
reset
rpmsg
rtc RTC for 6.19 2025-12-13 17:09:06 +12:00
s390
sbus
scsi scsi: bfa: Update outdated comment 2026-01-04 15:28:08 -05:00
sh
siox
slimbus
soc
soundwire soundwire: Add missing EXPORT for sdw_slave_type 2026-01-14 13:35:17 +00:00
spi spi: cadence-quadspi: Prevent indirect read 2025-12-23 15:18:22 +00:00
spmi
ssb
staging
target SCSI misc on 20251214 2025-12-14 15:35:35 +12:00
tc
tee
thermal thermal: core: Fix typo and indentation in comments 2025-12-15 12:47:39 +01:00
thunderbolt
tty serial: xilinx_uartps: fix rs485 delay_rts_after_send 2025-12-23 11:55:16 +01:00
ufs scsi: ufs: host: mediatek: Make read-only array scale_us static const 2026-01-04 15:48:50 -05:00
uio treewide: Update email address 2026-01-11 06:09:11 -10:00
usb Merge patch series "usb: typec: ucsi: revert broken buffer management" 2025-12-23 15:59:03 +01:00
vdpa
vfio vfio/xe: Fix use-after-free in xe_vfio_pci_alloc_file() 2025-12-28 12:42:46 -07:00
vhost vhost/vsock: improve RCU read sections around vhost_vsock_get() 2025-12-24 08:02:57 -05:00
video
virt
virtio
w1
watchdog
xen ACPI: PCI: IRQ: Fix INTx GSIs signedness 2026-01-05 19:06:40 +01:00
zorro
Kconfig
Makefile