Tag: f60c265159e832ae389f3ab1acf9343d9e86a19a

Staging: speakup: 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 or the size of its first element. 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/speakup/i18n.c | 2 …

Continue reading