Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1615369 > unrolled thread
| Started by | Varsha Rao <rvarsha016@gmail.com> |
|---|---|
| First post | 2017-04-03 18:10 +0200 |
| Last post | 2017-04-03 18:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 2/5] drivers: char: Add space after ','. Varsha Rao <rvarsha016@gmail.com> - 2017-04-03 18:10 +0200
| From | Varsha Rao <rvarsha016@gmail.com> |
|---|---|
| Date | 2017-04-03 18:10 +0200 |
| Subject | [PATCH 2/5] drivers: char: Add space after ','. |
| Message-ID | <tscIi-GV-9@gated-at.bofh.it> |
Add space which is required after ',' to follow Linux coding style. This patch fixes the checkpatch issue. Signed-off-by: Varsha Rao <rvarsha016@gmail.com> --- drivers/char/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/misc.c b/drivers/char/misc.c index ed8f79c..3a19fa3 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c @@ -150,7 +150,7 @@ static int misc_open(struct inode *inode, struct file *file) err = 0; replace_fops(file, new_fops); if (file->f_op->open) - err = file->f_op->open(inode,file); + err = file->f_op->open(inode, file); fail: mutex_unlock(&misc_mtx); return err; @@ -287,7 +287,7 @@ static int __init misc_init(void) goto fail_remove; err = -EIO; - if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) + if (register_chrdev(MISC_MAJOR, "misc", &misc_fops)) goto fail_printk; misc_class->devnode = misc_devnode; return 0; -- 2.9.3
Back to top | Article view | linux.kernel
csiph-web