From: Michal Nazarewicz Date: Mon, 2 Dec 2013 13:09:34 +0000 (+0100) Subject: net: wireless: wcn36xx: fix potential NULL pointer dereference X-Git-Tag: v3.13-rc4~3^2~64^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3469adb36c41a1fc0217802fa734d4220712e9c2;p=pandora-kernel.git net: wireless: wcn36xx: fix potential NULL pointer dereference If kmalloc fails wcn36xx_smd_rsp_process will attempt to dereference a NULL pointer. There might be a better error recovery then just printing an error, but printing an error message is better then the current behaviour. Signed-off-by: Michal Nazarewicz Signed-off-by: John W. Linville --- Reading git-diff-tree failed