linux-yocto/drivers
Miaoqian Lin acad205788 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 11:58:10 +02:00
..
accel accel/qaic: Mask out SR-IOV PCI resources 2025-06-04 14:42:15 +02:00
accessibility
acpi ACPI: NFIT: Fix incorrect ndr_desc being reportedin dev_err message 2025-10-15 11:58:01 +02:00
amba
android
ata ata: libata-scsi: Return aborted command when missing sense and result TF 2025-08-28 16:28:42 +02:00
atm atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control(). 2025-09-04 15:30:21 +02:00
auxdisplay auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common" 2025-06-04 14:42:01 +02:00
base drivers/base/node: fix double free in register_one_node() 2025-10-15 11:58:06 +02:00
bcma
block nbd: restrict sockets to TCP and UDP 2025-10-15 11:57:52 +02:00
bluetooth Bluetooth: vhci: Prevent use-after-free by removing debugfs files early 2025-09-09 18:56:21 +02:00
bus bus: fsl-mc: Check return value of platform_get_resource() 2025-10-15 11:58:10 +02:00
cache
cdrom
cdx cdx: Fix off-by-one error in cdx_rpmsg_probe() 2025-08-28 16:28:45 +02:00
char hwrng: ks-sa - fix division by zero in ks_sa_rng_init 2025-10-15 11:58:05 +02:00
clk clk: qcom: ipq5018: keep XO clock always on 2025-08-28 16:28:26 +02:00
clocksource clocksource: mips-gic-timer: Enable counter when CPUs start 2025-06-04 14:42:06 +02:00
comedi comedi: Fix use of uninitialized memory in do_insn_ioctl() and do_insnlist_ioctl() 2025-08-28 16:28:45 +02:00
connector
counter counter: interrupt-cnt: Protect enable/disable OPs with mutex 2025-06-19 15:28:31 +02:00
cpufreq cpufreq: scmi: Account for malformed DT in scmi_dev_used_by_cpus() 2025-10-15 11:57:50 +02:00
cpuidle cpuidle: qcom-spm: fix device and OF node leaks at probe 2025-10-15 11:57:52 +02:00
crypto crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs 2025-10-15 11:58:03 +02:00
cxl cxl/region: Add a dev_err() on missing target list entries 2025-07-06 11:00:06 +02:00
dax
dca
devfreq PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe() 2025-10-15 11:57:51 +02:00
dio
dma dmaengine: dw: dmamux: Fix device reference leak in rzn1_dmamux_route_allocate 2025-09-19 16:32:08 +02:00
dma-buf dma-buf: fix timeout handling in dma_resv_wait_timeout v2 2025-07-10 16:03:19 +02:00
edac EDAC/i10nm: Skip DIMM enumeration on a disabled memory controller 2025-10-15 11:57:49 +02:00
eisa
extcon
firewire firewire: core: fix overlooked update of subsystem ABI version 2025-10-02 13:42:47 +02:00
firmware firmware: firmware: meson-sm: fix compile-test default 2025-10-15 11:57:52 +02:00
fpga fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable() 2025-08-28 16:28:45 +02:00
fsi
gnss
gpio gpiolib: Extend software-node support to support secondary software-nodes 2025-10-02 13:42:54 +02:00
gpu drm/msm/dpu: fix incorrect type for ret 2025-10-15 11:58:00 +02:00
greybus
hid hid: fix I2C read buffer overflow in raw_event() for mcp2221 2025-10-12 12:56:22 +02:00
hsi
hte
hv Drivers: hv: vmbus: Add utility function for querying ring size 2025-07-06 11:00:09 +02:00
hwmon hwmon: (mlxreg-fan) Separate methods of fan setting coming from different subsystems 2025-10-15 11:57:54 +02:00
hwspinlock
hwtracing coresight: trbe: Return NULL pointer for allocation failures 2025-10-15 11:58:04 +02:00
i2c i2c: designware: Add disabling clocks when probe fails 2025-10-15 11:57:54 +02:00
i3c i3c: master: svc: Recycle unused IBI slot 2025-10-15 11:57:53 +02:00
idle intel_idle: Allow loading ACPI tables for any family 2025-08-28 16:28:14 +02:00
iio iio: consumers: Fix offset handling in iio_convert_raw_to_processed() 2025-10-15 11:58:00 +02:00
infiniband RDMA/siw: Always report immediate post SQ errors 2025-10-15 11:58:05 +02:00
input Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak 2025-10-15 11:58:09 +02:00
interconnect interconnect: qcom: sc8180x: specify num_nodes 2025-08-15 12:08:44 +02:00
iommu iommu/amd/pgtbl: Fix possible race while increase page table level 2025-09-25 11:00:10 +02:00
ipack
irqchip minmax: don't use max() in situations that want a C constant expression 2025-10-02 13:42:55 +02:00
isdn mISDN: Fix memory leak in dsp_hwec_enable() 2025-09-09 18:56:22 +02:00
leds leds: flash: leds-qcom-flash: Update torch current clamp setting 2025-10-15 11:57:50 +02:00
macintosh
mailbox mailbox: Not protect module_put with spin_lock_irqsave 2025-07-06 11:00:05 +02:00
mcb
md dm: fix NULL pointer dereference in __dm_suspend() 2025-10-15 11:58:08 +02:00
media media: st-delta: avoid excessive stack usage 2025-10-15 11:57:57 +02:00
memory
memstick memstick: Fix deadlock by moving removing flag earlier 2025-08-28 16:28:43 +02:00
message
mfd mfd: vexpress-sysreg: Check the return value of devm_gpiochip_add_data() 2025-10-15 11:58:08 +02:00
misc misc: fastrpc: Skip reference for DMA handles 2025-10-15 11:58:09 +02:00
mmc mmc: sdhci-cadence: add Mobileye eyeQ support 2025-10-02 13:42:48 +02:00
most most: core: Drop device reference after usage in get_channel() 2025-08-28 16:28:45 +02:00
mtd mtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands 2025-10-15 11:58:06 +02:00
mux
net net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock 2025-10-15 11:58:10 +02:00
nfc minmax: make generic MIN() and MAX() macros available everywhere 2025-10-02 13:42:55 +02:00
ntb
nubus
nvdimm
nvme nvmet-fc: move lsop put work to nvmet_fc_ls_req_op 2025-10-15 11:57:53 +02:00
nvmem nvmem: layouts: u-boot-env: remove crc32 endianness conversion 2025-07-24 08:53:22 +02:00
of of: dynamic: Fix use after free in of_changeset_add_prop_helper() 2025-09-04 15:30:18 +02:00
opp
parisc
parport
pci PCI: tegra194: Fix duplicate PLL disable in pex_ep_event_pex_rst_assert() 2025-10-15 11:58:03 +02:00
pcmcia pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch 2025-09-25 11:00:05 +02:00
peci
perf perf: arm_spe: Prevent overflow in PERF_IDX2OFF() 2025-10-15 11:57:48 +02:00
phy phy: rockchip: naneng-combphy: Enable U3 OTG port for RK3568 2025-10-15 11:57:55 +02:00
pinctrl pinctrl: check the return value of pinmux_ops::get_function_name() 2025-10-15 11:58:10 +02:00
platform platform/x86/amd/pmc: Add Stellaris Slim Gen6 AMD to spurious 8042 quirks list 2025-10-12 12:56:21 +02:00
pmdomain imx8m-blk-ctrl: set ISI panic write hurry level 2025-08-28 16:28:19 +02:00
pnp
power power: supply: cw2015: Fix a alignment coding style issue 2025-10-15 11:57:51 +02:00
powercap powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw() 2025-08-15 12:08:42 +02:00
pps pps: fix warning in pps_register_cdev when register device fail 2025-10-15 11:57:59 +02:00
ps3
ptp ptp: Use ratelimite for freerun error message 2025-08-28 16:28:24 +02:00
pwm pwm: tiehrpwm: Fix corner case in clock divisor calculation 2025-10-15 11:57:53 +02:00
rapidio drivers/rapidio/rio_cm.c: prevent possible heap overwrite 2025-06-27 11:08:58 +01:00
ras
regulator regulator: scmi: Use int type to store negative error codes 2025-10-15 11:57:51 +02:00
remoteproc remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable() 2025-10-15 11:58:10 +02:00
reset reset: brcmstb: Enable reset drivers for ARCH_BCM2835 2025-08-28 16:28:18 +02:00
rpmsg rpmsg: qcom_smd: Fix uninitialized return variable in __qcom_smd_send() 2025-06-19 15:28:27 +02:00
rtc rtc: pcf2127: fix SPI command byte for PCF2131 backport 2025-09-25 11:00:10 +02:00
s390 s390/sclp: Fix SCCB present check 2025-08-28 16:28:43 +02:00
sbus
scsi scsi: mpt3sas: Fix crash in transport port remove by using ioc_info() 2025-10-15 11:58:04 +02:00
sh
siox
slimbus
soc soc: qcom: rpmh-rsc: Unconditionally clear _TRIGGER bit for TCS 2025-10-15 11:57:50 +02:00
soundwire soundwire: Move handle_nested_irq outside of sdw_dev_lock 2025-08-28 16:28:28 +02:00
spi spi: fsl-qspi: Fix double cleanup in probe error path 2025-09-09 18:56:35 +02:00
spmi
ssb
staging staging: axis-fifo: flush RX FIFO on read errors 2025-10-12 12:56:22 +02:00
target scsi: target: target_core_configfs: Add length check to avoid buffer overflow 2025-10-06 11:17:00 +02:00
tc
tee tee: optee: ffa: fix a typo of "optee_ffa_api_is_compatible" 2025-09-09 18:56:20 +02:00
thermal thermal/drivers/qcom/lmh: Add missing IRQ includes 2025-10-15 11:57:54 +02:00
thunderbolt thunderbolt: Fix copy+paste error in match_service_id() 2025-08-28 16:28:31 +02:00
tty tty: n_gsm: Don't block input queue by waiting MSC 2025-10-15 11:57:59 +02:00
ufs scsi: ufs: mcq: Fix memory allocation checks for SQE and CQE 2025-10-02 13:42:47 +02:00
uio uio_hv_generic: Let userspace take care of interrupt mask 2025-10-15 11:58:07 +02:00
usb usb: cdns3: cdnsp-pci: remove redundant pci_disable_device() call 2025-10-15 11:58:10 +02:00
vdpa vdpa/mlx5: Fix mlx5_vdpa_get_config() endianness on big-endian machines 2025-06-04 14:42:05 +02:00
vfio vfio/pds: replace bitmap_free with vfree 2025-10-15 11:58:03 +02:00
vhost vhost: vringh: Modify the return value check 2025-10-15 11:58:07 +02:00
video fbcon: Fix OOB access in font allocation 2025-10-02 13:42:54 +02:00
virt fix locking in efi_secret_unlink() 2025-08-28 16:28:15 +02:00
virtio virtio_ring: Fix error reporting in virtqueue_resize 2025-08-01 09:47:28 +01:00
vlynq
w1
watchdog watchdog: mpc8xxx_wdt: Reload the watchdog timer when enabling the watchdog 2025-10-15 11:58:00 +02:00
xen xen/gntdev: remove struct gntdev_copy_batch from stack 2025-08-15 12:08:47 +02:00
zorro
Kconfig
Makefile