From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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)
Date: Wed, 14 Jul 2021 08:21:16 +0800 [thread overview]
Message-ID: <202107140810.PWbbPRWN-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-07-14 0:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202107140810.PWbbPRWN-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.