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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 696ECC433EF for ; Sun, 24 Jul 2022 04:39:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pP0FdMqqBDf1XonB1KjLNmYvhyARrJYMhhoUDy2752w=; b=jTgEEs2RYGIeNo pn6Lpv8+FXksr9w1BYYkczpbuOtuzDNmlSY24Thh5zZSx1XXK+wWPM3khRjW6SpgiXJjDa8V4l4sr 7AvsKIB2sOHNDbQheD/mC+B86soG/cx+AeZdG/pEQCMUH5dk9iewMFhAVkJLWVR81gof3iVZqdofw SCFikYnrw43sZMg0Lmim3F94JHU0NCXAmFFMHYX8gUCOwBTY523DAXpBHwPuGaokeQT55lRoutk4A HVaYnxIcW5x741eATPHjaVaOsCTs6yI75jhS3qkcxpf0vswbRStJqFpXesj7M5D0MQEYJTGuMZRdD djRc4cIzoHQDGnpNs9WQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFTO4-00GPcN-Up; Sun, 24 Jul 2022 04:38:41 +0000 Received: from mga04.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFTO0-00GPYK-Hx for linux-arm-kernel@lists.infradead.org; Sun, 24 Jul 2022 04:38:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658637516; x=1690173516; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jKItJCecvltUAB2bB/UxycCz6i1zC2y0CtUaVcxBqms=; b=OM/d/XDmHZBh/n20yYN+8SMHnqlLEAbj4EdPdJk348qvJo5W/ChWWzZg eoghXNW1JRnRJi2z/xkRrempe8rWQiLmdc2vdqLHBpEXkTvoTqTF/1XRu z2GIH3KPS8vJlkfOEHlGZBkYJbfd0Ah2Yeelf4tEhEVUg9j19JEe9UlXQ S7NZGRD/xQqlxVFiNFuONWPNK7YTECc5+aPZdVdCntCWTI9hejvgjM/r3 X+UhPEf4h8ZgtsVwgWTdiaj1kdDyTjerQCYdNvT/13JeUmytE81HKHjq6 RsGwZP+43nprd221ZY0g9/R6xdnLowrQqWgy5/Nu97mIujCTwnt8yUL7X A==; X-IronPort-AV: E=McAfee;i="6400,9594,10417"; a="286274212" X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="286274212" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2022 21:38:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="596344915" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 23 Jul 2022 21:38:26 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oFTNq-0003Xv-0N; Sun, 24 Jul 2022 04:38:26 +0000 Date: Sun, 24 Jul 2022 12:38:19 +0800 From: kernel test robot To: Huacai Chen , Arnd Bergmann , Huacai Chen , Thomas Bogendoerfer , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Catalin Marinas , Will Deacon Cc: kbuild-all@lists.01.org, loongarch@lists.linux.dev, linux-arch@vger.kernel.org, Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , Andrew Morton , Linux Memory Management List , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Feiyang Chen , Min Zhou Subject: Re: [PATCH V5 2/4] LoongArch: Add sparse memory vmemmap support Message-ID: <202207241246.ZV8cRK1g-lkp@intel.com> References: <20220721130419.1904711-3-chenhuacai@loongson.cn> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220721130419.1904711-3-chenhuacai@loongson.cn> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220723_213836_646393_3AFBBAAB X-CRM114-Status: GOOD ( 14.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Huacai, Thank you for the patch! Yet something to improve: [auto build test ERROR on soc/for-next] [also build test ERROR on kvm/queue arm64/for-next/core linus/master v5.19-rc7 next-20220722] [cannot apply to akpm-mm/mm-everything tip/x86/mm] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Huacai-Chen/mm-sparse-vmemmap-Generalise-helpers-and-enable-for-LoongArch/20220721-211006 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next config: nios2-allnoconfig (https://download.01.org/0day-ci/archive/20220724/202207241246.ZV8cRK1g-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/46a065b827f834b046cffafc7fa165b6fadd9c5c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Huacai-Chen/mm-sparse-vmemmap-Generalise-helpers-and-enable-for-LoongArch/20220721-211006 git checkout 46a065b827f834b046cffafc7fa165b6fadd9c5c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from kernel/fork.c:102: >> arch/nios2/include/asm/pgalloc.h:32:13: error: conflicting types for 'pmd_init'; have 'void(long unsigned int, long unsigned int)' 32 | extern void pmd_init(unsigned long page, unsigned long pagetable); | ^~~~~~~~ In file included from include/linux/pid_namespace.h:7, from include/linux/ptrace.h:10, from arch/nios2/include/uapi/asm/elf.h:24, from arch/nios2/include/asm/elf.h:9, from include/linux/elf.h:6, from include/linux/module.h:19, from kernel/fork.c:30: include/linux/mm.h:3206:6: note: previous declaration of 'pmd_init' with type 'void(void *)' 3206 | void pmd_init(void *addr); | ^~~~~~~~ kernel/fork.c:163:13: warning: no previous prototype for 'arch_release_task_struct' [-Wmissing-prototypes] 163 | void __weak arch_release_task_struct(struct task_struct *tsk) | ^~~~~~~~~~~~~~~~~~~~~~~~ kernel/fork.c:852:20: warning: no previous prototype for 'arch_task_cache_init' [-Wmissing-prototypes] 852 | void __init __weak arch_task_cache_init(void) { } | ^~~~~~~~~~~~~~~~~~~~ kernel/fork.c:947:12: warning: no previous prototype for 'arch_dup_task_struct' [-Wmissing-prototypes] 947 | int __weak arch_dup_task_struct(struct task_struct *dst, | ^~~~~~~~~~~~~~~~~~~~ -- In file included from mm/filemap.c:45: >> arch/nios2/include/asm/pgalloc.h:32:13: error: conflicting types for 'pmd_init'; have 'void(long unsigned int, long unsigned int)' 32 | extern void pmd_init(unsigned long page, unsigned long pagetable); | ^~~~~~~~ In file included from include/linux/dax.h:6, from mm/filemap.c:15: include/linux/mm.h:3206:6: note: previous declaration of 'pmd_init' with type 'void(void *)' 3206 | void pmd_init(void *addr); | ^~~~~~~~ vim +32 arch/nios2/include/asm/pgalloc.h cbd15b3fadc27e Ley Foon Tan 2014-11-06 28 cbd15b3fadc27e Ley Foon Tan 2014-11-06 29 /* cbd15b3fadc27e Ley Foon Tan 2014-11-06 30 * Initialize a new pmd table with invalid pointers. cbd15b3fadc27e Ley Foon Tan 2014-11-06 31 */ cbd15b3fadc27e Ley Foon Tan 2014-11-06 @32 extern void pmd_init(unsigned long page, unsigned long pagetable); cbd15b3fadc27e Ley Foon Tan 2014-11-06 33 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel