tree:
https://github.com/Freescale/linux-fslc 5.4-2.3.x-imx
head: a8a2b9ee4bec0b29d031324160b7f11af42a563a
commit: e15e046b8fceb6ae7c94d0ad78ef00a7432efb7b [12917/16543] MLK-24334-1: drm/panel: Add
support for WKS-101WX001-WCT parallel display
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.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/Freescale/linux-fslc/commit/e15e046b8fceb6ae7c94d0ad78...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.4-2.3.x-imx
git checkout e15e046b8fceb6ae7c94d0ad78ef00a7432efb7b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
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 arch/m68k/include/asm/io_mm.h:25,
from arch/m68k/include/asm/io.h:8,
from include/linux/fb.h:17,
from include/drm/drm_crtc.h:31,
from drivers/gpu/drm/panel/panel-wks-101wx001.c:18:
arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsb':
arch/m68k/include/asm/raw_io.h:83:7: warning: variable '__w' set but not used
[-Wunused-but-set-variable]
83 | ({u8 __w, __v = (b); u32 _addr = ((u32) (addr)); \
| ^~~
arch/m68k/include/asm/raw_io.h:430:3: note: in expansion of macro 'rom_out_8'
430 | rom_out_8(port, *buf++);
| ^~~~~~~~~
arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsw':
arch/m68k/include/asm/raw_io.h:86:8: warning: variable '__w' set but not used
[-Wunused-but-set-variable]
86 | ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \
| ^~~
arch/m68k/include/asm/raw_io.h:448:3: note: in expansion of macro
'rom_out_be16'
448 | rom_out_be16(port, *buf++);
| ^~~~~~~~~~~~
arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsw_swapw':
arch/m68k/include/asm/raw_io.h:90:8: warning: variable '__w' set but not used
[-Wunused-but-set-variable]
90 | ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \
| ^~~
arch/m68k/include/asm/raw_io.h:466:3: note: in expansion of macro
'rom_out_le16'
466 | rom_out_le16(port, *buf++);
| ^~~~~~~~~~~~
In file included from drivers/gpu/drm/panel/panel-wks-101wx001.c:10:
drivers/gpu/drm/panel/panel-wks-101wx001.c: At top level:
> drivers/gpu/drm/panel/panel-wks-101wx001.c:216:25: error:
'platform_of_match' undeclared here (not in a function)
216 |
MODULE_DEVICE_TABLE(of, platform_of_match);
| ^~~~~~~~~~~~~~~~~
include/linux/module.h:227:15: note: in definition of macro
'MODULE_DEVICE_TABLE'
227 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~
> include/linux/module.h:227:21: error:
'__mod_of__platform_of_match_device_table' aliased to undefined symbol
'platform_of_match'
227 | extern typeof(name)
__mod_##type##__##name##_device_table \
| ^~~~~~
drivers/gpu/drm/panel/panel-wks-101wx001.c:216:1: note: in expansion of macro
'MODULE_DEVICE_TABLE'
216 | MODULE_DEVICE_TABLE(of, platform_of_match);
| ^~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES
Depends on DISCONTIGMEM || NUMA
Selected by
- SINGLE_MEMORY_CHUNK && MMU
vim +/platform_of_match +216 drivers/gpu/drm/panel/panel-wks-101wx001.c
211
212 static const struct of_device_id wks_of_match[] = {
213 { .compatible = "wks,101wx001", },
214 { /* sentinel */ }
215 };
216 MODULE_DEVICE_TABLE(of, platform_of_match);
217
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org