Tag: eef6c808d3828d55334023c13c96e1ca5cd1008b

Staging: rtl8712: 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/rtl8712/usb_intf.c | 3 +– 1 file changed, 1 insertion(+), 2 …

Continue reading