Tag: d6b81daaa2afaa17d39b34e36ca17bc6062b4bc5

brcmsmac: use ARRAY_SIZE in phytbl_lcn.c

Author: Arend van Spriel <arend@broadcom.com> This patch converts all sizeof(x)/sizeof(x[0]) instances to ARRAY_SIZE macro in phytbl_lcn.c. The patch was made using spatch with ARRAY_SIZE.cocci (see [1]). [1] https://github.com/coccinelle/coccinelle/tree/master/demos/janitorings Cc: Jonas Gorski Tested-by: David Herrmann Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville — …/wireless/brcm80211/brcmsmac/phy/phytbl_lcn.c | 117 ++++++++————- 1 file …

Continue reading