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

From: Arnd Bergmann
Date: Thu Sep 15 2016 - 07:33:47 EST


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

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