From patchwork Wed Oct 27 12:31:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12587215 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C382C433F5 for ; Wed, 27 Oct 2021 12:33:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0D0ED60E78 for ; Wed, 27 Oct 2021 12:33:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0D0ED60E78 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=OcfvMNqfwEeyL3BLL7ZmhVAi6t6mkPHLS/fboztqtRY=; b=pNiWUoIKRb9Kh/ zuXsI3u2vj6wTVJ4/AA4ZiOe3QSH6Fxl1KCxaqxAP4au7sznMO/x051a6yp/oRoxDUQHL0qbxpC6r +Ah4Ehp6CwHU6VZCK8wdZO9adsXG2LIYOjAYZa4kmVN1xODy7a4HMhxXhV+0cWkTBQ4T33VUsomJ7 Heshe0mG0lAHQenzNUq7UZOGN33mN9LHJH7sjmCE1YJP5jG2CIp5ZlfrA1BmVKT40DmGxEzMslFTC JO08eXV8sZ3bVtMX0y9JpjIHerNH79h6zGeOvmp62gfDk67UKT3NBAQc0ySZGmjhamSK2phg+ljNF W9lUAqFL9g7+VM/mWt+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfi5v-004swa-VR; Wed, 27 Oct 2021 12:31:52 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfi5s-004sv5-A6 for linux-arm-kernel@lists.infradead.org; Wed, 27 Oct 2021 12:31:49 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 205so4387708ljf.9 for ; Wed, 27 Oct 2021 05:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DBJEXKjPWdO6SQsEQrFSVQShmKG4dPUMxntiNdrcVaw=; b=aOPjhWiaR3deogJbrFTwA0+Vuy9fA0rAwd1z7fyKb7tLwU6CgCJcIjHl8bu4ie76M7 0YoHNVIhKiLGxjSxgvPCIpN7AV3NTeTmBrZf0cvmATQ5tAnHghoFVGU2EagSpz+QKpNL Jv7D/gB8MtZr1vo7JBcxrF2fPxQlcOlTXzuPjNcfsA5KLCk3+QSlYPOYlJaNVsC1D1yE Byk6pfuw+2cWvOnn6sAWvLHc+slqHZ9df/uaKyE1E4Epw4siNrLHxg18mZPc0TQkdy9Y TQHJGLlykLWrXJMLr9fIGObElKfV2d9l31VDDsdTOpsko9mvApDkS4SuVPz3g6lwyMbL Ux2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DBJEXKjPWdO6SQsEQrFSVQShmKG4dPUMxntiNdrcVaw=; b=Kw07E+fSywJ9jQ8WTqLOGrMrzvMfwFGmIZ28tqkFo9QtfK7H3E8NwzyoBXbwnJIMrV 1UZSl1SQpQJTf9xVCm++pO6eVIEeuCSKtyTtT/0WBrmV7CERZ8y4TCVkjf8//zxZSawJ 8VqBmtwZaIjy55pjOSaFcSCHns8CVPkFxK2FSAE9TUvSvBhtZS5ahZ1eaubOAMIWvj5g V1lyV0unrNKAyFHTHCkOmnl69RkPY0a9S+6NCyJ8c0USBq9plCGAtZ4hmwl23XyR1Ohw nZbFUZCHsism8q2eLkQCe2j2ZMfE+7jDQj+Gwk0KKuhiEGLl/OYES9oswFA0XRTMzh0B Z5ag== X-Gm-Message-State: AOAM531wnHn6ObUWVtyKXpjL7yDw9e0NMEOhxZcQR9CaTVGnAF/GrIxb dIuqLHWZFOPS7CzfvtAd0e4= X-Google-Smtp-Source: ABdhPJwDIz24rQAI4I4K1Pz3/R8jRw/r7P665fu0NsKwc5huVWS0DWYY/l2UDQGXRSdP1RClp4Q/sA== X-Received: by 2002:a05:651c:889:: with SMTP id d9mr33454617ljq.198.1635337904770; Wed, 27 Oct 2021 05:31:44 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id t192sm523409lff.52.2021.10.27.05.31.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 05:31:43 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Wim Van Sebroeck , Guenter Roeck Cc: Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] watchdog: bcm63xx_wdt: fix fallthrough warning Date: Wed, 27 Oct 2021 14:31:35 +0200 Message-Id: <20211027123135.27458-1-zajec5@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211027_053148_388644_D63C19BA X-CRM114-Status: GOOD ( 10.62 ) 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 From: Rafał Miłecki This fixes: drivers/watchdog/bcm63xx_wdt.c: In function 'bcm63xx_wdt_ioctl': drivers/watchdog/bcm63xx_wdt.c:208:17: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Rafał Miłecki Reviewed-by: Florian Fainelli Reviewed-by: Guenter Roeck --- drivers/watchdog/bcm63xx_wdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/bcm63xx_wdt.c b/drivers/watchdog/bcm63xx_wdt.c index 7cdb25363ea0..56cc262571a5 100644 --- a/drivers/watchdog/bcm63xx_wdt.c +++ b/drivers/watchdog/bcm63xx_wdt.c @@ -207,6 +207,8 @@ static long bcm63xx_wdt_ioctl(struct file *file, unsigned int cmd, bcm63xx_wdt_pet(); + fallthrough; + case WDIOC_GETTIMEOUT: return put_user(wdt_time, p);