linux/include
Daniel Vetter 97fd895541 UPSTREAM: dma-buf: Fix SET_NAME ioctl uapi
The uapi is the same on 32 and 64 bit, but the number isn't. Everyone
who botched this please re-read:

https://www.kernel.org/doc/html/v5.4-preprc-cpu/ioctl/botching-up-ioctls.html

Also, the type argument for the ioctl macros is for the type the void
__user *arg pointer points at, which in this case would be the
variable-sized char[] of a 0 terminated string. So this was botched in
more than just the usual ways.

Change-Id: Iaffffa806de8f6f10cd167881bb63fdabd6724a2
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Chenbo Feng <fengc@google.com>
Cc: Greg Hackmann <ghackmann@google.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Cc: minchan@kernel.org
Cc: surenb@google.com
Cc: jenhaochen@google.com
Cc: Martin Liu <liumartin@google.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Tested-by: Martin Liu <liumartin@google.com>
Reviewed-by: Martin Liu <liumartin@google.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
  [sumits: updated some checkpatch fixes, corrected author email]
Link: https://patchwork.freedesktop.org/patch/msgid/20200407133002.3486387-1-daniel.vetter@ffwll.ch
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit a5bff92eaa)
2021-01-06 18:13:00 +08:00
..
acpi x86: ACPI: fix CPU hotplug deadlock 2020-04-23 10:30:20 +02:00
asm-generic Merge tag 'ASB-2020-12-05_4.19-stable' of https://android.googlesource.com/kernel/common 2020-12-29 16:10:48 +08:00
clocksource ANDROID: GKI: drivers: clksource: Add API to return cval 2020-04-02 23:32:47 +00:00
crypto UPSTREAM: crypto: x86/chacha-sse3 - use unaligned loads for state array 2020-10-25 11:48:06 +01:00
drm Revert "drm/atomic_helper: Stop modesets on unregistered connectors harder" 2020-12-03 14:58:52 +01:00
dt-bindings UPSTREAM: dt-bindings: phy: Add PHY_TYPE_QSGMII definition 2021-01-04 09:38:45 +08:00
keys KEYS: Don't write out to userspace while holding key semaphore 2020-04-23 10:30:24 +02:00
kvm
linux firmware: rockchip_sip: add sip macro for scmi 2020-12-30 17:32:22 +08:00
math-emu
media Revert "HACK: media: videobuf2: allow cache hints on all memory types" 2020-12-17 14:58:08 +08:00
memory
misc
net This is the 4.19.160 stable release 2020-11-24 14:57:17 +01:00
pcmcia
ras
rdma RDMA/core: Fix double destruction of uobject 2020-06-03 08:19:43 +02:00
scsi Merge 4.19.161 into android-4.19-stable 2020-12-03 10:10:00 +01:00
soc PM / devfreq: rockchip_dmc: add support for rk3568 2020-12-22 15:37:47 +08:00
sound ASoC: rockchip: Add support for Voice Activity Detection 2020-11-13 17:07:49 +08:00
target scsi: target: fix hang when multiple threads try to destroy the same iscsi session 2020-04-21 09:03:11 +02:00
trace UPSTREAM: include: trace: Add SCMI header with trace events 2020-12-22 15:54:10 +08:00
uapi UPSTREAM: dma-buf: Fix SET_NAME ioctl uapi 2021-01-06 18:13:00 +08:00
vdso UPSTREAM: vdso: Remove superfluous #ifdef __KERNEL__ in vdso/datapage.h 2020-11-16 09:22:35 +01:00
video
xen xen/events: add a new "late EOI" evtchn framework 2020-11-05 11:08:36 +01:00