Skip to contentSkip to conversation

lib: genalloc: fix warning generated by checkpatch

PATCH New Hassan Shahbazi 1 participant 1 message Feb 21, 2021 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: genalloc: fix warning generated by checkpatch

Add missing blank line after declarations.

---
 lib/genalloc.c | 1 +
 1 file changed, 1 insertion(+)
lib/genalloc.c +1 -0
index dab97bb69df6..3e901fd93b00 100644
@@ -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;
Signature · 6 lines
2.26.2

_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees