Messages in this thread Patch in this message | | | From | Aleksa Vučković <> | Subject | [PATCH 7/7] drivers: Missing a blank line after declarations | Date | Thu, 27 Jan 2022 14:50:54 +0100 |
| |
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@gmail.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
| |