From patchwork Sun Aug 20 12:59:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 9911141 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 00572600C8 for ; Sun, 20 Aug 2017 12:59:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E67061FF2D for ; Sun, 20 Aug 2017 12:59:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA8F7285E1; Sun, 20 Aug 2017 12:59:20 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 5DC5D1FF2D for ; Sun, 20 Aug 2017 12:59:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752958AbdHTM7R (ORCPT ); Sun, 20 Aug 2017 08:59:17 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:37832 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752947AbdHTM7P (ORCPT ); Sun, 20 Aug 2017 08:59:15 -0400 Received: by mail-wr0-f196.google.com with SMTP id z91so13504549wrc.4 for ; Sun, 20 Aug 2017 05:59:15 -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:in-reply-to:references; bh=PaLaKFzkbvE6KaJFhQi/kUfJRZHQVu4Xf38F4BUHF6Q=; b=BVFvztr4pTAah6kQGxZV8gSw0tZnc0OPsYac+O5YzW04sIT6//ZKJRw1viyKY2aBo2 6F/9ifHw4reffe7hnbuLatlL2i781tXlXpi8J38/3+yaqLE2/TkVvcLWQGbr8Pw0L9Kr umz0AbGCCXAZANgugpNLfTlWmAUC0CeGqki3qy9dT+GtCA4bJQX5b/7T7mA+/6vN/9lr /Slb7nqxo1xuL3SrGg63OUhOaaj4MpCXOgk9jj0M0pkTF2OH+/kmvJMs831N0SPU49qp fvYpT8o7QuIV5Ha/FyNdDR5jTL5sYjt58Fw6WqeS4Td+au0Ygdj3TRaO3g8o39L3QjXm 3mDQ== 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:in-reply-to :references; bh=PaLaKFzkbvE6KaJFhQi/kUfJRZHQVu4Xf38F4BUHF6Q=; b=A7DSDIJpwF96o9lGcdLOdEOoTOuzLRAzV0O2Ns8mkMfwEZsKhs/JzQ6p0CaXQNWQRo iGoPEJ13qDV93QqOJRS3Oo0sg60KLSNsAOOSMM3n3kTY2l7ZYUM0fyu7SSTfTaKtV/be 3MQfu31bbxDAauJQZBYQDYez9vTCamIGKIWCKLPXC3+J8lgtjnibxv79MylkRQebClYy th3N293g2RfTmHC4kHPu7pNKjUGDQJiGEhBPbCzg1QTY3b1YfV6elN1bTot/HTHPY1Yx vlnA3tu+DENEgA8JucQYHxjRkfpLNPfngx+XyK1Ge7MPsDipbgeS+BjKPOIBmIIzUV5S UL0g== X-Gm-Message-State: AHYfb5jp1MH15B8N42q8idn3EwC1m1+nBB3PshEcLexI0WAkiW3/YUtg t3Rx00IGQa0VZtN/ X-Received: by 10.28.51.205 with SMTP id z196mr4307093wmz.30.1503233954431; Sun, 20 Aug 2017 05:59:14 -0700 (PDT) Received: from dvbdev.wuest.de (ip-84-118-193-88.unity-media.net. [84.118.193.88]) by smtp.gmail.com with ESMTPSA id o24sm7630428wmi.8.2017.08.20.05.59.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Aug 2017 05:59:13 -0700 (PDT) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Cc: jasmin@anw.at, Colin Ian King Subject: [PATCH 1/2] [media] dvb-frontends/stv0910: declare global list_head stvlist static Date: Sun, 20 Aug 2017 14:59:11 +0200 Message-Id: <20170820125912.9716-2-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170820125912.9716-1-d.scheller.oss@gmail.com> References: <20170820125912.9716-1-d.scheller.oss@gmail.com> 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 Cleans up smatch warning: symbol 'stvlist' was not declared. Should it be static? Patch originally submitted by Colin Ian King , remainder after the merge of all other stv0910 fixes. Cc: Colin Ian King Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/stv0910.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c index d0a8ed36b899..d1ae9553f74c 100644 --- a/drivers/media/dvb-frontends/stv0910.c +++ b/drivers/media/dvb-frontends/stv0910.c @@ -34,7 +34,7 @@ #define BER_SRC_S 0x20 #define BER_SRC_S2 0x20 -LIST_HEAD(stvlist); +static LIST_HEAD(stvlist); enum receive_mode { RCVMODE_NONE, RCVMODE_DVBS, RCVMODE_DVBS2, RCVMODE_AUTO };