All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:pr/391 12917/19640] drivers/gpu/drm/panel/panel-wks-101wx001.c:216:25: error: 'platform_of_match' undeclared here (not in a function)
@ 2021-07-14  0:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-14  0:21 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2560 bytes --]

Hi Robert,

FYI, the error/warning still remains.

tree:   https://github.com/Freescale/linux-fslc pr/391
head:   48afde5dc8ee425a1517ac38d6eca0fec76ad57e
commit: e15e046b8fceb6ae7c94d0ad78ef00a7432efb7b [12917/19640] MLK-24334-1: drm/panel: Add support for WKS-101WX001-WCT parallel display
config: sh-allmodconfig (attached as .config)
compiler: sh4-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/e15e046b8fceb6ae7c94d0ad78ef00a7432efb7b
        git remote add freescale-fslc https://github.com/Freescale/linux-fslc
        git fetch --no-tags freescale-fslc pr/391
        git checkout e15e046b8fceb6ae7c94d0ad78ef00a7432efb7b
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/gpu/drm/panel/

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 drivers/gpu/drm/panel/panel-wks-101wx001.c:10:
>> 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);
         | ^~~~~~~~~~~~~~~~~~~


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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 53920 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-14  0:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  0:21 [freescale-fslc:pr/391 12917/19640] drivers/gpu/drm/panel/panel-wks-101wx001.c:216:25: error: 'platform_of_match' undeclared here (not in a function) 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.