[staging:staging-testing 104/105] drivers/staging//fsl-mc/bus/fsl-mc-bus.c:663:9: warning: 'error' may be used uninitialized in this function

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Nov 24 17:02:08 UTC 2017


On Sat, Nov 25, 2017 at 01:01:18AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
> head:   f3145c023966af8e207b6b3cdb6187c35e7f9e95
> commit: 657582b9e91728b91307ef6ba6f069ed0b67c7b4 [104/105] staging: fsl-mc: add support for device type
> config: powerpc-allyesconfig (attached as .config)
> compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 657582b9e91728b91307ef6ba6f069ed0b67c7b4
>         # save the attached .config to linux build tree
>         make.cross ARCH=powerpc 
> 
> Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
> http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

Looks like a real warning, Laurentiu, can you provide a patch to fix
this?

thanks,

greg k-h


More information about the devel mailing list