[PATCH 6/7] mfd: omap-usb-host: Return value is not 'const int'

Arnd Bergmann arnd at arndb.de
Thu Sep 15 04:33:15 PDT 2016


On Thursday, September 15, 2016 11:45:20 AM CEST Lee Jones wrote:
> Change from 'const int' to just 'int'.
> 
> Cc: <robh+dt at kernel.org>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
> 

Looks good, I seem to have done the same thing. Also didn't submit,
so keep your version.

I tend to include the exact warning in the changelog, which here was

drivers/mfd/omap-usb-host.c:165:18: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

	Arnd




More information about the linux-arm-kernel mailing list