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


Groups > linux.kernel > #1462187

[PATCH 2/7] befs: fix style issues in inode.c

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Luis de Bethencourt <luisbg@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH 2/7] befs: fix style issues in inode.c
Date Sun, 14 Aug 2016 20:00:01 +0200
Message-ID <s67Rv-2Hd-11@gated-at.bofh.it> (permalink)
References <s67Rv-2Hd-3@gated-at.bofh.it>
X-Mailer git-send-email 2.5.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 48
Organization linux.* mail to news gateway
X-Original-Cc akpm@linux-foundation.org, viro@zeniv.linux.org.uk, salah.triki@acm.org, Luis de Bethencourt <luisbg@osg.samsung.com>
X-Original-Date Sun, 14 Aug 2016 18:54:02 +0100
X-Original-Message-ID <1471197247-13550-3-git-send-email-luisbg@osg.samsung.com>
X-Original-References <1471197247-13550-1-git-send-email-luisbg@osg.samsung.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1462187

Show key headers only | View raw


Fixing the following checkpatch.pl errors and warning:
ERROR: trailing whitespace
+ * $

WARNING: Block comments use * on subsequent lines
+/*
+       Validates the correctness of the befs inode

ERROR: "foo * bar" should be "foo *bar"
+befs_check_inode(struct super_block *sb, befs_inode * raw_inode,

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
 fs/befs/inode.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/fs/befs/inode.c b/fs/befs/inode.c
index fa4b718..5367a64 100644
--- a/fs/befs/inode.c
+++ b/fs/befs/inode.c
@@ -1,6 +1,6 @@
 /*
  * inode.c
- * 
+ *
  * Copyright (C) 2001 Will Dyson <will_dyson@pobox.com>
  */
 
@@ -10,12 +10,12 @@
 #include "inode.h"
 
 /*
-	Validates the correctness of the befs inode
-	Returns BEFS_OK if the inode should be used, otherwise
-	returns BEFS_BAD_INODE
-*/
+ * Validates the correctness of the befs inode
+ * Returns BEFS_OK if the inode should be used, otherwise
+ * returns BEFS_BAD_INODE
+ */
 int
-befs_check_inode(struct super_block *sb, befs_inode * raw_inode,
+befs_check_inode(struct super_block *sb, befs_inode *raw_inode,
 		 befs_blocknr_t inode)
 {
 	u32 magic1 = fs32_to_cpu(sb, raw_inode->magic1);
-- 
2.5.1

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/7] befs: fix style issues in inode.c Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-08-14 20:00 +0200

csiph-web