mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tal Shorer <tal.shorer@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: oleg.drokin@intel.com, devel@driverdev.osuosl.org,
	andreas.dilger@intel.com, gregkh@linuxfoundation.org,
	clabbe.montjoie@gmail.com, dan.carpenter@oracle.com,
	tal.shorer@gmail.com
Subject: [PATCH v4 2/3] staging: lustre: fix coding style errors
Date: Tue, 10 Feb 2015 20:36:20 +0200	[thread overview]
Message-ID: <1423593381-10452-2-git-send-email-tal.shorer@gmail.com> (raw)
In-Reply-To: <1423593381-10452-1-git-send-email-tal.shorer@gmail.com>

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@gmail.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


  reply	other threads:[~2015-02-10 18:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 18:36 [PATCH v4 1/3] " Tal Shorer
2015-02-10 18:36 ` Tal Shorer [this message]
2015-03-02  1:28   ` [PATCH v4 2/3] " Greg KH
2015-02-10 18:36 ` [PATCH v4 3/3] staging: lustre: fix coding style errors fix the Tal Shorer
2015-03-02  1:27   ` Greg KH
2015-03-02  1:27 ` [PATCH v4 1/3] staging: lustre: fix coding style errors Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1423593381-10452-2-git-send-email-tal.shorer@gmail.com \
    --to=tal.shorer@gmail.com \
    --cc=andreas.dilger@intel.com \
    --cc=clabbe.montjoie@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg.drokin@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®