2017-04-03 16:11:16

by Varsha Rao

[permalink] [raw]
Subject: [PATCH 3/5] drivers: char: Add blank line after declarations.

Add a blank line after declarations, to fix the checkpatch issue.

Signed-off-by: Varsha Rao <[email protected]>
---
drivers/char/misc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 3a19fa3..1312e29 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
@@ -194,6 +194,7 @@ int misc_register(struct miscdevice *misc)

if (is_dynamic) {
int i = find_first_zero_bit(misc_minors, DYNAMIC_MINORS);
+
if (i >= DYNAMIC_MINORS) {
err = -EBUSY;
goto out;
--
2.9.3