[PATCH] staging: fsl-mc: fix uninitialized variable use

Greg KH gregkh at linuxfoundation.org
Mon Nov 27 01:08:17 PST 2017


On Mon, Nov 27, 2017 at 11:01:34AM +0200, laurentiu.tudor at nxp.com wrote:
> From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
> 
> Fix this warning triggering on a powerpc build:
> warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 
> Signed-off-by: Laurentiu Tudor <laurentiu.tudor at nxp.com>
> ---

You forgot a reported-by line :(

And I beat you by about 30 minutes to this patch, sorry about that.

Next time always test-build your patches...

thanks,

greg k-h



More information about the linux-arm-kernel mailing list