Centos-kernel-stream-9/drivers
Martin McConnell d9580d59ac usb: cdns3-imx: Convert to platform remove callback returning void
JIRA: https://issues.redhat.com/browse/RHEL-54566

commit cfab1b8be9ab744d4b1064a8af59c758a2084b1d
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date:   Thu May 18 01:01:04 2023 +0200

    usb: cdns3-imx: Convert to platform remove callback returning void

    The .remove() callback for a platform driver returns an int which makes
    many driver authors wrongly assume it's possible to do error handling by
    returning an error code. However the value returned is ignored (apart from
    emitting a warning) and this typically results in resource leaks. To improve
    here there is a quest to make the remove callback return void. In the first
    step of this quest all drivers are converted to .remove_new() which already
    returns void. Eventually after all drivers are converted, .remove_new() is
    renamed to .remove().

    Trivially convert this driver from always returning zero in the remove
    callback to the void returning variant.

    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Link: https://lore.kernel.org/r/20230517230239.187727-3-u.kleine-koenig@pengutronix.de
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Martin McConnell <mmcconne@redhat.com>
2024-08-30 12:20:41 +01:00
..
accel
accessibility
acpi Merge: pmem: update to v6.9 2024-08-19 13:22:19 +00:00
amba
android list_lru: allow explicit memcg and NUMA node selection 2024-06-28 12:24:14 -04:00
ata ata: libata-core: Add ATA_HORKAGE_NOLPM for Apacer AS340 2024-07-08 15:39:28 -04:00
atm
auxdisplay
base Merge: pmem: update to v6.9 2024-08-19 13:22:19 +00:00
bcma
block null_blk: fix validation of block size 2024-08-18 19:50:50 +08:00
bluetooth
bus Merge: Wireless core and drivers rebase to v6.9 + bug-fixes 2024-07-02 13:30:34 +00:00
cdrom
char Merge: hwrng: octeon - HWRNG updates for rhel-9.5 2024-07-12 14:11:13 +00:00
clk Merge: Pull up TI devicetrees to v6.10 2024-07-18 12:22:00 +00:00
clocksource
comedi
connector
counter
cpufreq Merge: cpufreq: exit() callback is optional 2024-07-12 14:15:02 +00:00
cpuidle
crypto Merge: CVE-2024-38579: crypto: bcm - Fix pointer arithmetic 2024-08-15 12:21:05 +00:00
cxl Merge: cxl/mem: Fix no cxl_nvd during pmem region auto-assembling 2024-08-08 12:14:48 +00:00
dax dax/bus.c: use the right locking mode (read vs write) in size_show 2024-07-26 14:57:33 -04:00
dca
devfreq
dio
dma dmaengine: idxd: Check for driver name match before sva user feature 2024-07-08 09:54:10 -07:00
dma-buf Merge DRM changes from upstream v6.9..v6.9.11 2024-07-30 10:57:32 +10:00
dpll
edac
eisa
extcon
firewire scsi: Change SCSI device boolean fields to single bit flags 2024-07-08 15:39:22 -04:00
firmware Merge: RHEL-30322: Add support for the EFI_CC_MEASUREMENT_PROTOCOL in the EFI stub 2024-08-20 12:37:55 +00:00
fpga
fsi
gnss
gpio Merge: NVIDIA:Grace - Backport GPIO graceful shutdown fix 2024-07-15 13:28:11 +00:00
gpu Merge DRM changes from upstream v6.9..v6.9.11 2024-07-30 10:57:32 +10:00
greybus
hid
hsi
hte
hv
hwmon Merge: hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist 2024-08-08 12:11:30 +00:00
hwspinlock
hwtracing intel_th: pci: Add Lunar Lake support 2024-08-13 15:31:01 +02:00
i2c Merge: i2c: lpi2c: Avoid calling clk_get_rate during transfer 2024-07-23 19:19:12 +00:00
i3c
idle cpuidle: ACPI/intel: fix MWAIT hint target C-state computation 2024-07-12 12:10:10 -04:00
iio
infiniband Merge: RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt 2024-08-19 13:20:18 +00:00
input Input: gpio-keys - filter gpio_keys -EPROBE_DEFER error messages 2024-07-26 13:24:46 -04:00
interconnect
iommu iommufd/iova_bitmap: Remove iterator logic 2024-07-31 09:19:22 -07:00
ipack
irqchip Merge: CVE-2024-35847 2024-08-02 10:38:20 -04:00
isdn
leds leds: trigger: Unregister sysfs attributes before calling deactivate() 2024-08-19 13:15:11 +00:00
macintosh
mailbox
mcb
md dm-crypt: limit the size of encryption requests 2024-07-17 19:32:20 -04:00
media Merge: CVE-2024-23848: media: cec: use-after-free in cec_queue_msg_fh 2024-07-17 17:21:27 +00:00
memory
memstick
message
mfd Merge: Backport driver for TI TPS65219 PMIC 2024-08-06 14:25:36 +00:00
misc Merge: Backport / enable eeprom atmel,24c256 support 2024-08-21 12:52:10 +00:00
mmc Merge: Bluefield-3 assorted upstream fixes 2024-07-12 14:18:14 +00:00
most
mtd
mux
net Merge: net: stmmac: Rebase to v6.10 2024-08-21 12:52:58 +00:00
nfc
ntb
nubus
nvdimm nvdimm/pmem: fix leak on dax_add_host() failure 2024-07-26 14:57:31 -04:00
nvme Merge: CVE-2024-41082: nvme-fabrics: use reserved tag for reg read/write command 2024-08-13 12:47:23 +00:00
nvmem nvmem: core: fix device node refcounting 2024-07-15 16:05:02 -04:00
of Merge: of: Fix double free in of_parse_phandle_with_args_map and of: unittest fixes 2024-07-23 18:49:42 +00:00
opp
parisc
parport dev/parport: fix the array out-of-bounds risk 2024-08-19 14:44:54 +00:00
pci Merge: PCI: endpoint: remove bogus return in pci_epf_device_remove() 2024-08-12 15:50:44 +00:00
pcmcia
perf Merge: perf: hisi: Fix use-after-free when register pmu fails 2024-07-22 14:38:55 +00:00
phy Merge: Pull up TI devicetrees to v6.10 2024-07-18 12:22:00 +00:00
pinctrl pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER 2024-07-30 17:34:32 +00:00
platform Merge: update intel-speed-select driver and tool 2024-08-16 14:22:47 +00:00
pmdomain Merge: pmdomain: imx8mp-blk-ctrl: imx8mp_blk: Add fdcc clock to hdmimix domain 2024-07-22 14:39:02 +00:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: tps65219: Fix matching interrupts for their regulators 2024-07-10 15:46:45 +02:00
remoteproc
reset
rpmsg
rtc rtc: test: Fix invalid format specifier. 2024-07-31 20:32:29 -06:00
s390 dax: enable dax fault handler to report VM_FAULT_HWPOISON 2024-07-26 14:52:28 -04:00
sbus
scsi Revert "Merge: scsi: fnic: driver update" 2024-08-21 10:47:02 -04:00
sh
siox
slimbus
soc
soundwire soundwire: cadence: remove PDI offset completely 2024-07-08 20:55:21 +02:00
spi Merge: spi: lpspi: Avoid potential use-after-free in probe() 2024-08-06 14:25:03 +00:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty Merge: CVE-2024-40966 kernel: tty: add the option to have a tty reject a new ldisc 2024-08-02 10:38:20 -04:00
ufs Merge: SCSI updates for 9.5 2024-07-16 19:39:40 +00:00
uio
usb usb: cdns3-imx: Convert to platform remove callback returning void 2024-08-30 12:20:41 +01:00
vdpa net/mlx5: Allocate completion EQs dynamically 2024-07-22 15:33:40 -04:00
vfio vfio/nvgrace-gpu: Convey kvm to map device memory region as noncached 2024-08-07 14:54:34 -04:00
vhost
video fbdev/hyperv_fb: Include <linux/screen_info.h> 2024-07-03 15:45:14 -04:00
virt virt: efi_secret: Convert to platform remove callback returning void 2024-08-06 09:40:20 -04:00
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile