summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarsha Rao <rvarsha016@gmail.com>2017-04-07 14:32:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 18:53:06 +0300
commit5b884a95a5561c9ccea7b5cdf6a2fe9b48b589f5 (patch)
tree6b5fbdda124491d2fde6a85cdf0b7061485c7e41
parent50a5e314792a4edbd64b1156ad4112480189a8dd (diff)
downloadlinux-5b884a95a5561c9ccea7b5cdf6a2fe9b48b589f5.tar.xz
drivers: char: misc: Add blank line after declaration.
Add a blank line after declaration, to fix the checkpatch issue. Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/char/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 3a19fa3269ff..1312e29deb00 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;