From patchwork Fri Sep 22 20:10:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Bune X-Patchwork-Id: 13396383 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CFBACE7A86 for ; Fri, 22 Sep 2023 20:13:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qR6aFMLkjBp1OwTDkw5g/EvMAaa3GmQRRaWOKCCDM7s=; b=1/qvjBpicyfK80 5tUpWlbFtmIzi0Hz1ppQicKYVaqzMs285IEuojS6x9oVLx4mimLpv1qgYIzLYvIlUSITCCx4rxzdG ryQw11E9tDXHtOCyVKIcgER/rg1ExMcZTWxzYf/Jg5O0vUQ5TXzyrsHTqIyunY3Ax49/v33DMZzFK cY17l+3DBNyhNsNCuWfEA/eAk0Mk0km3sgxwYLQ89LGR4BggWjnNAbh9YXmJdvqwH3qIJfY6Y450e H5+MUg4KLEAbwRaQca7ALM2yn1YEYhngZqLp308n4m7kWGlwj/gsee4u2Rp5/ZnPjE22K+9jnX73n eFmDCUVxPBnYqcNpj3oA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qjmWG-009lkW-0a; Fri, 22 Sep 2023 20:12:56 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qjmWC-009liu-1i for linux-arm-kernel@lists.infradead.org; Fri, 22 Sep 2023 20:12:54 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9b11cc499c2so75849366b.2 for ; Fri, 22 Sep 2023 13:12:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695413568; x=1696018368; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oLN4bH4coEcvi6teZvOLHVyuO9WrCZeFHK+MQxHhiSE=; b=eiuQJMm9VMJJMmnlHiYs2H5ZlPlQYETjZVn1izlpYRnPlpQbFII57Pb8fyQ/rSPgGT YNdbYyS3+IIe7rip1epml90RC6oVx+dVlo3j947ddcuPGIud10qCRRQuvP4KRoBETX5r JkAlx8PwoV3b6rPE2ugjaANWh4yg1WvArDeYleNfb24FnatrohPTjNg7WlbPhiHasjZL qBrJMoecs9xeR2gkgCFENENNfbU2nXYVYLO0FvAurMkHCURtb3ukszF5o8ka0OwnSVhq oSwPAR6tzii2QtianAbe6vq9CS8Bl63M6psnOgAzuFF77rNENQqs4WDXBDqfxFhSTFlw DoMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695413568; x=1696018368; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oLN4bH4coEcvi6teZvOLHVyuO9WrCZeFHK+MQxHhiSE=; b=XtENNKSK3+vaXMCGhtKDlGwW+bXHhEDfksLJYK2uGidasq3tuCxLl3UezIfIEg+HLz TdTw8qRGWLeMnLfg6/9m4ifJIuZoZXggVChkDb/9hwpjkJyMB2pGnIaJ5rygS+D2w+8L ATwLoLbAtONqorgBkt/MU1XQyWbvFZa7M/aRsVNxYfevXzO3/vSxO7FgV9jd4u3KNGvs MrPM8OZJi27tTL5gSDpr5AWtccgTEPKyLgsyvs37AtXvv885BrcPHsX7MbmOuKxyxRJX oX0Z94jRH5PUHmiKdBcrrp10iJcHUA5XMyBIE7qn4Ostfv0LFEVwlOSbOGRu62eF4Ujr H9ew== X-Gm-Message-State: AOJu0YxFz4ySDyZXZNMf67Lhj/hi07wEluVN6pwEoypFxVNklUKfIUND zOotq+OWMyzeFwk8WNmD+sw= X-Google-Smtp-Source: AGHT+IF7G+E5H3ZPGE5wynI5t2ubz7n8rEDRMyWSsuis7DkkkZP6qj1ZyGy+rEZaWqQCRHQKvfooLQ== X-Received: by 2002:a17:906:5a5d:b0:9ae:699d:8a29 with SMTP id my29-20020a1709065a5d00b009ae699d8a29mr299359ejc.6.1695413567731; Fri, 22 Sep 2023 13:12:47 -0700 (PDT) Received: from localhost.localdomain (ip5f5af6b6.dynamic.kabel-deutschland.de. [95.90.246.182]) by smtp.gmail.com with ESMTPSA id k3-20020a17090646c300b009ae57888718sm3101778ejs.207.2023.09.22.13.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 13:12:47 -0700 (PDT) From: Nikita Bune To: Wim Van Sebroeck , Guenter Roeck , Kunihiko Hayashi , Masami Hiramatsu Cc: Nikita Bune , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers/watchdog: fix checkpatch error Date: Fri, 22 Sep 2023 22:10:25 +0200 Message-Id: <20230922201025.64164-1-w1s2d5@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230922_131252_585677_B220846B X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix checkpatch ERROR: do not initialise statics to 0 Signed-off-by: Nikita Bune --- drivers/watchdog/uniphier_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/uniphier_wdt.c b/drivers/watchdog/uniphier_wdt.c index 8e9242c23022..7a080600d865 100644 --- a/drivers/watchdog/uniphier_wdt.c +++ b/drivers/watchdog/uniphier_wdt.c @@ -41,7 +41,7 @@ #define WDT_PERIOD_MIN 1 #define WDT_PERIOD_MAX 128 -static unsigned int timeout = 0; +static unsigned int timeout; static bool nowayout = WATCHDOG_NOWAYOUT; struct uniphier_wdt_dev {