Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp146097iog; Sun, 12 Jun 2022 22:12:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtsOpA+v4w3m79ezfzG0p2EZ6S8X3P4K+d0pkzV3JZThFXXhL3VIjwW1dOTE6N9utU0TCN X-Received: by 2002:aa7:c508:0:b0:42d:cc6b:df80 with SMTP id o8-20020aa7c508000000b0042dcc6bdf80mr63038135edq.393.1655097152003; Sun, 12 Jun 2022 22:12:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655097151; cv=none; d=google.com; s=arc-20160816; b=Z+lzesYAtTIYBxRafaZwSIrCy97fa9DnhmlGNTKSJQdMWFUkZw95GGnhcA2WXmpWLv f/tvv79pQAMtos5gtVCukL2jHn9X6phEkF2nNbs79BtVjWWBlqgdkAom7ArS2rmk7Lyu Fdody3SszpR22CCZWTCqFmtMPYT1fyb94Bu23IU5VTPq7Ah1eYaAcnhkvtdn4sUDZHeL ySkSbW5y344cNY0YD3DHGxc5Ay5WYKyophZX9SLIOC1zqC/TVhxHwA2W9PXmYJzBfpjM DvqiNgaYFhhLlcifKuLG6EZdrNlzOpW0K/QfuXy6BgnxSrRtBrj1U4LWFJEAW7jZaM4G OHlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=UvmfpDO20YlPj3uZtH2EPHo1iQ46a3fSEGMvnOB004Y=; b=BsR84l9n9qt7SW0sQggg2WYVh1ZdV735GX1rXmlvX+9j/Q9u3qjNwqY5YoosOps3ky CRMCFcaTtlqyOEnTPYMCCasigncx9O7VVBA798xB00GC2Slq+sUGnEs323t94vEGpKjI SBWll02/+EO5Jy5CdqMWeyQiFzFygbCwFnGTZ6tlyiCCThmFEgzQMRhJzhwgqD8KVodn AY1zgM46jeYQDNwWuVLso3iD6szW6yo+lgcxeI6vJVbW0jzeOP2VcEKHmzb74NJnsjlG acQCP9U4HQxVudLGiW1EhnS7TgA1ns3VzTuwO9AJ8clIoiEUy09PVwuwPMbyOChEqcs+ OOag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he11-20020a1709073d8b00b007121b9fc6fdsi7859990ejc.792.2022.06.12.22.12.06; Sun, 12 Jun 2022 22:12:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231676AbiFMFKL (ORCPT + 99 others); Mon, 13 Jun 2022 01:10:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233074AbiFMFKC (ORCPT ); Mon, 13 Jun 2022 01:10:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 524302612A for ; Sun, 12 Jun 2022 22:09:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C93AF61232 for ; Mon, 13 Jun 2022 05:09:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F19C3C34114; Mon, 13 Jun 2022 05:09:56 +0000 (UTC) Message-ID: Date: Mon, 13 Jun 2022 15:09:54 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH -next] m68k: coldfire: make symbol m523x_clk_lookup static Content-Language: en-US To: Wang Jingjin , geert@linux-m68k.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Cc: zhengbin13@huawei.com, gaochao49@huawei.com References: <20220610020755.187733-1-wangjingjin1@huawei.com> From: Greg Ungerer In-Reply-To: <20220610020755.187733-1-wangjingjin1@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wang, On 10/6/22 12:07, Wang Jingjin wrote: > Fix sparse warnings: > > arch/m68k/coldfire/m523x.c:31:19: sparse: sparse: symbol 'm523x_clk_lookup' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: Wang Jingjin Thanks. Added to the m68knommu git tree, for-next branch. Regards Greg > --- > arch/m68k/coldfire/m523x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/m68k/coldfire/m523x.c b/arch/m68k/coldfire/m523x.c > index 193c178162c1..83a997313393 100644 > --- a/arch/m68k/coldfire/m523x.c > +++ b/arch/m68k/coldfire/m523x.c > @@ -28,7 +28,7 @@ > DEFINE_CLK(pll, "pll.0", MCF_CLK); > DEFINE_CLK(sys, "sys.0", MCF_BUSCLK); > > -struct clk_lookup m523x_clk_lookup[] = { > +static struct clk_lookup m523x_clk_lookup[] = { > CLKDEV_INIT(NULL, "pll.0", &clk_pll), > CLKDEV_INIT(NULL, "sys.0", &clk_sys), > CLKDEV_INIT("mcfpit.0", NULL, &clk_pll), > -- > 2.25.1 >