Re: -Winline in the kernel

2015-08-11 Thread Theo de Raadt
Those values should not be increased. The kernel stack should be treated like a tight resource. > I added -Winline to the kernel Makefile and got back the following 2 > warnings: > > cc1: warnings being treated as errors > ../../../../dev/pci/emuxki.c: In function 'emuxki_write_micro': > ../../.

-Winline in the kernel

2015-08-11 Thread David Hill
Hello - I added -Winline to the kernel Makefile and got back the following 2 warnings: cc1: warnings being treated as errors ../../../../dev/pci/emuxki.c: In function 'emuxki_write_micro': ../../../../dev/pci/emuxki.c:633: warning: inlining failed in call to 'emuxki_write': --param inline-unit-g