[ammarfaizi2-block:google/android/kernel/common/android13-5.15 1113/2544] drivers/android/android_debug_symbols.c:11:10: fatal error: asm/stacktrace.h: No such file or directory

From: kernel test robot
Date: Fri Jan 07 2022 - 09:15:04 EST


Hi Prasad,

FYI, the error/warning still remains.

tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.15
head: 1d50adbe5ad4df334a576ab1d43c176306255e8a
commit: b2df67a932b5cbd6535de9f1a6e63004992ad014 [1113/2544] ANDROID: android: Create debug_symbols driver
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220107/202201072236.CqiwYsTl-lkp@xxxxxxxxx/config)
compiler: m68k-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/b2df67a932b5cbd6535de9f1a6e63004992ad014
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.15
git checkout b2df67a932b5cbd6535de9f1a6e63004992ad014
# 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=m68k SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/android/android_debug_symbols.c:11:10: fatal error: asm/stacktrace.h: No such file or directory
11 | #include <asm/stacktrace.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.


vim +11 drivers/android/android_debug_symbols.c

2
3 /*
4 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
5 */
6
7 #include <linux/types.h>
8 #include <linux/kernel.h>
9 #include <linux/module.h>
10 #include <linux/android_debug_symbols.h>
> 11 #include <asm/stacktrace.h>
12 #include <asm/sections.h>
13

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx