Re: [PATCH 1/3] media: saa7146: avoid high stack usage with clang

2019-02-19 Thread Nick Desaulniers
On Tue, Feb 19, 2019 at 9:02 AM Arnd Bergmann wrote: > > Two saa7146/hexium files contain a construct that causes a warning > when built with clang: > > drivers/media/pci/saa7146/hexium_orion.c:210:12: error: stack frame size of > 2272 bytes in function 'hexium_probe' > [-Werror,-Wframe-lar

[PATCH 1/3] media: saa7146: avoid high stack usage with clang

2019-02-19 Thread Arnd Bergmann
Two saa7146/hexium files contain a construct that causes a warning when built with clang: drivers/media/pci/saa7146/hexium_orion.c:210:12: error: stack frame size of 2272 bytes in function 'hexium_probe' [-Werror,-Wframe-larger-than=] static int hexium_probe(struct saa7146_dev *dev)