From patchwork Tue Nov 16 09:21:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 519189 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp6869487imj; Tue, 16 Nov 2021 01:22:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsa+AViy26D2MxtqcpayPCtESRDCK0P8qxxrrRkmOyWmjl1X1m/mxzvXXtvtRnFlCTNn3m X-Received: by 2002:a17:90a:a083:: with SMTP id r3mr72244732pjp.55.1637054532611; Tue, 16 Nov 2021 01:22:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637054532; cv=none; d=google.com; s=arc-20160816; b=q4t8XlwPL5SQJwgIjZZCBpS3lRv5611G138mjYt5DkWgIqmhlFou29YTSMLfEn0aqy JRMed5rScPyj5BAtMVxVwZWl2FVWvcBiUo6dCBB1LTDyddnQ55sbOj5hhyPZ9558eOmn EL0Nc0BQLJak+b0tHKfIdKDJT6vRLHiJy31JVC9aSerNveZiaUIZNKGjb1wPvpywiwc6 VvqhMiWp9UYpWyU0P7oshFovFaxqPZ/NUlyI/qjSaf+etZ6Ge2RV5oKsUu6Kn/aTlIFE LMQbKruKr0JBtX2fPitP1750QTzVvieifQ77Y/fNoMXaNVDoN6i3M+soMPhKhy57DWt8 X3Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=7bSZ3UVXUToJSLpuO0J6C16+QXZUVreYm8Jy+XVOrTs=; b=pnZvYd/0UbBS3BtgWA4DVZzvtBwbvrLC2r1HvaBL0iy5DVPW2zLcMVmmgzwp7n7Wiz /vjvSosQbqBVVsjnvQss0KbdPluj8QEsgKggZlV/ZmqESVDP+o6/8z9pZr7jykqnyTP8 BS8D6n/ZT7ZMbdVs2Wv38ZjJwhtURmbjT1a6QfNRx/ylZ79mMo+hFIHPmBjScKdpyE2u UfqUIPIkGW3t+8wrnXDn7xAd0FxoSVYIPok2cScXsMnycB0WoQOk8O+7UqNlwESMUSn5 E2Goipvfl7v3JO/aBbuBoNGpf3b7y2WBZRvSqkuWCGNo0J2Gd8Xe6D9lMG3GMCCHH6D2 6zVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=pB4niVDs; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r10si27153813pls.248.2021.11.16.01.22.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 01:22:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=pB4niVDs; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2092A6EE9D; Tue, 16 Nov 2021 09:22:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6D4996EE9D for ; Tue, 16 Nov 2021 09:22:09 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id A291561B27; Tue, 16 Nov 2021 09:22:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637054529; bh=yXXJ7ZYZdmMULFDotLIAJ3kbIk7CEz04rAyjIO+l1eY=; h=From:To:Cc:Subject:Date:From; b=pB4niVDsLcz4ei4hW3J6NtH9dck6Dhntvx0NEuxxkODTCGHU4dG70CdFCGvgqTXsc JFOEjbBHQyfGnm4xyEyUbmRDs9WTk2t+HTUwhQJB6BGlhBHc2w9027TnDZmQaYc0dp 9Nh+Uj331Lbon78tvc5h8PIC4O7uOz15lNvuEj3Vp5gseHULZ3xgSqwQtgQPTQROc8 /B9Sd4SzJBVLEQIyECXT99yh+d4f4BbJVnL8mVOZsTzKKHYxD9qni1btURec/culEi jrtyTibNsdvsE0nhScm42AEgGOearp4h/Wd+bWHx3E+BlR3kHYOhRJ+a5U/ZuQI/kB XImwcNDHy0vwA== From: Arnd Bergmann To: linux-fbdev@vger.kernel.org Subject: [PATCH] omapfb: add one more "fallthrough" statement Date: Tue, 16 Nov 2021 10:21:54 +0100 Message-Id: <20211116092204.4116587-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , llvm@lists.linux.dev, Nick Desaulniers , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Nathan Chancellor , linux-omap@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann clang warns about one missing fallthrough that gcc ignores: drivers/video/fbdev/omap/omapfb_main.c:1558:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough] Add it here as well. Signed-off-by: Arnd Bergmann Reviewed-by: Nathan Chancellor --- drivers/video/fbdev/omap/omapfb_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap/omapfb_main.c b/drivers/video/fbdev/omap/omapfb_main.c index 3d090d2d9ed9..a6a8404d1462 100644 --- a/drivers/video/fbdev/omap/omapfb_main.c +++ b/drivers/video/fbdev/omap/omapfb_main.c @@ -1555,6 +1555,7 @@ static void omapfb_free_resources(struct omapfb_device *fbdev, int state) case 1: dev_set_drvdata(fbdev->dev, NULL); kfree(fbdev); + fallthrough; case 0: /* nothing to free */ break;