Re: [PATCH] em28xx: split up em28xx_dvb_init to reduce stack size

2017-12-15 Thread Arnd Bergmann
On Thu, Dec 14, 2017 at 6:10 PM, Mauro Carvalho Chehab wrote: > Em Mon, 11 Dec 2017 13:05:02 +0100 > Arnd Bergmann escreveu: > >> With CONFIG_KASAN, the init function uses a large amount of kernel stack: >> >> drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_init.part.4': >> drivers

Re: [PATCH] em28xx: split up em28xx_dvb_init to reduce stack size

2017-12-14 Thread Mauro Carvalho Chehab
Em Mon, 11 Dec 2017 13:05:02 +0100 Arnd Bergmann escreveu: > With CONFIG_KASAN, the init function uses a large amount of kernel stack: > > drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_init.part.4': > drivers/media/usb/em28xx/em28xx-dvb.c:2061:1: error: the frame size of 3232 >

[PATCH] em28xx: split up em28xx_dvb_init to reduce stack size

2017-12-11 Thread Arnd Bergmann
With CONFIG_KASAN, the init function uses a large amount of kernel stack: drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_init.part.4': drivers/media/usb/em28xx/em28xx-dvb.c:2061:1: error: the frame size of 3232 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] Using gc