Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1615385
| From | Varsha Rao <rvarsha016@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/5] drivers: char: Add blank line after declarations. |
| Date | 2017-04-03 18:20 +0200 |
| Message-ID | <tscRY-Lq-25@gated-at.bofh.it> (permalink) |
| References | <tscIh-GV-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add a blank line after declarations, to fix the checkpatch issue.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 3/5] drivers: char: Add blank line after declarations. Varsha Rao <rvarsha016@gmail.com> - 2017-04-03 18:20 +0200
csiph-web