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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04903EE4996 for ; Tue, 22 Aug 2023 00:32:37 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Zcnzfzoy; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4RV9Kc3Rt8z3c1Y for ; Tue, 22 Aug 2023 10:32:36 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Zcnzfzoy; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=intel.com (client-ip=192.55.52.151; helo=mgamail.intel.com; envelope-from=lkp@intel.com; receiver=lists.ozlabs.org) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4RV9JF3Jk7z2xjw for ; Tue, 22 Aug 2023 10:31:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692664285; x=1724200285; h=date:from:to:cc:subject:message-id:mime-version; bh=H0TOSE7NZYjmKE9HB0o4H1ffQJCmAyQugHMVXs0ipOM=; b=Zcnzfzoy8VF3Ved4ly/EQkBOReR7tRFGYZaJ85ZXayDAJkfMtmqxZkaq ttAQsbVklwfy5i/NcY3DTA3OvfX2XV4jkNegvk1Tl+f6krEq3ZqMwUCen Y/NjVbuAuaVuLegQ5er3WfU+c7GcSpKuCDMq2vIYAc6smULne8HqBcctJ BH5P2xbO5b8jJwgQIHqB3R1mLGnWsxGny7ecCnGD2KYdTgoAuZFhXKIsK dX936Zzdx2rRrfPW6piUQmnbz9MC1aBNXDIi0nLsShEuQHO5OfmwMyW/Z WyKAmmVKi8mqxqlKi/7qyC84B4afmmR3F85bJ/g2oRJDXX+n/D4mIIF5Z g==; X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="354067093" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="354067093" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2023 17:31:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="806098132" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="806098132" Received: from lkp-server02.sh.intel.com (HELO 6809aa828f2a) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 21 Aug 2023 17:31:13 -0700 Received: from kbuild by 6809aa828f2a with local (Exim 4.96) (envelope-from ) id 1qYFIe-00016o-1k; Tue, 22 Aug 2023 00:31:12 +0000 Date: Tue, 22 Aug 2023 08:30:58 +0800 From: kernel test robot To: Christophe Leroy Subject: [powerpc:next-test 9/109] arch/powerpc/include/asm/paca.h:291:36: warning: declaration of 'struct mm_struct' will not be visible outside of this function Message-ID: <202308220857.uFq2oAxM-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: llvm@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, oe-kbuild-all@lists.linux.dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test head: 0f71dcfb4aef6043da6cc509e7a7f6a3ae87c12d commit: 3a24ea0df83e32355d897a18bbd82e05986dcdc3 [9/109] powerpc/kuap: Use ASM feature fixups instead of static branches config: powerpc64-randconfig-r012-20230822 (https://download.01.org/0day-ci/archive/20230822/202308220857.uFq2oAxM-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce: (https://download.01.org/0day-ci/archive/20230822/202308220857.uFq2oAxM-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308220857.uFq2oAxM-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from arch/powerpc/mm/nohash/kup.c:11: In file included from arch/powerpc/include/asm/kup.h:24: In file included from arch/powerpc/include/asm/nohash/kup-booke.h:6: In file included from arch/powerpc/include/asm/mmu.h:148: In file included from arch/powerpc/include/asm/percpu.h:20: arch/powerpc/include/asm/paca.h:155:23: error: field has incomplete type 'struct tlb_core_data' 155 | struct tlb_core_data tcd; | ^ arch/powerpc/include/asm/paca.h:139:9: note: forward declaration of 'struct tlb_core_data' 139 | struct tlb_core_data *tcd_ptr; | ^ >> arch/powerpc/include/asm/paca.h:291:36: warning: declaration of 'struct mm_struct' will not be visible outside of this function [-Wvisibility] 291 | extern void copy_mm_to_paca(struct mm_struct *mm); | ^ 1 warning and 1 error generated. vim +291 arch/powerpc/include/asm/paca.h ^1da177e4c3f41 include/asm-ppc64/paca.h Linus Torvalds 2005-04-16 290 54be0b9c7c9888 arch/powerpc/include/asm/paca.h Michael Ellerman 2018-10-02 @291 extern void copy_mm_to_paca(struct mm_struct *mm); d2e60075a3d442 arch/powerpc/include/asm/paca.h Nicholas Piggin 2018-02-14 292 extern struct paca_struct **paca_ptrs; 1426d5a3bd0758 arch/powerpc/include/asm/paca.h Michael Ellerman 2010-01-28 293 extern void initialise_paca(struct paca_struct *new_paca, int cpu); fc53b4202e61c7 arch/powerpc/include/asm/paca.h Matt Evans 2010-07-07 294 extern void setup_paca(struct paca_struct *new_paca); 59f577743d71bf arch/powerpc/include/asm/paca.h Nicholas Piggin 2018-02-14 295 extern void allocate_paca_ptrs(void); 59f577743d71bf arch/powerpc/include/asm/paca.h Nicholas Piggin 2018-02-14 296 extern void allocate_paca(int cpu); 1426d5a3bd0758 arch/powerpc/include/asm/paca.h Michael Ellerman 2010-01-28 297 extern void free_unused_pacas(void); 1426d5a3bd0758 arch/powerpc/include/asm/paca.h Michael Ellerman 2010-01-28 298 :::::: The code at line 291 was first introduced by commit :::::: 54be0b9c7c9888ebe63b89a31a17ee3df6a68d61 Revert "convert SLB miss handlers to C" and subsequent commits :::::: TO: Michael Ellerman :::::: CC: Michael Ellerman -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki