Re: [Suggestion] drivers: staging: dgrp: dgrp_net_ops.c: 'buf' is used without initialized.

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

 



On Tue, Dec 10, 2013 at 01:07:58PM +0800, Chen Gang wrote:
> Hello Maintainers:
> 
> The compiler help me find a warning about it, please help check thanks.
> 
> The related git commit: "b73db54 Staging: dgrp: Refactor the function
> dgrp_receive() in drrp_net_ops.c"
> 
> The related warning (with allmodconfig for metag):
> 
>     CC [M]  drivers/staging/dgrp/dgrp_net_ops.o
>   drivers/staging/dgrp/dgrp_net_ops.c: In function 'handle_data_in_packet':
>   drivers/staging/dgrp/dgrp_net_ops.c:2392: warning: 'buf' is used uninitialized in this function

Great, care to send a patch to fix this?

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