1
0
Fork 0
alistair23-linux/drivers/staging/wfx
Pankaj Bharadiya c593642c8b treewide: Use sizeof_field() macro
Replace all the occurrences of FIELD_SIZEOF() with sizeof_field() except
at places where these are defined. Later patches will remove the unused
definition of FIELD_SIZEOF().

This patch is generated using following script:

EXCLUDE_FILES="include/linux/stddef.h|include/linux/kernel.h"

git grep -l -e "\bFIELD_SIZEOF\b" | while read file;
do

	if [[ "$file" =~ $EXCLUDE_FILES ]]; then
		continue
	fi
	sed -i  -e 's/\bFIELD_SIZEOF\b/sizeof_field/g' $file;
done

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Link: https://lore.kernel.org/r/20190924105839.110713-3-pankaj.laxminarayan.bharadiya@intel.com
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: David Miller <davem@davemloft.net> # for net
2019-12-09 10:36:44 -08:00
..
Documentation/devicetree/bindings/net/wireless staging: wfx: fix spelling mistake "hexdecimal" -> "hexadecimal" 2019-10-08 14:46:21 +02:00
Kconfig staging: wfx: fix CONFIG_MMC=m with CONFIG_WFX=y 2019-10-26 20:42:32 +02:00
Makefile staging: wfx: implement 802.11 key handling 2019-10-04 10:48:54 +02:00
TODO staging: wfx: drop module version 2019-10-26 20:41:17 +02:00
bh.c staging: wfx: replace uintXX_t to uXX and intXX_t to sXX 2019-11-11 15:56:51 +01:00
bh.h staging: wfx: add IRQ handling 2019-10-04 10:43:40 +02:00
bus.h staging: wfx: fix warning of line over 80 characters 2019-10-26 20:43:46 +02:00
bus_sdio.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
bus_spi.c staging: wfx: fix warning of line over 80 characters 2019-10-26 20:43:46 +02:00
data_rx.c staging: wfx: fix warnings of alignment should match open parenthesis 2019-10-26 20:43:47 +02:00
data_rx.h staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
data_tx.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
data_tx.h staging: wfx: replace uintXX_t to uXX and intXX_t to sXX 2019-11-11 15:56:51 +01:00
debug.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
debug.h staging: wfx: allow to send commands to chip 2019-10-04 10:46:10 +02:00
fwio.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
fwio.h staging: wfx: load firmware 2019-10-04 10:43:39 +02:00
hif_api_cmd.h staging: wfx: replace uintXX_t to uXX and intXX_t to sXX 2019-11-11 15:56:51 +01:00
hif_api_general.h staging: wfx: replace uintXX_t to uXX and intXX_t to sXX 2019-11-11 15:56:51 +01:00
hif_api_mib.h staging: wfx: replace uintXX_t to uXX and intXX_t to sXX 2019-11-11 15:56:51 +01:00
hif_rx.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
hif_rx.h staging: wfx: add support for start-up indication 2019-10-04 10:46:09 +02:00
hif_tx.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
hif_tx.h staging: wfx: replace uintXX_t to uXX and intXX_t to sXX 2019-11-11 15:56:51 +01:00
hif_tx_mib.h staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
hwio.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
hwio.h staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
key.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
key.h staging: wfx: implement 802.11 key handling 2019-10-04 10:48:54 +02:00
main.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
main.h staging: wfx: relocate wfx_fill_sl_key() in secure_link.h 2019-10-26 20:42:31 +02:00
queue.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
queue.h staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
scan.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
scan.h staging: wfx: allow to scan networks 2019-10-04 10:48:53 +02:00
secure_link.h staging: wfx: replace uintXX_t to uXX and intXX_t to sXX 2019-11-11 15:56:51 +01:00
sta.c staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
sta.h staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
traces.h staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00
wfx.h staging: align to fix warnings of line over 80 characters 2019-11-14 11:10:48 +08:00