2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-26 23:55:40 +08:00
linux-next/drivers/net/wireless/brcm80211/brcmfmac
Arend van Spriel 2315992c2a brcm80211: fmac: resolve smatch issues in brcmfmac code
This patch resolves the following smatch issues:

wl_cfg80211.c +1377 brcmf_cfg80211_connect(65) warn: min_t truncates
here '(sme->ssid_len)' (4294967295 vs 9223372036854775807)
dhd_sdio.c +1275 brcmf_sdbrcm_rxglom(156) warn: min_t truncates here
'(pfirst->len)' (2147483647 vs 4294967295)
dhd_sdio.c +1457 brcmf_sdbrcm_rxglom(338) warn: min_t truncates here
'(pfirst->len)' (2147483647 vs 4294967295)
bcmsdh_sdmmc.c +300 brcmf_sdioh_request_buffer(10) warn: variable
dereferenced before check 'pkt' (see line 295)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-02-22 14:48:51 -05:00
..
bcmsdh_sdmmc.c brcm80211: fmac: resolve smatch issues in brcmfmac code 2012-02-22 14:48:51 -05:00
bcmsdh.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
dhd_bus.h brcm80211: fmac: abstract ctrl frames interface function pointers 2011-12-19 14:40:47 -05:00
dhd_cdc.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
dhd_common.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
dhd_dbg.h brcm80211: Add and use brcmX_dbg_dump_hex 2012-01-24 14:21:13 -05:00
dhd_linux.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
dhd_proto.h brcm80211: fmac: move common layer bus interface context to dhd_bus.h 2011-12-19 14:40:46 -05:00
dhd_sdio.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
dhd.h brcm80211: Use normal DEBUG define 2012-01-24 14:21:13 -05:00
Makefile brcm80211: fmac: add Kconfig option for SDIO bus support 2011-12-19 14:40:48 -05:00
sdio_chip.c brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00
sdio_chip.h brcm80211: fmac: add resetcore function for bcm4330 chip 2011-11-11 14:28:37 -05:00
sdio_host.h brcm80211: fmac: move sdio related macros to sdio_host.h 2011-12-19 14:40:46 -05:00
wl_cfg80211.c brcm80211: fmac: resolve smatch issues in brcmfmac code 2012-02-22 14:48:51 -05:00
wl_cfg80211.h brcm80211: Use pr_fmt and pr_<level> 2012-01-24 14:21:14 -05:00