diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-04-07 13:32:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 17:53:06 +0200 |
commit | 5b884a95a5561c9ccea7b5cdf6a2fe9b48b589f5 (patch) | |
tree | 6b5fbdda124491d2fde6a85cdf0b7061485c7e41 | |
parent | drivers: char: misc: Add space after ','. (diff) | |
download | linux-5b884a95a5561c9ccea7b5cdf6a2fe9b48b589f5.tar.xz linux-5b884a95a5561c9ccea7b5cdf6a2fe9b48b589f5.zip |
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.c | 1 |
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; |