From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vamsi Krishna B Subject: [PATCH] fs : ext4 : super.c fixed coding style violations fs/ext4/super.c:41: WARNING: Use #include instead of fs/ext4/super.c:546: ERROR: "foo * bar" should be "foo *bar" fs/ext4/super.c:546: WARNING: space prohibited between function name and open parenthesis '(' fs/ext4/super.c:1141: ERROR: spaces required around that '?' (ctx:VxV) fs/ext4/super.c:1141: ERROR: spaces required around that ':' (ctx:VxV) Date: Wed, 17 Nov 2010 06:11:26 +0530 Message-ID: <1289954486-13580-1-git-send-email-vamsikrishna.brahmajosyula@gmail.com> Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Vamsi Krishna B To: tytso@mit.edu Return-path: Received: from mail-iw0-f194.google.com ([209.85.214.194]:39934 "EHLO mail-iw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759259Ab0KQAfK (ORCPT ); Tue, 16 Nov 2010 19:35:10 -0500 Sender: linux-ext4-owner@vger.kernel.org List-ID: Signed-off-by: Vamsi Krishna B --- fs/ext4/super.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 61182fe..11a46dc 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include @@ -543,7 +543,7 @@ void __ext4_abort(struct super_block *sb, const char *function, panic("EXT4-fs panic from previous error\n"); } -void ext4_msg (struct super_block * sb, const char *prefix, +void ext4_msg(struct super_block *sb, const char *prefix, const char *fmt, ...) { va_list args; @@ -1138,7 +1138,7 @@ static int bdev_try_to_free_page(struct super_block *sb, struct page *page, #ifdef CONFIG_QUOTA #define QTYPE2NAME(t) ((t) == USRQUOTA ? "user" : "group") -#define QTYPE2MOPT(on, t) ((t) == USRQUOTA?((on)##USRJQUOTA):((on)##GRPJQUOTA)) +#define QTYPE2MOPT(on, t) ((t) == USRQUOTA ? ((on)##USRJQUOTA) : ((on)##GRPJQUOTA)) static int ext4_write_dquot(struct dquot *dquot); static int ext4_acquire_dquot(struct dquot *dquot); -- 1.7.3.2