Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1699274 > unrolled thread

[PATCH] watchdog: moxart_wdt: Replace decimal permissions with 4 digit octal

Started bySZ Lin <sz.lin@moxa.com>
First post2017-07-29 11:20 +0200
Last post2017-07-29 11:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] watchdog: moxart_wdt: Replace decimal permissions with 4 digit octal SZ Lin <sz.lin@moxa.com> - 2017-07-29 11:20 +0200

#1699274 — [PATCH] watchdog: moxart_wdt: Replace decimal permissions with 4 digit octal

FromSZ Lin <sz.lin@moxa.com>
Date2017-07-29 11:20 +0200
Subject[PATCH] watchdog: moxart_wdt: Replace decimal permissions with 4 digit octal
Message-ID<u8w4G-7n-13@gated-at.bofh.it>
ERROR: Use 4 digit octal (0777) not decimal permissions

This error was detected by checkpatch.pl

Signed-off-by: SZ Lin <sz.lin@moxa.com>
---
 drivers/watchdog/moxart_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/moxart_wdt.c b/drivers/watchdog/moxart_wdt.c
index 2c4a73d1e214..05684aa89b88 100644
--- a/drivers/watchdog/moxart_wdt.c
+++ b/drivers/watchdog/moxart_wdt.c
@@ -170,7 +170,7 @@ static struct platform_driver moxart_wdt_driver = {
 };
 module_platform_driver(moxart_wdt_driver);
 
-module_param(heartbeat, int, 0);
+module_param(heartbeat, int, 0000);
 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds");
 
 MODULE_DESCRIPTION("MOXART watchdog driver");
-- 
2.13.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web