* [intel-linux-intel-lts:4.19/android_r 18683/24281] drivers/staging/android/ion/ion_system_heap.c:17:10: fatal error: asm/set_memory.h: No such file or directory
@ 2021-07-31 18:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-31 18:29 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3983 bytes --]
Hi bo,
FYI, the error/warning still remains.
tree: https://github.com/intel/linux-intel-lts.git 4.19/android_r
head: bab33a719ee83c9aa6b042027bf76e0c6916eeed
commit: 2dc602187679f10f3a427de9a96a8940f1ce2257 [18683/24281] ion: fix the tons of warning from PAT
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 10.3.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/linux-intel-lts/commit/2dc602187679f10f3a427de9a96a8940f1ce2257
git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.19/android_r
git checkout 2dc602187679f10f3a427de9a96a8940f1ce2257
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash M=drivers/staging/android/ion
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/xtensa/include/asm/processor.h:15,
from arch/xtensa/include/asm/page.h:14,
from drivers/staging/android/ion/ion_system_heap.c:8:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/xtensa/include/asm/page.h:182:9: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits]
182 | ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
| ^~
include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
arch/xtensa/include/asm/page.h:190:32: note: in expansion of macro 'pfn_valid'
190 | #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
| ^~~~~~~~~
include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
In file included from arch/xtensa/include/asm/processor.h:15,
from arch/xtensa/include/asm/page.h:14,
from drivers/staging/android/ion/ion_system_heap.c:8:
include/linux/dma-mapping.h: In function 'dma_map_resource':
arch/xtensa/include/asm/page.h:182:9: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits]
182 | ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
| ^~
include/linux/compiler.h:77:42: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dma-mapping.h:329:2: note: in expansion of macro 'BUG_ON'
329 | BUG_ON(pfn_valid(PHYS_PFN(phys_addr)));
| ^~~~~~
include/linux/dma-mapping.h:329:9: note: in expansion of macro 'pfn_valid'
329 | BUG_ON(pfn_valid(PHYS_PFN(phys_addr)));
| ^~~~~~~~~
drivers/staging/android/ion/ion_system_heap.c: At top level:
>> drivers/staging/android/ion/ion_system_heap.c:17:10: fatal error: asm/set_memory.h: No such file or directory
17 | #include <asm/set_memory.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
vim +17 drivers/staging/android/ion/ion_system_heap.c
> 17 #include <asm/set_memory.h>
18 #include "ion.h"
19
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 55345 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-31 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-31 18:29 [intel-linux-intel-lts:4.19/android_r 18683/24281] drivers/staging/android/ion/ion_system_heap.c:17:10: fatal error: asm/set_memory.h: No such file or directory kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.