linux/drivers/net/caif
Rasmus Villemoes cfb76d77c0 net: caif: check return value of alloc_netdev
I don't know if dev can actually be NULL here, but the test should be
above alloc_netdev(), to avoid leaking the struct net_device in case
dev is actually NULL. And of course the return value from alloc_netdev
should be tested.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-09 11:31:13 -05:00
..
Kconfig caif: CAIF_VIRTIO should depend on HAS_DMA 2013-05-11 16:28:24 -07:00
Makefile Lots of virtio work which wasn't quite ready for last merge window. Plus 2013-05-02 14:14:04 -07:00
caif_hsi.c net: caif: convert to using IFF_NO_QUEUE 2015-08-18 11:55:07 -07:00
caif_serial.c net: caif: convert to using IFF_NO_QUEUE 2015-08-18 11:55:07 -07:00
caif_spi.c net: caif: check return value of alloc_netdev 2015-11-09 11:31:13 -05:00
caif_spi_slave.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
caif_virtio.c caif: Fix napi poll list corruption 2014-12-22 16:34:39 -05:00