linux/drivers/net/wireless/brcm80211/brcmfmac
Arend van Spriel 5af47fb394 brcmfmac: fix sparse error 'bad constant expression'
The definition of BRCMF_EVENTING_MASK_LEN results in a sparse
error message

.../fweh.c:331:22: error: bad constant expression
.../fweh.c:388:22: error: bad constant expression
.../dhd_common.c:256:22: error: bad constant expression

This is caused by the use of roundup() in BRCMF_EVENTING_MASK_LEN
and it is used to allocate an array variable on the stack. Better
use DIV_ROUND_UP() macro.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-10-03 16:24:25 -04:00
..
bcmsdh_sdmmc.c brcmfmac: add BCM4339 SDIO interface support 2013-10-03 16:24:24 -04:00
bcmsdh.c brcmfmac: abstract tx packet processing functions 2013-08-15 16:07:55 -04:00
btcoex.c brcmfmac: support critical protocol API for DHCP 2013-04-23 14:16:52 -04:00
btcoex.h brcmfmac: support critical protocol API for DHCP 2013-04-23 14:16:52 -04:00
dhd_bus.h brcmfmac: remove align from brcmf_bus structure 2013-08-15 16:07:55 -04:00
dhd_cdc.c brcmfmac: add trace event for capturing BDC header 2013-06-12 15:06:24 -04:00
dhd_common.c brcmfmac: Turn off ARP offloading when configured for AP. 2013-05-28 13:43:08 -04:00
dhd_dbg.c PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
dhd_dbg.h brcmfmac: add debugfs statistics for firmware-signalling 2013-06-12 15:07:44 -04:00
dhd_linux.c brcmfmac: always use worker thread for tx data. 2013-08-15 16:07:53 -04:00
dhd_proto.h brcmfmac: add parameter to brcmf_proto_hdrpush() for data offset 2013-03-06 16:28:50 -05:00
dhd_sdio.c brcmfmac: reserve memory for bus layer in sk_buff::cb 2013-10-03 16:24:25 -04:00
dhd.h brcmfmac: sync firmware event list 2013-10-03 16:24:23 -04:00
fweh.c brcmfmac: ignore IF event if firmware indicates it 2013-08-15 16:07:54 -04:00
fweh.h brcmfmac: fix sparse error 'bad constant expression' 2013-10-03 16:24:25 -04:00
fwil_types.h brcmfmac: add support for manual TDLS operations 2013-08-15 16:07:54 -04:00
fwil.c brcmfmac: add hexadecimal trace of message payload 2013-04-08 15:28:43 -04:00
fwil.h
fwsignal.c brcmfmac: reserve memory for bus layer in sk_buff::cb 2013-10-03 16:24:25 -04:00
fwsignal.h brcmfmac: Take bus flowcontrol at credit mgmt into account. 2013-06-12 15:02:16 -04:00
Makefile brcmfmac: support critical protocol API for DHCP 2013-04-23 14:16:52 -04:00
p2p.c cfg80211: add flags to cfg80211_rx_mgmt() 2013-08-23 16:06:03 +02:00
p2p.h brcmfmac: Add tx p2p off-channel support. 2013-02-08 14:51:43 -05:00
sdio_chip.c brcmfmac: add valid core index check in related functions 2013-10-03 16:24:24 -04:00
sdio_chip.h brcmfmac: add BCM4339 SDIO interface support 2013-10-03 16:24:24 -04:00
sdio_host.h brcmfmac: abstract tx packet processing functions 2013-08-15 16:07:55 -04:00
tracepoint.c brcmfmac: introduce tracepoints for message logging 2013-03-06 16:28:31 -05:00
tracepoint.h brcmfmac: add trace event for capturing BDC header 2013-06-12 15:06:24 -04:00
usb_rdl.h
usb.c brcmfmac: .txdata() bus callback should not call brcmf_txcomplete() 2013-08-15 16:07:52 -04:00
usb.h brcmfmac: usb suspend/resume. 2012-11-16 14:28:47 -05:00
wl_cfg80211.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-08-16 14:24:51 -04:00
wl_cfg80211.h brcmfmac: add additional parameter to brcmf_free_vif() 2013-05-28 13:43:09 -04:00