From: SZ Lin <sz.lin@moxa.com>
To: a.zummo@towertech.it
Cc: alexandre.belloni@free-electrons.com, linux-rtc@vger.kernel.org,
linux-kernel@vger.kernel.org, SZ Lin <sz.lin@moxa.com>
Subject: [PATCH] rtc: ds1374: Fix decimal permission coding issue
Date: Sat, 29 Jul 2017 19:56:24 +0800 [thread overview]
Message-ID: <20170729115624.18814-1-sz.lin@moxa.com> (raw)
Fixed ERROR: Use 4 digit octal (0777) not decimal permissions to fulfill
the current coding-style
This error was detected by checkpatch.pl
Signed-off-by: SZ Lin <sz.lin@moxa.com>
---
drivers/rtc/rtc-ds1374.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c
index 38a2e9e684df..7d55ad297f36 100644
--- a/drivers/rtc/rtc-ds1374.c
+++ b/drivers/rtc/rtc-ds1374.c
@@ -378,7 +378,7 @@ static struct i2c_client *save_client;
static int wdt_margin = WD_TIMO;
static unsigned long wdt_is_open;
-module_param(wdt_margin, int, 0);
+module_param(wdt_margin, int, 0000);
MODULE_PARM_DESC(wdt_margin, "Watchdog timeout in seconds (default 32s)");
static const struct watchdog_info ds1374_wdt_info = {
--
2.13.3
reply other threads:[~2017-07-29 11:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20170729115624.18814-1-sz.lin@moxa.com \
--to=sz.lin@moxa.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@free-electrons.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
/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