From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A47D5C4338F for ; Tue, 17 Aug 2021 04:52:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8872F60F5C for ; Tue, 17 Aug 2021 04:52:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237473AbhHQEwz (ORCPT ); Tue, 17 Aug 2021 00:52:55 -0400 Received: from verein.lst.de ([213.95.11.211]:57018 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230272AbhHQEwx (ORCPT ); Tue, 17 Aug 2021 00:52:53 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id AEC7F6736F; Tue, 17 Aug 2021 06:52:18 +0200 (CEST) Date: Tue, 17 Aug 2021 06:52:18 +0200 From: Christoph Hellwig To: Ming Lei Cc: kernel test robot , Thomas Gleixner , Jens Axboe , clang-built-linux@googlegroups.com, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH 5/7] genirq/affinity: move group_cpus_evenly() into lib/ Message-ID: <20210817045218.GE3874@lst.de> References: <20210814123532.229494-6-ming.lei@redhat.com> <202108150001.EBuNGcQ8-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 16, 2021 at 09:04:21AM +0800, Ming Lei wrote: > But the above symbol is exported via EXPORT_SYMBOL_GPL(), in current > kernel tree, we usually keep such exported symbol as global, or is there > some change in kernel coding style recently? This is about prototypes. You need to include group_cpus.h in group_cpus.c so that the prototype is visible at the implementation site.