From: Arend van Spriel Date: Thu, 9 Feb 2012 20:08:59 +0000 (+0100) Subject: brcm80211: smac: remove smatch warnings from brcmsmac code X-Git-Tag: v3.4-rc1~177^2~108^2~39^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=137dabed34a13f90e068327b98329331367c9b46;p=pandora-kernel.git brcm80211: smac: remove smatch warnings from brcmsmac code The patch fixes following smatch warnings: main.c +2902 brcms_b_read_objmem(11) info: ignoring unreachable code. mac80211_if.c +1146 brcms_suspend(8) error: we previously assumed 'wl' could be null (see line 1145) srom.c +641 _initvars_srom_pci(16) error: potential null dereference 'entry'. (kzalloc returns null) Reported-by: Dan Carpenter Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Alwin Beukers Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed