Use ARRAY_SIZE macro
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Staging: sm750fb: Use ARRAY_SIZE macrodrivers/ | +2 | 0 replies | |
| 2/3 | Staging: rtl8712: Use ARRAY_SIZE macrodrivers/ | +1 | 0 replies | |
| 3/3 | Staging: rtl8188eu: core: Use ARRAY_SIZE macrodrivers/ drivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Use ARRAY_SIZE macro
Use ARRAY_SIZE macro.
Coccinelle is used to make the changes-
@@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
Shraddha Barke (3):
Staging: sm750fb: Use ARRAY_SIZE macro
Staging: rtl8712: Use ARRAY_SIZE macro
Staging: rtl8188eu: core: Use ARRAY_SIZE macro
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/rtl8188eu/core/rtw_rf.c | 2 +- drivers/staging/rtl8712/usb_intf.c | 3 +-- drivers/staging/sm750fb/ddk750_chip.c | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-)
Signature · 1 line
2.1.4