summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-02-02 17:53:06 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-03-03 13:21:00 +0300
commit4063987c9bb419bb14d83b9ad812ad3d6a3c65e4 (patch)
treef5e121f432d84558cf0a1d9e368825c1776a0be2 /include/uapi/linux
parent6830733d53a4517588e56227b9c8538633f0c496 (diff)
downloadlinux-4063987c9bb419bb14d83b9ad812ad3d6a3c65e4.tar.xz
[media] cx231xx-i2c: reduce stack size in bus scan
The cx231xx_do_i2c_scan function needs a lot of stack because it puts an i2c_client structure on it: drivers/media/usb/cx231xx/cx231xx-i2c.c: In function 'cx231xx_do_i2c_scan': drivers/media/usb/cx231xx/cx231xx-i2c.c:518:1: error: the frame size of 1248 bytes is larger than 1152 bytes [-Werror=frame-larger-than=] This changes it to call i2c_transfer() directly instead, avoiding the need for the structure. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions