Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp259286ybz; Fri, 17 Apr 2020 00:15:50 -0700 (PDT) X-Google-Smtp-Source: APiQypI5g1q3w3Uc2sEMbHFVZfzZnwtI+YAziDuS8KUavefyITv9ClRANIH17BQhm/7VYl2xssaS X-Received: by 2002:aa7:d3c9:: with SMTP id o9mr1674056edr.355.1587107750054; Fri, 17 Apr 2020 00:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587107750; cv=none; d=google.com; s=arc-20160816; b=vGLZ/UcuHfK8Am9zCgFImySMVhEOLzLASh1DHVZk9+qiyHlMwqmmzlhBb4dalSglcJ 4Utm3nHFIaQ3ZnzXR08JG5Cd1FoVlFztatXeZ4e7+BHVKuVfP+YhO1dLq9ILqibcBxy+ MQl9GCuQSUr4MGkeue/APGCmGlDOzehd3wH/PsI/3kzU/Z+CilN/SMYe1Pm+1Moyfwzo hNlImTKKNiPpLaQqkL/qqJilB92I9TcH+bePx+XTTp0+jgK3NyUHp8kkYnH5TTYKq5Pr eIsuUJWWwKRcFXZyyBxx+wIyNdxkW6w4+tmWxsiP3ZlBBeZmKHn9q38TB/0zhXHKiawn 2oMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=g70Q3rL8FnSNu3278zoQ6HEkUEVGzcFAQenZwP3rEJ0=; b=GS8gowopRtQQGbWtGqcR/x6oqI4o5suJUyVFPeEZRBgdlQlP5xs886Ku9MvRV3aNiN 3RrFe6NGcqBktBpnguk03G7m0pZBcIeXZYbhV/rINEfy4f4hA/C5LWe/e6WM6Z+0imnv 8675awwxhi/D6b+AV/Gl4CC5Nm8imW9+Q8zTHHnfQpTJSR8AMnBy1M7GnCWm82J5WVQj 8H/7AT02wpOZsAuJbg1Tc+y1sEAzyK2aSy0lRYdpWqBcYpp9TCF1r1g/0g5eUXZ/eY93 yF6KnGQkRqsaWzUJJy44RhLCLFwKiwc6ZJ0h8RZkw7C7Yb8fJjz4Mbx7BmvJi8Yr9PWZ I9SA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si2128952edo.6.2020.04.17.00.15.26; Fri, 17 Apr 2020 00:15:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728952AbgDQHOh (ORCPT + 99 others); Fri, 17 Apr 2020 03:14:37 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2344 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728844AbgDQHOh (ORCPT ); Fri, 17 Apr 2020 03:14:37 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 5C4A73C7CB44FA9D5B9C; Fri, 17 Apr 2020 15:14:29 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Fri, 17 Apr 2020 15:14:19 +0800 From: Jason Yan To: , , , , , , , CC: Jason Yan , Hulk Robot Subject: [PATCH] irqchip/irq-mvebu-icu: make legacy_bindings static Date: Fri, 17 Apr 2020 15:40:46 +0800 Message-ID: <20200417074046.46771-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/irqchip/irq-mvebu-icu.c:69:1: warning: symbol 'legacy_bindings' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/irqchip/irq-mvebu-icu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mvebu-icu.c b/drivers/irqchip/irq-mvebu-icu.c index 547045d89c4b..91adf771f185 100644 --- a/drivers/irqchip/irq-mvebu-icu.c +++ b/drivers/irqchip/irq-mvebu-icu.c @@ -66,7 +66,7 @@ struct mvebu_icu_irq_data { unsigned int type; }; -DEFINE_STATIC_KEY_FALSE(legacy_bindings); +static DEFINE_STATIC_KEY_FALSE(legacy_bindings); static void mvebu_icu_init(struct mvebu_icu *icu, struct mvebu_icu_msi_data *msi_data, -- 2.21.1