Skip to contentSkip to conversation

char: misc: add missing blank line after declarations

PATCH New Rahul Bedarkar 1 participant 1 message Oct 11, 2014 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 char: misc: add missing blank line after declarations

---
 drivers/char/misc.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/char/misc.c +2 -0
index cb32ea9..3111e86 100644
@@ -186,6 +186,7 @@ int misc_register(struct miscdevice *misc)
 
 	if (misc->minor == MISC_DYNAMIC_MINOR) {
 		int i = find_first_zero_bit(misc_minors, DYNAMIC_MINORS);
+
 		if (i >= DYNAMIC_MINORS) {
 			err = -EBUSY;
 			goto out;
@@ -209,6 +210,7 @@ int misc_register(struct miscdevice *misc)
 					  misc, "%s", misc->name);
 	if (IS_ERR(misc->this_device)) {
 		int i = DYNAMIC_MINORS - misc->minor - 1;
+
 		if (i < DYNAMIC_MINORS && i >= 0)
 			clear_bit(i, misc_minors);
 		err = PTR_ERR(misc->this_device);
Signature · 1 line
1.8.3.2