From: Kiran Padwal Date: Thu, 5 Feb 2015 11:31:37 +0000 (+0530) Subject: ARCNET: Add missing error check for devm_kzalloc X-Git-Tag: fixes-v4.0-rc1~150^2~3^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8a308affcd79d95dad111f7872e43e9f73abb3b;p=pandora-kernel.git ARCNET: Add missing error check for devm_kzalloc 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed