android_kernel_motorola_sm6375/drivers/misc
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
..
altera-stapl altera-stapl: altera_get_note: prevent write beyond end of 'key' 2020-03-25 08:25:47 +01:00
c2port treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cardreader misc: rtsx: usb: Ensure mmc child device is active when card is present 2025-08-28 16:21:30 +02:00
cb710 cb710: avoid NULL pointer subtraction 2021-10-20 11:40:13 +02:00
cxl cxl: Fix refcount leak in cxl_calc_capp_routing 2023-01-18 11:41:30 +01:00
echo
eeprom eeprom: digsy_mtc: Make GPIO lookup table match the device 2025-03-13 12:43:33 +01:00
genwqe misc: genwqe: Fix incorrect cmd field being reported in error 2025-10-29 13:59:48 +01:00
habanalabs habanalabs: Call put_pid() when releasing control device 2021-03-30 14:35:22 +02:00
ibmasm misc/libmasm/module: Fix two use after free in ibmasm_init_one 2021-07-20 16:10:41 +02:00
lis3lv02d platform/x86: hp_accel: Avoid invoking _INI to speed up resume 2021-06-03 08:59:08 +02:00
lkdtm Merge tag 'ASB-2022-11-01_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2022-11-09 19:53:28 +02:00
mei mei: demote client disconnect warning on suspend to debug 2024-07-27 10:38:29 +02:00
mic misc: vop: add round_up(x,4) for vring_size to avoid kernel panic 2020-10-29 09:58:04 +01:00
ocxl misc: ocxl: fix possible name leak in ocxl_file_register_afu() 2023-01-18 11:41:23 +01:00
sgi-gru misc: sgi-gru: Don't disable preemption in GRU driver 2024-11-08 16:20:53 +01:00
sgi-xp Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
ti-st drivers/misc: ti-st: Remove unneeded variable in st_tty_open 2024-11-08 16:20:53 +01:00
vmw_vmci BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c misc: apds990x: Fix missing pm_runtime_disable() 2024-12-14 19:44:34 +01:00
apds9802als.c
atmel-ssc.c misc: atmel-ssc: Fix IRQ check in ssc_probe 2022-06-22 14:11:22 +02:00
atmel_tclib.c
bh1770glc.c
compat_qseecom.c qseecom: add compat_qseecom to support 32bit process 2020-02-06 15:46:55 -08:00
compat_qseecom.h qseecom: add compat_qseecom to support 32bit process 2020-02-06 15:46:55 -08:00
cs5535-mfgpt.c
ds1682.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
dummy-irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
enclosure.c scsi: enclosure: Fix stale device oops with hot replug 2020-01-17 19:48:42 +01:00
fastrpc.c BACKPORT: dsp-kernel: Separate overlap handling for ION and non-ION buffers 2026-05-05 20:02:22 +03:00
hdcp_qseecom.c Add hdcp_qseecom driver snapshot for Lahaina 2020-02-11 16:59:19 +05:30
hisi_hikey_usb.c ANDROID: misc: hisi_hikey_usb: Driver to support usb functionality of Hikey960 2020-03-23 22:55:17 +00:00
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c
ibmvmc.h
ics932s401.c ics932s401: fix broken handling of errors when word reading fails 2021-05-26 12:05:20 +02:00
isl29003.c
isl29020.c
Kconfig profiler: Add a communication interface between userspace and tz services 2021-04-09 09:45:42 +08:00
kgdbts.c BACKPORT: maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault 2026-01-14 18:13:21 -08:00
lattice-ecp3-config.c misc: lattice-ecp3-config: Fix task hung when firmware load failed 2022-01-27 09:19:39 +01:00
Makefile profiler: Add a communication interface between userspace and tz services 2021-04-09 09:45:42 +08:00
pch_phub.c
pci_endpoint_test.c misc: pci_endpoint_test: Fix displaying 'irq_type' after 'request_irq' error 2025-05-02 07:39:25 +02:00
phantom.c
profiler.c profiler: Add a communication interface between userspace and tz services 2021-04-09 09:45:42 +08:00
pti.c
pvpanic.c misc/pvpanic: Export module FDT device table 2021-03-17 17:03:52 +01:00
qcom-coincell.c
qseecom.c Merge tag 'LA.UM.9.14.r1-26500-LAHAINA.QSSI16.0' of https://git.codelinaro.org/clo/la/kernel/msm-5.4 into android13-5.4-lahaina 2025-11-08 16:13:44 +02:00
qseecom_kernel.h qseecom: Enable APIs only when module is enabled 2020-06-03 10:18:02 -07:00
sram-exec.c
sram.c
sram.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tifm_7xx1.c misc: tifm: fix possible memory leak in tifm_7xx1_switch_media() 2023-01-18 11:41:24 +01:00
tifm_core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tsl2550.c
uid_sys_stats.c ANDROID: uid_sys_stats: report uid_cputime stats in microseconds 2020-11-18 23:33:46 +00:00
vexpress-syscfg.c
vmw_balloon.c vmw_balloon: Fix offline page marking with compaction 2019-08-28 22:57:07 +02:00
wigig_sensing.c wigig_sensing: add SPI profiling 2020-04-26 23:17:35 -07:00
wigig_sensing.h wigig_sensing: add SPI profiling 2020-04-26 23:17:35 -07:00
xilinx_sdfec.c misc: xilinx-sdfec: improve get_user_pages_fast() error handling 2020-06-24 17:50:35 +02:00