Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: new warnings from partial __devexit removal | Date | Tue, 27 Nov 2012 09:01:33 +0000 |
| |
On Monday 26 November 2012, gregkh@linuxfoundation.org wrote: > On Mon, Nov 26, 2012 at 08:38:32PM +0000, Arnd Bergmann wrote: > > This is probably known and fixed already, but in case it's not, let me just > > mention that I saw two new warnings with ARM allyesconfig about a > > __devexit being removed but the __devexit_p() still being there: > > > > drivers/tty/serial/xilinx_uartps.c:1000:12: error: 'xuartps_remove' defined but not used [-Werror=unused-function] > > drivers/usb/gadget/mv_udc_core.c:2131:12: error: 'mv_udc_remove' defined but not used [-Werror=unused-function] > > What platform has -Werror=unused-function set?
My test script to check if any new warnings have come in sets -Werror.
I have a git branch that has workarounds for all known gcc warnings on ARM, so one of my tests after merging stuff is to pull that one into my for-next branch and build all defconfigs and all{yes,no,mod}config.
Arnd
| |