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: 518535 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 22712C433EF for ; Tue, 16 Nov 2021 09:22:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 044D761BFA for ; Tue, 16 Nov 2021 09:22:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232940AbhKPJZI (ORCPT ); Tue, 16 Nov 2021 04:25:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:55404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232975AbhKPJZF (ORCPT ); Tue, 16 Nov 2021 04:25:05 -0500 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 Cc: Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , linux-omap@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev 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 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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 --- 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;