On Mon, 2016-01-25 at 20:22 +0000, Hugo Camboulive wrote:
> alloc_etherdev() calls alloc_netdev_mqs(), which
> already uses kzalloc/vzalloc.
> 
> This clears a sparse warning :
> drivers/staging/unisys/visornic/visornic_main.c:1366:15: warning:
> memset with byte count of 1460112
> 
> Signed-off-by: Hugo Camboulive <[email protected]>

Tested, works fine. :)

Signed-off-by: Benjamin Romer <[email protected]>
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to