[<prev] [next>] [day] [month] [year] [list]
Message-ID: <58e2739d.9561630a.e3725.c55c@mx.google.com>
Date: Mon, 3 Apr 2017 21:38:57 +0530
From: Varsha Rao <rvarsha016@...il.com>
To: Matthew Wilcox <mawilcox@...rosoft.com>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 1/5] drivers: char: Replace "foo * bar" with "foo *bar".
Remove space after * in pointer type, to follow Linux coding style. This
patch fixes the following checkpatch issue:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Varsha Rao <rvarsha016@...il.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 8069b36..ed8f79c 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
@@ -109,7 +109,7 @@ static const struct file_operations misc_proc_fops = {
};
#endif
-static int misc_open(struct inode * inode, struct file * file)
+static int misc_open(struct inode *inode, struct file *file)
{
int minor = iminor(inode);
struct miscdevice *c;
@@ -182,7 +182,7 @@ static const struct file_operations misc_fops = {
* failure.
*/
-int misc_register(struct miscdevice * misc)
+int misc_register(struct miscdevice *misc)
{
dev_t dev;
int err = 0;
--
2.9.3
Powered by blists - more mailing lists