summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-05-02 10:57:12 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-10 15:14:01 -0700
commitff1259b38e88824ec1c8208091e475c55d6f8204 (patch)
treea7a64b39aa32f639f5123d54da13c6e235348d9f /scripts/patch-kernel
parent78ece44dc6d8c93e1f5ba4b87a20a7ea08d7a6be (diff)
USB: gadget: Implement COMPAT_IOCTL for ioctls
32-bit userspace calling into 64-bit kernel cause different ioctl codes to get generated. The different ioctl code gets generated because sizeof is used on mtp and accessory structures which is different for 32/64 compilation. Because of this, 64-bit kernel can never execute the right ioctl command. Implement compat_ioctl to handle such execution environment. Change-Id: I26cc10986e28a28eab6f3c65f28f4d2b808112d9 Signed-off-by: Sujeet Kumar <ksujeet@codeaurora.org> Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions