[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210218212738.105097-1-h.shahbazi.git@gmail.com>
Date: Thu, 18 Feb 2021 23:27:39 +0200
From: Hassan Shahbazi <h.shahbazi.git@...il.com>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
Hassan Shahbazi <h.shahbazi.git@...il.com>
Subject: [PATCH] lib: genalloc: fix warning generated by checkpatch
Add missing blank line after declarations.
Signed-off-by: Hassan Shahbazi <h.shahbazi.git@...il.com>
---
lib/genalloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/genalloc.c b/lib/genalloc.c
index dab97bb69df6..3e901fd93b00 100644
--- a/lib/genalloc.c
+++ b/lib/genalloc.c
@@ -757,6 +757,7 @@ unsigned long gen_pool_best_fit(unsigned long *map, unsigned long size,
while (index < size) {
unsigned long next_bit = find_next_bit(map, size, index + nr);
+
if ((next_bit - index) < len) {
len = next_bit - index;
start_bit = index;
--
2.26.2
Powered by blists - more mailing lists