Re: [PATCH] staging: atomisp: reduce kernel stack usage

2021-02-26 Thread Andy Shevchenko
On Fri, Feb 26, 2021 at 03:05:02PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The atomisp_set_fmt() function has multiple copies of the large > v4l2_format structure on its stack, resulting in a warning about > excessive stack usage in some rare randconfig builds. > > drivers/staging/

[PATCH] staging: atomisp: reduce kernel stack usage

2021-02-26 Thread Arnd Bergmann
From: Arnd Bergmann The atomisp_set_fmt() function has multiple copies of the large v4l2_format structure on its stack, resulting in a warning about excessive stack usage in some rare randconfig builds. drivers/staging/media/atomisp/pci/atomisp_cmd.c:5600:5: error: stack frame size of 1084 byte