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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FBE4C4332F for ; Sun, 20 Feb 2022 20:40:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7A41F6B0072; Sun, 20 Feb 2022 15:40:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 72ACA6B0073; Sun, 20 Feb 2022 15:40:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5A6566B0074; Sun, 20 Feb 2022 15:40:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0133.hostedemail.com [216.40.44.133]) by kanga.kvack.org (Postfix) with ESMTP id 49ADD6B0072 for ; Sun, 20 Feb 2022 15:40:57 -0500 (EST) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id E738F180BAA78 for ; Sun, 20 Feb 2022 20:40:56 +0000 (UTC) X-FDA: 79164327312.29.B7E3FE1 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf26.hostedemail.com (Postfix) with ESMTP id BCC3F140005 for ; Sun, 20 Feb 2022 20:40:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645389655; x=1676925655; h=date:from:to:cc:subject:message-id:mime-version; bh=dw+FKqxKKLVA8GxwhFDvPtwMA03m7I0f85QrVyvUwYQ=; b=ebdIKJpgfkj7qI1+7vVHSlEtG7iW8lH0/1KZhiOMlJH89kMczK3iSgmV oHf549xPR/NNe5zn0rU6KTmKZvNHc5C/+6YYDG7I1UPxsNdU0lSPFFJVe H1RWLsTaPhzxoUwmQ4IxSPSTwQqXS8phTKyiohVy4wtZGUyoSen50e37B 1j21QTbwMrZWykY/yCQ0VprlJNi2Zt6Jw5CR2XHfc28pNWQIDYVie+rvF +IAHg48d7fm7xDVBNXX5X3cAutmc8LP/vPPgfY3cTe7rRwi7c1JoS1B+8 q0UcQ9ZUC2R8RNyVpyBIstnJBmuySmJETaACses1v/gNWqGo5kks3GXDR A==; X-IronPort-AV: E=McAfee;i="6200,9189,10264"; a="275990853" X-IronPort-AV: E=Sophos;i="5.88,384,1635231600"; d="scan'208";a="275990853" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2022 12:40:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,384,1635231600"; d="scan'208";a="504630116" Received: from lkp-server01.sh.intel.com (HELO da3212ac2f54) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 20 Feb 2022 12:40:51 -0800 Received: from kbuild by da3212ac2f54 with local (Exim 4.92) (envelope-from ) id 1nLt0k-0000jR-D1; Sun, 20 Feb 2022 20:40:50 +0000 Date: Mon, 21 Feb 2022 04:40:31 +0800 From: kernel test robot To: Andrey Konovalov Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Alistair Delva , Vincenzo Frascino , Valdis Kletnieks , Marco Elver , Alexander Potapenko , Andrew Morton , Linux Memory Management List Subject: [ammarfaizi2-block:google/android/kernel/common/android-gs-raviole-5.10-android12-qpr1-d 1559/8858] arch/s390/include/asm/kasan.h:20:31: error: unknown type name 'pgd_t'; did you mean 'pid_t'? Message-ID: <202202210428.m74LAo9b-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: BCC3F140005 X-Stat-Signature: jysznqbaw8kn6w37f3638uspwgekp83x Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ebdIKJpg; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf26.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1645389655-717774 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Andrey, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-gs-raviole-5.10-android12-qpr1-d head: 9771767708df4fcf51cd1642e041c804a86e740c commit: f4fb11566b5eb19aa91f674123a365854ab1470f [1559/8858] UPSTREAM: kasan: shadow declarations only for software modes config: s390-randconfig-r044-20220220 (https://download.01.org/0day-ci/archive/20220221/202202210428.m74LAo9b-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 11.2.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/ammarfaizi2/linux-block/commit/f4fb11566b5eb19aa91f674123a365854ab1470f git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-gs-raviole-5.10-android12-qpr1-d git checkout f4fb11566b5eb19aa91f674123a365854ab1470f # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash arch/s390/mm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): In file included from include/linux/kasan.h:15, from arch/s390/mm/kasan_init.c:2: >> arch/s390/include/asm/kasan.h:20:31: error: unknown type name 'pgd_t'; did you mean 'pid_t'? 20 | extern void kasan_copy_shadow(pgd_t *dst); | ^~~~~ | pid_t >> arch/s390/mm/kasan_init.c:419:13: warning: no previous prototype for 'kasan_copy_shadow' [-Wmissing-prototypes] 419 | void __init kasan_copy_shadow(pgd_t *pg_dir) | ^~~~~~~~~~~~~~~~~ vim +20 arch/s390/include/asm/kasan.h 42db5ed86090d8 Vasily Gorbik 2017-11-17 18 42db5ed86090d8 Vasily Gorbik 2017-11-17 19 extern void kasan_early_init(void); 42db5ed86090d8 Vasily Gorbik 2017-11-17 @20 extern void kasan_copy_shadow(pgd_t *dst); 135ff163939294 Vasily Gorbik 2017-11-20 21 extern void kasan_free_early_identity(void); c360c9a238d175 Vasily Gorbik 2020-09-11 22 extern unsigned long kasan_vmax; 42db5ed86090d8 Vasily Gorbik 2017-11-17 23 #else 42db5ed86090d8 Vasily Gorbik 2017-11-17 24 static inline void kasan_early_init(void) { } 42db5ed86090d8 Vasily Gorbik 2017-11-17 25 static inline void kasan_copy_shadow(pgd_t *dst) { } 135ff163939294 Vasily Gorbik 2017-11-20 26 static inline void kasan_free_early_identity(void) { } 42db5ed86090d8 Vasily Gorbik 2017-11-17 27 #endif 42db5ed86090d8 Vasily Gorbik 2017-11-17 28 :::::: The code at line 20 was first introduced by commit :::::: 42db5ed86090d8e57ca08bfd162a10be6320cc49 s390/kasan: add initialization code and enable it :::::: TO: Vasily Gorbik :::::: CC: Martin Schwidefsky --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org