From patchwork Tue Nov 6 10:55:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 10670097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F091B14BD for ; Tue, 6 Nov 2018 10:55:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E135A2A338 for ; Tue, 6 Nov 2018 10:55:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D534F2A33E; Tue, 6 Nov 2018 10:55:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 864692A338 for ; Tue, 6 Nov 2018 10:55:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729878AbeKFUUc (ORCPT ); Tue, 6 Nov 2018 15:20:32 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:50632 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729272AbeKFUUc (ORCPT ); Tue, 6 Nov 2018 15:20:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dR842au5YR1J4/xsD+i3T93HKhkz78uxTuiVZ9ulzgY=; b=tba4+SpioxdRjuE1rm7jLuvG6 BpouxjFaGoJXmukT8YPhQNXslSJosULMdRI3tc+sSImrOYoCjNye65mB8VWDa0PknRyuDgNfIgwWS JS0CNWJN3iowauxonOVTzjFXKRpl0n7D9kIWcvJfwYE5SC2DEr7y8fxTwQyKmhDiDJRTgVRbrGOTl FrHmxhXROS3102sundYsr2UjiqIERfW1UQsmisY1+Yu1BO+tF/G+KwldUlWsDuXe0GFAqi3htx5WM prpUcNwHNbYbKKqGMKpgLDNeNXmlvz8Xajd7mIrZQupTCPXpK1Pg71D0hMfViumBx6ncBcdkAXWm1 491GrhX6w==; Received: from [191.33.155.146] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJz1W-0008Ej-4T; Tue, 06 Nov 2018 10:55:54 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.91) (envelope-from ) id 1gJz1U-0002YZ-0u; Tue, 06 Nov 2018 05:55:52 -0500 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab , Greg Kroah-Hartman , Hans Verkuil , Kees Cook , devel@driverdev.osuosl.org Subject: [PATCH] media: dm365_ipipeif: better annotate a fall though Date: Tue, 6 Nov 2018 05:55:51 -0500 Message-Id: <6d03257da95f7d8db273496733a9e9871936bcff.1541501746.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Shut up this warning: drivers/staging/media/davinci_vpfe/dm365_ipipeif.c: In function 'ipipeif_hw_setup': drivers/staging/media/davinci_vpfe/dm365_ipipeif.c:298:3: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (isif_port_if) { ^~~~~~ drivers/staging/media/davinci_vpfe/dm365_ipipeif.c:314:2: note: here case IPIPEIF_SDRAM_YUV: ^~~~ By annotating a fall though case at the right place. Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil --- drivers/staging/media/davinci_vpfe/dm365_ipipeif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipeif.c b/drivers/staging/media/davinci_vpfe/dm365_ipipeif.c index a53231b08d30..e3425bf082ae 100644 --- a/drivers/staging/media/davinci_vpfe/dm365_ipipeif.c +++ b/drivers/staging/media/davinci_vpfe/dm365_ipipeif.c @@ -310,6 +310,7 @@ static int ipipeif_hw_setup(struct v4l2_subdev *sd) ipipeif_write(val, ipipeif_base_addr, IPIPEIF_CFG2); break; } + /* fall through */ case IPIPEIF_SDRAM_YUV: /* Set clock divider */