From aafce7bc5908205c9169a9a362e1c5a46b4d2cf2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksa=20Vu=C4=8Dkovi=C4=87?= Date: Thu, 27 Jan 2022 14:50:54 +0100 Subject: [PATCH] drivers: dio: Missing a blank line after declarations MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch fixes the checkpatch.pl error: < WARNING: Missing a blank line after declarations < #97: FILE: drivers/dio/dio.c:97: < + unsigned int i; < + for (i = 0; i < ARRAY_SIZE(names); i++) Signed-off-by: Aleksa Vučković Link: https://lore.kernel.org/r/20220127135054.27281-7-aleksav013@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/dio/dio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dio/dio.c b/drivers/dio/dio.c index 36ffa3c..005a82f 100644 --- a/drivers/dio/dio.c +++ b/drivers/dio/dio.c @@ -94,6 +94,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++) if (names[i].id == id) return names[i].name; -- 2.7.4