Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753529AbdG2JQY (ORCPT ); Sat, 29 Jul 2017 05:16:24 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:37369 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753188AbdG2JQW (ORCPT ); Sat, 29 Jul 2017 05:16:22 -0400 From: SZ Lin To: wim@iguana.be Cc: linux@roeck-us.net, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, SZ Lin Subject: [PATCH] watchdog: moxart_wdt: Replace decimal permissions with 4 digit octal Date: Sat, 29 Jul 2017 17:15:43 +0800 Message-Id: <20170729091543.11777-1-sz.lin@moxa.com> X-Mailer: git-send-email 2.13.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 732 Lines: 24 ERROR: Use 4 digit octal (0777) not decimal permissions This error was detected by checkpatch.pl Signed-off-by: SZ Lin --- 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