Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp672179pxk; Thu, 17 Sep 2020 12:59:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWgib2Rok8iv4K2eaIxMRNvsP7aOJEkjG8EoC7fDW0w7VHpMwas+5HEf1a9YxINZQJ/HYS X-Received: by 2002:a17:906:7489:: with SMTP id e9mr31853498ejl.154.1600372788402; Thu, 17 Sep 2020 12:59:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600372788; cv=none; d=google.com; s=arc-20160816; b=URntv+C8ZG2S2DD8sZh7avSEbr9j3b1Hdvpsa/3wxf/FE4Hm9Frl90rGUmxB/W53zm JfkO/hmL0GdKffBDd6nkjoDN3YXezZXcnnMVRyM/YPKTu4Mk6gPAIkFtqwDyf0mp9/n3 c54IDcmDJNI63IJGF/JKfMWf9VmA/C4i4YPoUAHId+GC9l0VdKoTD2aqMSiTRXitr3CL 5908U6BZsi4NkZMWRAWxKLTsPTLgUhT7NJ1NfoTZf+wnsNgtPzd2biBRZKwCWo3GiIL3 m57rg2Q5CKlbsyi+W6RZYWOyfb359nMvpjYwB+XYBT3S9DIVyrhzu1ppwZhTwTWYC15E ah3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=+8c+uZutgFTKkY53RXP7Hk3ZVAVQ2IkPxjwcFyFgJVc=; b=NWVmH2zalitUieSj11WJdVyp9Sd/8VZVtIrp5UnNZC3/zkhiMj00Wd09pOVG4I/DKR 04WELtgKrueNhCau4bx2Y6Yt+tZ5bDeD6WS7fPZSyZ2OoWdQTeQ2UvqEASeX6FertOLX u/s3pE+de2OG67q4R4rX/W1IiIxoMDSYqfj9zyyVVok0HWQ2j6s4szoMcruQ9GFnCAxE pXqOPmWB/sppJLu6U88So9Mfnr/wvo/055ZdCpYw6kPaXqXrK/Qtam2sXi8qbpx6sb3Y PN6GCfE07Mq1ObcCN5euvrHlawfNA7gJA8GfNU4jxAxq47k7I49qDqOeZM2v2Vr7dpOh ulsA== 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 v5si559045edr.49.2020.09.17.12.59.25; Thu, 17 Sep 2020 12:59:48 -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 S1726915AbgIQT6C (ORCPT + 99 others); Thu, 17 Sep 2020 15:58:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726409AbgIQT57 (ORCPT ); Thu, 17 Sep 2020 15:57:59 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20F0EC061222; Thu, 17 Sep 2020 12:44:52 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 7E0491359EF9C; Thu, 17 Sep 2020 12:28:01 -0700 (PDT) Date: Thu, 17 Sep 2020 12:44:45 -0700 (PDT) Message-Id: <20200917.124445.1786301672047605176.davem@davemloft.net> To: mpe@ellerman.id.au Cc: wangwensheng4@huawei.com, benh@kernel.crashing.org, paulus@samba.org, linux-ide@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] ide: Fix symbol undeclared warnings From: David Miller In-Reply-To: <87zh5oobnn.fsf@mpe.ellerman.id.au> References: <20200916092333.77158-1-wangwensheng4@huawei.com> <87zh5oobnn.fsf@mpe.ellerman.id.au> X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [2620:137:e000::1:9]); Thu, 17 Sep 2020 12:28:01 -0700 (PDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Ellerman Date: Thu, 17 Sep 2020 22:01:00 +1000 > Wang Wensheng writes: >> Build the object file with `C=2` and get the following warnings: >> make allmodconfig ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- >> make C=2 drivers/ide/pmac.o ARCH=powerpc64 >> CROSS_COMPILE=powerpc64-linux-gnu- >> >> drivers/ide/pmac.c:228:23: warning: symbol 'mdma_timings_33' was not >> declared. Should it be static? >> drivers/ide/pmac.c:241:23: warning: symbol 'mdma_timings_33k' was not >> declared. Should it be static? >> drivers/ide/pmac.c:254:23: warning: symbol 'mdma_timings_66' was not >> declared. Should it be static? >> drivers/ide/pmac.c:272:3: warning: symbol 'kl66_udma_timings' was not >> declared. Should it be static? >> drivers/ide/pmac.c:1418:12: warning: symbol 'pmac_ide_probe' was not >> declared. Should it be static? >> >> Signed-off-by: Wang Wensheng >> --- >> drivers/ide/pmac.c | 10 +++++----- >> 1 file changed, 5 insertions(+), 5 deletions(-) > > TIL davem maintains IDE? > > But I suspect he isn't that interested in this powerpc only driver, so > I'll grab this. I did have it in my queue, but if you want to take it that's fine too :)