From: Arend van Spriel Date: Sat, 9 Jun 2012 20:51:42 +0000 (+0200) Subject: brcmsmac: fix smatch warning found in ampdu.c X-Git-Tag: v3.6-rc1~125^2~57^2~314 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e16e8ee3a14b59366d25f075926da3ca5d03d11;p=pandora-kernel.git brcmsmac: fix smatch warning found in ampdu.c This patch fixes potential NULL pointer dereference in ampdu. This was found running smatch static code checker. Smatch warning says: drivers/net/wireless/brcm80211/brcmsmac/ampdu.c:741 brcms_c_sendampdu() warn: variable dereferenced before check 'p' Reported-by: Dan Carpenter Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed