Tag: e525e7a63ba4b544f47fe57a3ed3480af288f8eb

Staging: rtl8188eu: core: Use ARRAY_SIZE macro

Author: Shraddha Barke <shraddha.6596@gmail.com> ARRAY_SIZE is more concise to use when the size of an array is divided by the size of its type. Changes made using Coccinelle- @@ type T; T[] E; @@ – (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/rtl8188eu/core/rtw_rf.c | 2 +- 2 files …

Continue reading