Re: [v2] libertas: check for NULL before use

2015-11-26 Thread Kalle Valo
> If kzalloc fails it will return NULL. Lets check for NULL first before > using the pointer. > > Signed-off-by: Sudip Mukherjee Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@v

[PATCH v2] libertas: check for NULL before use

2015-11-24 Thread Sudip Mukherjee
If kzalloc fails it will return NULL. Lets check for NULL first before using the pointer. Signed-off-by: Sudip Mukherjee --- v2: commit message changed drivers/net/wireless/marvell/libertas/cfg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/marvell