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