From: Andrew Morton ERROR: use tabs not spaces #49: FILE: drivers/dio/dio.c:98: + for (i = 0; i < ARRAY_SIZE(names); i++)$ total: 1 errors, 0 warnings, 16 lines checked Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Alejandro Martinez Ruiz Cc: Geert Uytterhoeven Cc: Richard Knutsson Signed-off-by: Andrew Morton --- drivers/dio/dio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/dio/dio.c~dio-array_size-cleanup-update-checkpatch-fixes drivers/dio/dio.c --- a/drivers/dio/dio.c~dio-array_size-cleanup-update-checkpatch-fixes +++ a/drivers/dio/dio.c @@ -95,7 +95,7 @@ static const char *dio_getname(int id) { /* return pointer to a constant string describing the board with given ID */ unsigned int i; - for (i = 0; i < ARRAY_SIZE(names); i++) + for (i = 0; i < ARRAY_SIZE(names); i++) if (names[i].id == id) return names[i].name; _