[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]

 



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


Thanks.
-- 
Chen Gang

Open, share, and attitude like air, water and life which God blessed
_______________________________________________
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