summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorBorislav Petkov <bp@alien8.de>2022-04-05 18:55:37 +0200
committerKalle Valo <kvalo@kernel.org>2022-04-10 15:20:38 +0300
commit6fb3a5868b2117611f41e421e10e6a8c2a13039a (patch)
tree2088156daa896582e31fe1e4cc0087910acedc44 /certs
parentdbc2b1764734857d68425468ffa8486e97ab89df (diff)
brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
Fix: drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function ‘brcmf_sdio_drivestrengthinit’: drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:3798:2: error: case label does not reduce to an integer constant case SDIOD_DRVSTR_KEY(BRCM_CC_43143_CHIP_ID, 17): ^~~~ drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:3809:2: error: case label does not reduce to an integer constant case SDIOD_DRVSTR_KEY(BRCM_CC_43362_CHIP_ID, 13): ^~~~ See https://lore.kernel.org/r/YkwQ6%2BtIH8GQpuct@zn.tnic for the gory details as to why it triggers with older gccs only. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Arend van Spriel <aspriel@gmail.com> Cc: Franky Lin <franky.lin@broadcom.com> Cc: Hante Meuleman <hante.meuleman@broadcom.com> Cc: Kalle Valo <kvalo@kernel.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: brcm80211-dev-list.pdl@broadcom.com Cc: netdev@vger.kernel.org Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/Ykx0iRlvtBnKqtbG@zn.tnic
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions