Re: [staging:staging-testing 217/217] drivers/staging/nvec/nvec_power.c:361:10: warning: 'return' with a value, in function returning void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 02, 2018 at 05:21:42AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
> head:   501b9cb070bc35073f4195b58e74098a9d31375c
> commit: 501b9cb070bc35073f4195b58e74098a9d31375c [217/217] staging: nvec: add error checking to nvec_event
> config: arm-multi_v7_defconfig (attached as .config)
> compiler: arm-linux-gnueabi-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 501b9cb070bc35073f4195b58e74098a9d31375c
>         # save the attached .config to linux build tree
>         make.cross ARCH=arm 
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/staging/nvec/nvec_power.c: In function 'nvec_power_poll':
> >> drivers/staging/nvec/nvec_power.c:361:10: warning: 'return' with a value, in function returning void
>       return err;
>              ^~~
>    drivers/staging/nvec/nvec_power.c:348:13: note: declared here
>     static void nvec_power_poll(struct work_struct *work)
>                 ^~~~~~~~~~~~~~~

Thomas, I've now dropped this patch, please fix up and resend.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux