From: kernel test robot <lkp@intel.com>
To: Andrey Konovalov <andreyknvl@google.com>
Cc: kbuild-all@lists.01.org,
GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
linux-kernel@vger.kernel.org, Alistair Delva <adelva@google.com>,
Vincenzo Frascino <vincenzo.frascino@arm.com>,
Valdis Kletnieks <valdis.kletnieks@vt.edu>,
Marco Elver <elver@google.com>,
Alexander Potapenko <glider@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
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'?
Date: Mon, 21 Feb 2022 04:40:31 +0800 [thread overview]
Message-ID: <202202210428.m74LAo9b-lkp@intel.com> (raw)
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 <lkp@intel.com>
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 <gor@linux.ibm.com>
:::::: CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-02-20 20:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202202210428.m74LAo9b-lkp@intel.com \
--to=lkp@intel.com \
--cc=adelva@google.com \
--cc=akpm@linux-foundation.org \
--cc=andreyknvl@google.com \
--cc=elver@google.com \
--cc=glider@google.com \
--cc=gwml@vger.gnuweeb.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=valdis.kletnieks@vt.edu \
--cc=vincenzo.frascino@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox