linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtc: ds1374: Fix decimal permission coding issue
@ 2017-07-29 11:56 SZ Lin
  0 siblings, 0 replies; only message in thread
From: SZ Lin @ 2017-07-29 11:56 UTC (permalink / raw)
  To: a.zummo; +Cc: alexandre.belloni, linux-rtc, linux-kernel, SZ Lin

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-29 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-29 11:56 [PATCH] rtc: ds1374: Fix decimal permission coding issue SZ Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).