From: Dan Carpenter Date: Fri, 28 Nov 2014 09:43:40 +0000 (+0300) Subject: brcmsmac: NULL dereferences in brcms_c_detach_mfree() X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~28^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0fb754bd81fafcd63644d5482ba9669d3e4fe9c;p=pandora-kernel.git brcmsmac: NULL dereferences in brcms_c_detach_mfree() The brcms_c_attach_malloc() function can call this with a NULL "wlc->corestate" or "wlc->hw". Also I threw in a bonus cleanup by deleting an obvious comment and a no-op NULL assignment. :) Signed-off-by: Dan Carpenter Acked-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed