Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp994197imm; Mon, 9 Jul 2018 14:53:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcJz68sbGKoEeZbaz+5nSt9YCuzzSl5FFq5SBks3eZRWx1jw+MAYfXpmf1M/FeG7uh835Jx X-Received: by 2002:a17:902:a5:: with SMTP id a34-v6mr5630173pla.60.1531173202599; Mon, 09 Jul 2018 14:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531173202; cv=none; d=google.com; s=arc-20160816; b=vJ2vL0DK+c1Cg50+vWHNKDkz56EZNbvsIkZGxtUUElncCj2+Zvyz4KOw/F1qhYjwcM cKb0Ncp01+HJOfgzP373nb6gLlQCcAtUmAaYxaFhRdY9QnujVg/YVBX93szq30yt5DDx oBXLD9fi/DW06O70uiaBl4flV35JjlFHZZD4/zb/nxh5gXKNTLM+pJTFnxQTyco3fE3r r+MTjiviFjTpES28exq6Ne9d4BvAARYf7XFoDeiybM+RQM+LMlgCIYcpMWWRW64MYgcz r1KReL5nI5NVFgFbIhgMK9Kz70DvBFQFjUjNLvIAkH6wWou1dTrqUDltqcLDo1GNf4za NalA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=gnsCkScknGG4A6tiYgsFQqLurQFULD20gEp/5Sm3fS4=; b=pw0yU+sPKT1AHz2u5f6aa121+V9Jk4UeyrR1TOVbzXsObN6yuTD6AYipkE0fmH6bmi lqxvpBfz9vvZ2AR9GRESmLlIFJ6jyNRnsW0UOQiAlLlgR/Osbkw1uCqaDMv/OJEhNUDh CEGldcn7YMOnIgy/ni6Rf1KSVVqDiMzj5mTVUx4nTIPimXARHz8WaK7SAvZU45zcntQf Ol8mmAfN3PUgVsB2rKw6mRhp05G4pwZKiciU5Ai6XdMnaop1XjRcxixTBDdyTNnZvZqd XKqmeU07vdMUTpzZEJ/aGhtcnUZC/ARwel3lTBGgyDpLB2V5o8Fbozjhyy3UuQ1R+cDN N8UQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7-v6si13983024pgo.234.2018.07.09.14.53.07; Mon, 09 Jul 2018 14:53:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933303AbeGIVv7 (ORCPT + 99 others); Mon, 9 Jul 2018 17:51:59 -0400 Received: from gateway21.websitewelcome.com ([192.185.45.191]:17868 "EHLO gateway21.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933213AbeGIVv6 (ORCPT ); Mon, 9 Jul 2018 17:51:58 -0400 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway21.websitewelcome.com (Postfix) with ESMTP id EE221400CD142 for ; Mon, 9 Jul 2018 16:51:57 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id ce4bfBt86bXuJce4bfLDTt; Mon, 09 Jul 2018 16:51:57 -0500 X-Authority-Reason: nr=8 Received: from [189.250.65.56] (port=51210 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fce4b-003dy9-At; Mon, 09 Jul 2018 16:51:57 -0500 Date: Mon, 9 Jul 2018 16:51:56 -0500 From: "Gustavo A. R. Silva" To: Michael Hennerich , Lee Jones , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH] backlight: adp8860: Mark expected switch fall-through Message-ID: <20180709215156.GA8782@embeddedor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 189.250.65.56 X-Source-L: No X-Exim-ID: 1fce4b-003dy9-At X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.65.56]:51210 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 15 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/video/backlight/adp8860_bl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c index 16119bd..f1dc41c 100644 --- a/drivers/video/backlight/adp8860_bl.c +++ b/drivers/video/backlight/adp8860_bl.c @@ -690,6 +690,7 @@ static int adp8860_probe(struct i2c_client *client, switch (ADP8860_MANID(reg_val)) { case ADP8863_MANUFID: data->gdwn_dis = !!pdata->gdwn_dis; + /* fall through */ case ADP8860_MANUFID: data->en_ambl_sens = !!pdata->en_ambl_sens; break; -- 2.7.4