diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-02 17:53:07 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-03-03 13:21:48 +0300 |
commit | 371d1143a5581718f7c687e4da259f80ab0c4634 (patch) | |
tree | 9bbd46210f7c48ef8e64d88cd9a2979a446feda5 /drivers/dax/Kconfig | |
parent | 4063987c9bb419bb14d83b9ad812ad3d6a3c65e4 (diff) | |
download | linux-371d1143a5581718f7c687e4da259f80ab0c4634.tar.xz |
[media] mxl111sf: reduce stack usage in init function
mxl111sf uses a lot of kernel stack memory as it puts an i2c_client
structure on the stack:
drivers/media/usb/dvb-usb-v2/mxl111sf.c: In function 'mxl111sf_init':
drivers/media/usb/dvb-usb-v2/mxl111sf.c:953:1: error: the frame size of 1248 bytes is larger than 1152 bytes [-Werror=frame-larger-than=]
We can avoid doing this by open-coding the call to i2c_transfer()
instead of calling tveeprom_read(), and not passing an i2c_client
pointer to tveeprom_hauppauge_analog(), which would ignore that
anyway.
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 'drivers/dax/Kconfig')
0 files changed, 0 insertions, 0 deletions