From patchwork Sun Jun 24 13:42:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10484193 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 756056023A for ; Sun, 24 Jun 2018 13:42:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62477288DB for ; Sun, 24 Jun 2018 13:42:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5638828913; Sun, 24 Jun 2018 13:42:56 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, 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 D63F7288DB for ; Sun, 24 Jun 2018 13:42:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969AbeFXNmy (ORCPT ); Sun, 24 Jun 2018 09:42:54 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:44451 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751892AbeFXNmy (ORCPT ); Sun, 24 Jun 2018 09:42:54 -0400 Received: by mail-wr0-f196.google.com with SMTP id p12-v6so9340701wrn.11 for ; Sun, 24 Jun 2018 06:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=7OV3xKi719gI+jTI0nrZUW41zQdkJuU5R05ng9pQqGc=; b=leYG5BZ5Mgvfuy0XikwTMuvXEIhDSIgLcGcWSPYvZnWIvR08pizhyCHnFOx/A6w+Jy kKGXQBRcYHbnBo+4uvwq97EFHpH6DASltUvY4iwoOcmt8BvJyj+JMJgTuHExMz30bELG nXI6UlRE35vd2yIriXS8f+L81P7vTqnsjYNDhDL/RiLjNfGozIjnoCx7f53PacVn7eoQ +2jbeTbyK3RTGOHvgRNFQ+sY/PMhDLWDteTFbIEpuXJosN72vzsvyFMj5oZ49g/FUINn XRQN/ZjSiHguiNmCWbi5PJj34wciE6dGstX4HG2mdxx+fOrythZYEEs5qmXkv8XFo+dX EPHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7OV3xKi719gI+jTI0nrZUW41zQdkJuU5R05ng9pQqGc=; b=TkwGxd1V5LziwP4lWBfOA/WkG7hWvwbMZNZ6+2RiOe+97fXPs3ECeWNlhxPZ51orlU 4gMiHDXY/Et0CFTSNv9s4bzZ+ENapZKjVpBWRbUQLGn3+cq7O91jl/+JsCF9k3cD4m+u fLra6HVTeHoj3BPrU6zhvkx1mHVwnP6w186xeLd183Que2RIjcEsY9yDqC4MiT27PVWu wo6DbufgCLsrzQupOfYKJMZQNSEC25yDZHvrgHPCRwDLSVqg8T2hWKh8DvHaBS6dbYcY OYKUl/dGIqOYiqouTtuVjGn6pXfsTmxkjsmbK+Wp6vy34eF/TZrzNvGsRKplNqaRseot d+Pw== X-Gm-Message-State: APt69E19wUcJQpQ947It80NZ19PD/Wr7wogJ9AVlGadDSstuwWbZ9GjQ Hwgx14YMpArsRn1mBpSW6Bw= X-Google-Smtp-Source: AAOMgpeJXHoi6G/N2jGwaN3e8teUl6Zse146mzIe4JzYbYbJyp/RQeFDF91v8v+o+hpYjkqcfJFK6g== X-Received: by 2002:adf:a35b:: with SMTP id d27-v6mr6715948wrb.189.1529847773062; Sun, 24 Jun 2018 06:42:53 -0700 (PDT) Received: from dvbdev.wuest.de (ip-176-199-71-134.hsi06.unitymediagroup.de. [176.199.71.134]) by smtp.gmail.com with ESMTPSA id o13-v6sm4801679wmc.8.2018.06.24.06.42.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jun 2018 06:42:52 -0700 (PDT) From: Daniel Scheller To: mchehab@kernel.org, mchehab@s-opensource.com Cc: linux-media@vger.kernel.org Subject: [PATCH] [media] dvb-frontends/tda18271c2dd: silence sparse fall through warning Date: Sun, 24 Jun 2018 15:42:50 +0200 Message-Id: <20180624134250.8321-1-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.4 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 From: Daniel Scheller Add a break statement in set_params() for the SYS_DVBT(2) case to silence this sparse warning: drivers/media/dvb-frontends/tda18271c2dd.c:1144:3: warning: this statement may fall through [-Wimplicit-fallthrough=] as reported in Hans' daily media_tree builds. Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/tda18271c2dd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-frontends/tda18271c2dd.c b/drivers/media/dvb-frontends/tda18271c2dd.c index 2e1d36ae943b..fcffc7b4acf7 100644 --- a/drivers/media/dvb-frontends/tda18271c2dd.c +++ b/drivers/media/dvb-frontends/tda18271c2dd.c @@ -1154,6 +1154,7 @@ static int set_params(struct dvb_frontend *fe) default: return -EINVAL; } + break; case SYS_DVBC_ANNEX_A: case SYS_DVBC_ANNEX_C: if (bw <= 6000000)