Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1615368 > unrolled thread

[PATCH 1/5] drivers: char: Replace "foo * bar" with "foo *bar".

Started byVarsha Rao <rvarsha016@gmail.com>
First post2017-04-03 18:10 +0200
Last post2017-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.


Contents

  [PATCH 1/5] drivers: char: Replace "foo * bar" with "foo *bar". Varsha Rao <rvarsha016@gmail.com> - 2017-04-03 18:10 +0200

#1615368 — [PATCH 1/5] drivers: char: Replace "foo * bar" with "foo *bar".

FromVarsha Rao <rvarsha016@gmail.com>
Date2017-04-03 18:10 +0200
Subject[PATCH 1/5] drivers: char: Replace "foo * bar" with "foo *bar".
Message-ID<tscIh-GV-1@gated-at.bofh.it>
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@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 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web