[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220127135054.27281-7-aleksav013@gmail.com>
Date: Thu, 27 Jan 2022 14:50:54 +0100
From: Aleksa Vučković <aleksav013@...il.com>
To: gregkh@...uxfoundation.org
Cc: salah.triki@...il.com, linux-kernel@...r.kernel.org,
Aleksa Vučković <aleksav013@...il.com>
Subject: [PATCH 7/7] drivers: Missing a blank line after declarations
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ć <aleksav013@...il.com>
---
drivers/dio/dio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dio/dio.c b/drivers/dio/dio.c
index 36ffa3c839f5..005a82f671c3 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.35.0
Powered by blists - more mailing lists