Re: [PATCH] ARCNET: Add missing error check for devm_kzalloc

2015-02-05 Thread David Miller
From: Kiran Padwal Date: Thu, 5 Feb 2015 17:01:37 +0530 > This patch add a missing check on the return value of devm_kzalloc, > which would cause a NULL pointer dereference in a OOM situation. > > Signed-off-by: Kiran Padwal Applied, thanks. -- To unsubscribe from this list: send the line "un

[PATCH] ARCNET: Add missing error check for devm_kzalloc

2015-02-05 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal --- drivers/net/arcnet/com20020-pci.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/arcnet/com20020-pci.c b/dr