android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arnd Bergmann 1ec19d7588
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
The .ioctl and .compat_ioctl file operations have the same prototype so
they can both point to the same function, which works great almost all
the time when all the commands are compatible.

One exception is the s390 architecture, where a compat pointer is only
31 bit wide, and converting it into a 64-bit pointer requires calling
compat_ptr(). Most drivers here will never run in s390, but since we now
have a generic helper for it, it's easy enough to use it consistently.

I double-checked all these drivers to ensure that all ioctl arguments
are used as pointers or are ignored, but are not interpreted as integer
values.

Acked-by: Jason Gunthorpe <jgg@mellanox.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: David Sterba <dsterba@suse.com>
Acked-by: Darren Hart (VMware) <dvhart@infradead.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Change-Id: I7c19d15ea2d2e48a30e726ca0a5b8ee915e6bbe7
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2026-05-08 21:46:20 +02:00
..
atm usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
c67x00
cdns3 usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
chipidea usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
class BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
common
core usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
dwc2 usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
dwc3 usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
early usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
gadget usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
host usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
image
isp1760
misc Merge android11-5.4.289(4c8fb32) into msm-5.4 2025-03-26 11:56:22 +05:30
mon usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
mtu3
musb usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
pd
phy usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
renesas_usbhs usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
roles usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
serial usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
storage usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
typec usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
usbip usb: Undo qcom damage 2026-04-30 21:08:27 +03:00
Kconfig
Makefile
usb-skeleton.c