linux-yocto/drivers
Miaoqian Lin 01ffce6960 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:56:41 +02:00
..
accessibility
acpi ACPI: NFIT: Fix incorrect ndr_desc being reportedin dev_err message 2025-10-15 11:56:34 +02:00
amba
android
ata ata: Fix SATA_MOBILE_LPM_POLICY description in Kconfig 2025-08-28 16:26:12 +02:00
atm atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control(). 2025-09-04 15:26:27 +02:00
auxdisplay auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common" 2025-06-04 14:40:07 +02:00
base drivers/base/node: fix double free in register_one_node() 2025-10-15 11:56:38 +02:00
bcma
block nbd: restrict sockets to TCP and UDP 2025-10-15 11:56:28 +02:00
bluetooth Bluetooth: btusb: QCA: Fix downloading wrong NVM for WCN6855 GF variant without board ID 2025-07-24 08:51:52 +02:00
bus bus: fsl-mc: Check return value of platform_get_resource() 2025-10-15 11:56:41 +02:00
cdrom
char hwrng: ks-sa - fix division by zero in ks_sa_rng_init 2025-10-15 11:56:38 +02:00
clk clk: sunxi-ng: v3s: Fix de clock definition 2025-08-15 12:05:03 +02:00
clocksource clocksource: mips-gic-timer: Enable counter when CPUs start 2025-06-04 14:40:12 +02:00
comedi comedi: Fix use of uninitialized memory in do_insn_ioctl() and do_insnlist_ioctl() 2025-08-28 16:26:14 +02:00
connector
counter counter: interrupt-cnt: Protect enable/disable OPs with mutex 2025-06-27 11:07:16 +01:00
cpufreq cpufreq: scmi: Account for malformed DT in scmi_dev_used_by_cpus() 2025-10-15 11:56:26 +02:00
cpuidle cpuidle: qcom-spm: fix device and OF node leaks at probe 2025-10-15 11:56:28 +02:00
crypto crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs 2025-10-15 11:56:36 +02:00
cxl
dax
dca
devfreq PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe() 2025-10-15 11:56:27 +02:00
dio
dma dmaengine: dw: dmamux: Fix device reference leak in rzn1_dmamux_route_allocate 2025-09-19 16:29:59 +02:00
dma-buf dma-buf: fix timeout handling in dma_resv_wait_timeout v2 2025-07-10 15:59:53 +02:00
edac minmax: add a few more MIN_T/MAX_T users 2025-10-02 13:40:43 +02:00
eisa
extcon
firewire
firmware firmware: firmware: meson-sm: fix compile-test default 2025-10-15 11:56:28 +02:00
fpga fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable() 2025-08-28 16:26:14 +02:00
fsi
gnss
gpio gpio: tps65912: check the return value of regmap_update_bits() 2025-08-28 16:25:53 +02:00
gpu drm/msm/dpu: fix incorrect type for ret 2025-10-15 11:56:33 +02:00
greybus
hid hid: fix I2C read buffer overflow in raw_event() for mcp2221 2025-10-15 11:56:24 +02:00
hsi
hte
hv Drivers: hv: vmbus: Add utility function for querying ring size 2025-07-06 10:57:58 +02:00
hwmon hwmon: (mlxreg-fan) Separate methods of fan setting coming from different subsystems 2025-10-15 11:56:29 +02:00
hwspinlock
hwtracing coresight: trbe: Return NULL pointer for allocation failures 2025-10-15 11:56:36 +02:00
i2c i2c: designware: Add disabling clocks when probe fails 2025-10-15 11:56:29 +02:00
i3c i3c: master: svc: Recycle unused IBI slot 2025-10-15 11:56:28 +02:00
idle
iio iio: consumers: Fix offset handling in iio_convert_raw_to_processed() 2025-10-15 11:56:33 +02:00
infiniband RDMA/siw: Always report immediate post SQ errors 2025-10-15 11:56:37 +02:00
input Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak 2025-10-15 11:56:41 +02:00
interconnect interconnect: qcom: sc8180x: specify num_nodes 2025-08-15 12:04:55 +02:00
iommu iommu/vt-d: Fix __domain_mapping()'s usage of switch_to_super_page() 2025-09-25 10:58:52 +02:00
ipack
irqchip minmax: don't use max() in situations that want a C constant expression 2025-10-15 11:56:21 +02:00
isdn mISDN: Fix memory leak in dsp_hwec_enable() 2025-09-09 18:54:14 +02:00
leds leds: leds-lp50xx: Handle reg to get correct multi_index 2025-08-28 16:26:00 +02:00
macintosh
mailbox mailbox: Not protect module_put with spin_lock_irqsave 2025-07-06 10:57:54 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-05-02 07:46:57 +02:00
md dm: fix NULL pointer dereference in __dm_suspend() 2025-10-15 11:56:40 +02:00
media media: st-delta: avoid excessive stack usage 2025-10-15 11:56:31 +02:00
memory
memstick memstick: Fix deadlock by moving removing flag earlier 2025-08-28 16:26:13 +02:00
message
mfd mfd: vexpress-sysreg: Check the return value of devm_gpiochip_add_data() 2025-10-15 11:56:39 +02:00
misc misc: fastrpc: Skip reference for DMA handles 2025-10-15 11:56:40 +02:00
mmc mmc: mvsdio: Fix dma_unmap_sg() nents value 2025-09-25 10:58:53 +02:00
most most: core: Drop device reference after usage in get_channel() 2025-08-28 16:26:14 +02:00
mtd mtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands 2025-10-15 11:56:38 +02:00
mux
net net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock 2025-10-15 11:56:41 +02:00
nfc minmax: make generic MIN() and MAX() macros available everywhere 2025-10-02 13:40:43 +02:00
ntb ntb_hw_amd: Add NTB PCI ID for new gen CPU 2025-05-02 07:47:04 +02:00
nubus
nvdimm libnvdimm/labels: Fix divide error in nd_label_data_init() 2025-06-04 14:40:04 +02:00
nvme nvmet-fc: move lsop put work to nvmet_fc_ls_req_op 2025-10-15 11:56:28 +02:00
nvmem nvmem: layouts: u-boot-env: remove crc32 endianness conversion 2025-07-24 08:51:55 +02:00
of of: module: add buffer overflow check in of_modalias() 2025-05-02 07:47:08 +02:00
opp
parisc
parport
pci PCI: tegra194: Fix duplicate PLL disable in pex_ep_event_pex_rst_assert() 2025-10-15 11:56:36 +02:00
pcmcia pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch 2025-09-25 10:58:50 +02:00
peci
perf perf: arm_spe: Prevent overflow in PERF_IDX2OFF() 2025-10-15 11:56:25 +02:00
phy phy: ti: omap-usb2: fix device leak at unbind 2025-09-25 10:58:54 +02:00
pinctrl pinctrl: check the return value of pinmux_ops::get_function_name() 2025-10-15 11:56:41 +02:00
platform minmax: make generic MIN() and MAX() macros available everywhere 2025-10-02 13:40:43 +02:00
pnp
power power: supply: cw2015: Fix a alignment coding style issue 2025-10-15 11:56:27 +02:00
powercap powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw() 2025-08-15 12:04:54 +02:00
pps pps: fix warning in pps_register_cdev when register device fail 2025-10-15 11:56:33 +02:00
ps3
ptp ptp: Use ratelimite for freerun error message 2025-08-28 16:25:58 +02:00
pwm pwm: tiehrpwm: Fix corner case in clock divisor calculation 2025-10-15 11:56:28 +02:00
rapidio drivers/rapidio/rio_cm.c: prevent possible heap overwrite 2025-06-27 11:07:36 +01:00
ras
regulator regulator: scmi: Use int type to store negative error codes 2025-10-15 11:56:27 +02:00
remoteproc remoteproc: qcom: q6v5: Avoid disabling handover IRQ twice 2025-10-15 11:56:36 +02:00
reset reset: brcmstb: Enable reset drivers for ARCH_BCM2835 2025-08-28 16:25:53 +02:00
rpmsg rpmsg: qcom_smd: Fix uninitialized return variable in __qcom_smd_send() 2025-06-27 11:07:15 +01:00
rtc rtc: ds1307: remove clear of oscillator stop flag (OSF) in probe 2025-08-28 16:26:03 +02:00
s390 s390/sclp: Fix SCCB present check 2025-08-28 16:26:13 +02:00
sbus
scsi scsi: mpt3sas: Fix crash in transport port remove by using ioc_info() 2025-10-15 11:56:37 +02:00
sh
siox
slimbus
soc soc: qcom: rpmh-rsc: Unconditionally clear _TRIGGER bit for TCS 2025-10-15 11:56:26 +02:00
soundwire soundwire: stream: restore params when prepare ports fail 2025-08-15 12:05:04 +02:00
spi spi: tegra114: Use value to check for invalid delays 2025-09-09 18:54:24 +02:00
spmi
ssb
staging staging: axis-fifo: flush RX FIFO on read errors 2025-10-15 11:56:24 +02:00
target scsi: target: target_core_configfs: Add length check to avoid buffer overflow 2025-10-15 11:56:21 +02:00
tc
tee tee: optee: ffa: fix a typo of "optee_ffa_api_is_compatible" 2025-09-09 18:54:13 +02:00
thermal thermal/drivers/qcom/lmh: Add missing IRQ includes 2025-10-15 11:56:29 +02:00
thunderbolt thunderbolt: Fix copy+paste error in match_service_id() 2025-08-28 16:26:04 +02:00
tty serial: max310x: Add error checking in probe() 2025-10-15 11:56:30 +02:00
ufs scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE 2025-08-28 16:26:15 +02:00
uio uio_hv_generic: Let userspace take care of interrupt mask 2025-10-15 11:56:39 +02:00
usb usb: cdns3: cdnsp-pci: remove redundant pci_disable_device() call 2025-10-15 11:56:41 +02:00
vdpa
vfio vfio/mlx5: fix possible overflow in tracking max message size 2025-08-28 16:26:02 +02:00
vhost vhost: vringh: Modify the return value check 2025-10-15 11:56:39 +02:00
video fbcon: Fix OOB access in font allocation 2025-10-02 13:40:41 +02:00
virt minmax: add in_range() macro 2025-10-02 13:40:41 +02:00
virtio virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN 2025-06-04 14:40:01 +02:00
vlynq
w1
watchdog watchdog: mpc8xxx_wdt: Reload the watchdog timer when enabling the watchdog 2025-10-15 11:56:34 +02:00
xen xen/gntdev: remove struct gntdev_copy_batch from stack 2025-08-15 12:04:58 +02:00
zorro
Kconfig
Makefile