[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1423593381-10452-2-git-send-email-tal.shorer@gmail.com>
Date: Tue, 10 Feb 2015 20:36:20 +0200
From: Tal Shorer <tal.shorer@...il.com>
To: linux-kernel@...r.kernel.org
Cc: oleg.drokin@...el.com, devel@...verdev.osuosl.org,
andreas.dilger@...el.com, gregkh@...uxfoundation.org,
clabbe.montjoie@...il.com, dan.carpenter@...cle.com,
tal.shorer@...il.com
Subject: [PATCH v4 2/3] staging: lustre: fix coding style errors
fix the following coding style error in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c:
initialization of min_watchdog_ratelimit (static int) to 0
for clarity's sake, the "= 0" is kept as part of a comment
Signed-off-by: Tal Shorer <tal.shorer@...il.com>
---
drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c b/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
index 7c259af..c3d00e6 100644
--- a/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
+++ b/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
@@ -165,7 +165,7 @@ static int proc_dobitmasks(struct ctl_table *table, int write,
__proc_dobitmasks);
}
-static int min_watchdog_ratelimit = 0; /* disable ratelimiting */
+static int min_watchdog_ratelimit; /* = 0 disable ratelimiting */
static int max_watchdog_ratelimit = (24*60*60); /* limit to once per day */
static int __proc_dump_kernel(void *data, int write,
--
2.2.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists