Hi Kris,
FYI, the error/warning still remains.
tree:
https://github.com/intel/linux-intel-lts.git 4.14/yocto/base
head: 1495f925e1703950fc61813cc0377cbcdf648385
commit: 4061602f6467fba015e9923e58102fc2d022b39b [13391/21617] x86/cpu: fix FAM6_ATOM
naming
config: xtensa-randconfig-c004-20201231 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 7.5.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/4061602f6467fba015e9923e5...
git remote add intel-linux-intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.14/yocto/base
git checkout 4061602f6467fba015e9923e58102fc2d022b39b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/sound/pcm.h:27:0,
from sound/core/pcm_iec958.c:11:
include/sound/memalloc.h: In function 'snd_sgbuf_aligned_pages':
> include/sound/memalloc.h:77:17: error: 'PAGE_SIZE'
undeclared (first use in this function); did you mean 'TASK_SIZE'?
return (size + PAGE_SIZE - 1) >> PAGE_SHIFT;
^~~~~~~~~
TASK_SIZE
include/sound/memalloc.h:77:17: note: each undeclared identifier is reported only once
for each function it appears in
> include/sound/memalloc.h:77:35: error: 'PAGE_SHIFT'
undeclared (first use in this function); did you mean 'PAGE_SIZE'?
return (size + PAGE_SIZE - 1) >> PAGE_SHIFT;
^~~~~~~~~~
PAGE_SIZE
vim +77 include/sound/memalloc.h
71
72 /*
73 * return the pages matching with the given byte size
74 */
75 static inline unsigned int snd_sgbuf_aligned_pages(size_t size)
76 {
77 return (size + PAGE_SIZE - 1) >> PAGE_SHIFT;
78 }
79
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org