linux-yocto/drivers
Miaoqian Lin 9895463ba6 usb: cdns3: cdnsp-pci: remove redundant pci_disable_device() call
commit e9c206324eeb213957a567a9d066bdeb355c7491 upstream.

The cdnsp-pci driver uses pcim_enable_device() to enable a PCI device,
which means the device will be automatically disabled on driver detach
through the managed device framework. The manual pci_disable_device()
call in the error path is therefore redundant.

Found via static anlaysis and this is similar to commit 99ca0b57e4
("thermal: intel: int340x: processor: Fix warning during module unload").

Fixes: 3d82904559 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Cc: stable@vger.kernel.org
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20250903141613.2535472-1-linmq006@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-15 12:00:25 +02:00
..
accel accel/ivpu: Prevent recovery work from being queued during device removal 2025-09-09 18:58:14 +02:00
accessibility
acpi ACPI: NFIT: Fix incorrect ndr_desc being reportedin dev_err message 2025-10-15 12:00:12 +02:00
amba
android binder: fix double-free in dbitmap 2025-10-12 12:57:18 +02:00
ata ata: libata-scsi: Return aborted command when missing sense and result TF 2025-08-28 16:31:04 +02:00
atm atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control(). 2025-09-04 15:31:47 +02:00
auxdisplay
base drivers/base/node: fix double free in register_one_node() 2025-10-15 12:00:18 +02:00
bcma
block nbd: restrict sockets to TCP and UDP 2025-10-15 11:59:59 +02:00
bluetooth Bluetooth: btusb: Add USB ID 2001:332a for D-Link AX9U rev. A1 2025-10-12 12:57:15 +02:00
bus bus: fsl-mc: Check return value of platform_get_resource() 2025-10-15 12:00:24 +02:00
cache
cdrom
cdx cdx: Fix off-by-one error in cdx_rpmsg_probe() 2025-08-28 16:31:09 +02:00
char tpm: Disable TPM2_TCG_HMAC by default 2025-10-15 12:00:20 +02:00
clk clk: qcom: gcc-ipq8074: fix broken freq table for nss_port6_tx_clk_src 2025-08-20 18:30:51 +02:00
clocksource
comedi comedi: Fix use of uninitialized memory in do_insn_ioctl() and do_insnlist_ioctl() 2025-08-28 16:31:09 +02:00
connector
counter counter: interrupt-cnt: Protect enable/disable OPs with mutex 2025-06-19 15:32:12 +02:00
cpufreq cpufreq: scmi: Account for malformed DT in scmi_dev_used_by_cpus() 2025-10-15 11:59:56 +02:00
cpuidle cpuidle: qcom-spm: fix device and OF node leaks at probe 2025-10-15 12:00:00 +02:00
crypto crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs 2025-10-15 12:00:14 +02:00
cxl cxl/region: Add a dev_err() on missing target list entries 2025-07-06 11:01:32 +02:00
dax
dca
devfreq PM / devfreq: rockchip-dfi: double count on RK3588 2025-10-15 11:59:59 +02:00
dio
dma dmaengine: dw: dmamux: Fix device reference leak in rzn1_dmamux_route_allocate 2025-09-19 16:35:51 +02:00
dma-buf Revert "udmabuf: fix vmap_udmabuf error page set" 2025-09-19 16:35:42 +02:00
dpll
edac EDAC/i10nm: Skip DIMM enumeration on a disabled memory controller 2025-10-15 11:59:55 +02:00
eisa
extcon
firewire firewire: core: fix overlooked update of subsystem ABI version 2025-10-02 13:44:05 +02:00
firmware firmware: firmware: meson-sm: fix compile-test default 2025-10-15 12:00:00 +02:00
fpga fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable() 2025-08-28 16:31:08 +02:00
fsi
gnss
gpio gpiolib: Extend software-node support to support secondary software-nodes 2025-10-02 13:44:14 +02:00
gpu drm/msm/dpu: fix incorrect type for ret 2025-10-15 12:00:10 +02:00
greybus
hid HID: hidraw: tighten ioctl command parsing 2025-10-15 12:00:12 +02:00
hsi
hte
hv Drivers: hv: Make the sysfs node size for the ring buffer dynamic 2025-08-01 09:48:47 +01:00
hwmon hwmon: (mlxreg-fan) Separate methods of fan setting coming from different subsystems 2025-10-15 12:00:03 +02:00
hwspinlock
hwtracing coresight: Fix incorrect handling for return value of devm_kzalloc 2025-10-15 12:00:16 +02:00
i2c i2c: designware: Add disabling clocks when probe fails 2025-10-15 12:00:03 +02:00
i3c i3c: master: svc: Recycle unused IBI slot 2025-10-15 12:00:02 +02:00
idle intel_idle: Allow loading ACPI tables for any family 2025-08-20 18:30:18 +02:00
iio iio: consumers: Fix offset handling in iio_convert_raw_to_processed() 2025-10-15 12:00:10 +02:00
infiniband RDMA/siw: Always report immediate post SQ errors 2025-10-15 12:00:17 +02:00
input Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak 2025-10-15 12:00:24 +02:00
interconnect interconnect: qcom: sc8180x: specify num_nodes 2025-08-15 12:13:38 +02:00
iommu iommu/vt-d: Disallow dirty tracking if incoherent page walk 2025-10-15 12:00:17 +02:00
ipack
irqchip irqchip: Build IMX_MU_MSI only on ARM 2025-08-15 12:14:07 +02:00
isdn mISDN: Fix memory leak in dsp_hwec_enable() 2025-09-09 18:58:08 +02:00
leds leds: leds-lp55xx: Use correct address for memory programming 2025-10-15 11:59:58 +02:00
macintosh
mailbox mailbox: Not protect module_put with spin_lock_irqsave 2025-07-06 11:01:32 +02:00
mcb
md dm: fix NULL pointer dereference in __dm_suspend() 2025-10-15 12:00:22 +02:00
media media: st-delta: avoid excessive stack usage 2025-10-15 12:00:06 +02:00
memory
memstick memstick: Fix deadlock by moving removing flag earlier 2025-08-28 16:31:05 +02:00
message
mfd mfd: vexpress-sysreg: Check the return value of devm_gpiochip_add_data() 2025-10-15 12:00:22 +02:00
misc misc: fastrpc: Skip reference for DMA handles 2025-10-15 12:00:23 +02:00
mmc mmc: core: Fix variable shadowing in mmc_route_rpmb_frames() 2025-10-15 12:00:00 +02:00
most most: core: Drop device reference after usage in get_channel() 2025-08-28 16:31:09 +02:00
mtd mtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands 2025-10-15 12:00:19 +02:00
mux
net net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock 2025-10-15 12:00:24 +02:00
nfc
ntb
nubus
nvdimm
nvme nvmet-fc: move lsop put work to nvmet_fc_ls_req_op 2025-10-15 12:00:01 +02:00
nvmem nvmem: layouts: fix automatic module loading 2025-10-12 12:57:18 +02:00
of of_numa: fix uninitialized memory nodes causing kernel panic 2025-09-09 18:58:16 +02:00
opp
parisc
parport
pci PCI: j721e: Fix incorrect error message in probe() 2025-10-15 12:00:19 +02:00
pcmcia pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch 2025-09-25 11:13:42 +02:00
peci
perf perf: arm_spe: Prevent overflow in PERF_IDX2OFF() 2025-10-15 11:59:54 +02:00
phy phy: rockchip: naneng-combphy: Enable U3 OTG port for RK3568 2025-10-15 12:00:04 +02:00
pinctrl pinctrl: check the return value of pinmux_ops::get_function_name() 2025-10-15 12:00:24 +02:00
platform platform/x86/amd/pmc: Add Stellaris Slim Gen6 AMD to spurious 8042 quirks list 2025-10-12 12:57:17 +02:00
pmdomain imx8m-blk-ctrl: set ISI panic write hurry level 2025-08-20 18:30:27 +02:00
pnp
power power: supply: cw2015: Fix a alignment coding style issue 2025-10-15 11:59:59 +02:00
powercap powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw() 2025-08-15 12:13:36 +02:00
pps pps: fix warning in pps_register_cdev when register device fail 2025-10-15 12:00:09 +02:00
ps3
ptp ptp: Add a upper bound on max_vclocks 2025-10-15 12:00:17 +02:00
pwm pwm: tiehrpwm: Fix corner case in clock divisor calculation 2025-10-15 12:00:01 +02:00
rapidio drivers/rapidio/rio_cm.c: prevent possible heap overwrite 2025-06-27 11:11:36 +01:00
ras
regulator regulator: scmi: Use int type to store negative error codes 2025-10-15 11:59:57 +02:00
remoteproc remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable() 2025-10-15 12:00:24 +02:00
reset reset: brcmstb: Enable reset drivers for ARCH_BCM2835 2025-08-20 18:30:25 +02:00
rpmsg rpmsg: qcom_smd: Fix uninitialized return variable in __qcom_smd_send() 2025-06-19 15:32:06 +02:00
rtc rtc: pcf2127: fix SPI command byte for PCF2131 backport 2025-09-25 11:13:50 +02:00
s390 s390/sclp: Fix SCCB present check 2025-08-28 16:31:06 +02:00
sbus
scsi scsi: mpt3sas: Fix crash in transport port remove by using ioc_info() 2025-10-15 12:00:16 +02:00
sh
siox
slimbus
soc soc: mediatek: mtk-svs: fix device leaks on mt8192 probe failure 2025-10-15 12:00:00 +02:00
soundwire soundwire: Move handle_nested_irq outside of sdw_dev_lock 2025-08-20 18:30:46 +02:00
spi spi: fix return code when spi device has too many chipselects 2025-10-15 12:00:02 +02:00
spmi
ssb
staging staging: axis-fifo: flush RX FIFO on read errors 2025-10-12 12:57:19 +02:00
target scsi: target: target_core_configfs: Add length check to avoid buffer overflow 2025-10-06 11:17:52 +02:00
tc
tee tee: fix register_shm_helper() 2025-10-15 12:00:24 +02:00
thermal thermal/drivers/qcom/lmh: Add missing IRQ includes 2025-10-15 12:00:03 +02:00
thunderbolt thunderbolt: Fix copy+paste error in match_service_id() 2025-08-20 18:30:52 +02:00
tty tty: n_gsm: Don't block input queue by waiting MSC 2025-10-15 12:00:09 +02:00
ufs scsi: ufs: mcq: Fix memory allocation checks for SQE and CQE 2025-10-02 13:44:05 +02:00
uio uio_hv_generic: Let userspace take care of interrupt mask 2025-10-15 12:00:20 +02:00
usb usb: cdns3: cdnsp-pci: remove redundant pci_disable_device() call 2025-10-15 12:00:25 +02:00
vdpa vdpa: Fix IDR memory leak in VDUSE module exit 2025-08-15 12:13:58 +02:00
vfio vfio/pds: replace bitmap_free with vfree 2025-10-15 12:00:14 +02:00
vhost vhost: vringh: Modify the return value check 2025-10-15 12:00:20 +02:00
video fbdev: simplefb: Fix use after free in simplefb_detach_genpds() 2025-10-15 12:00:23 +02:00
virt fix locking in efi_secret_unlink() 2025-08-20 18:30:21 +02:00
virtio virtio_ring: Fix error reporting in virtqueue_resize 2025-08-01 09:48:39 +01:00
w1
watchdog watchdog: mpc8xxx_wdt: Reload the watchdog timer when enabling the watchdog 2025-10-15 12:00:10 +02:00
xen xen/gntdev: remove struct gntdev_copy_batch from stack 2025-08-15 12:13:43 +02:00
zorro
Kconfig
Makefile