kernel-fxtec-pro1x/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
..
caif_hsi.c
caif_serial.c
caif_spi.c net: caif: check return value of alloc_netdev 2015-11-09 11:31:13 -05:00
caif_spi_slave.c
caif_virtio.c
Kconfig
Makefile