From: kernel test robot <lkp@intel.com>
To: "Garmin.Chang" <Garmin.Chang@mediatek.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-clk@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Stephen Boyd <sboyd@kernel.org>,
Chen-Yu Tsai <wenst@chromium.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Subject: [clk:clk-mediatek 80/82] drivers/clk/mediatek/clk-mt8188-wpe.c:91:31: error: 'clk_mt8188_vpp1_id_table' undeclared here (not in a function)
Date: Sat, 1 Apr 2023 10:43:55 +0800 [thread overview]
Message-ID: <202304011039.UBDX1UOT-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-mediatek
head: 0d2f2cefba64729a0730ce183ad58cf3e7929b94
commit: f42b9e9a43e300ef94c3dc0381cc60f50e46e1fe [80/82] clk: mediatek: Add MT8188 wpesys clock support
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20230401/202304011039.UBDX1UOT-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/commit/?id=f42b9e9a43e300ef94c3dc0381cc60f50e46e1fe
git remote add clk https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
git fetch --no-tags clk clk-mediatek
git checkout f42b9e9a43e300ef94c3dc0381cc60f50e46e1fe
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/clk/mediatek/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304011039.UBDX1UOT-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from include/linux/platform_device.h:13,
from drivers/clk/mediatek/clk-mt8188-wpe.c:9:
>> drivers/clk/mediatek/clk-mt8188-wpe.c:91:31: error: 'clk_mt8188_vpp1_id_table' undeclared here (not in a function)
91 | MODULE_DEVICE_TABLE(platform, clk_mt8188_vpp1_id_table);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/module.h:243:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
243 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~
>> include/linux/module.h:243:21: error: '__mod_platform__clk_mt8188_vpp1_id_table_device_table' aliased to undefined symbol 'clk_mt8188_vpp1_id_table'
243 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~~~
drivers/clk/mediatek/clk-mt8188-wpe.c:91:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
91 | MODULE_DEVICE_TABLE(platform, clk_mt8188_vpp1_id_table);
| ^~~~~~~~~~~~~~~~~~~
vim +/clk_mt8188_vpp1_id_table +91 drivers/clk/mediatek/clk-mt8188-wpe.c
85
86 static const struct of_device_id of_match_clk_mt8188_wpe[] = {
87 { .compatible = "mediatek,mt8188-wpesys", .data = &wpe_top_desc },
88 { .compatible = "mediatek,mt8188-wpesys-vpp0", .data = &wpe_vpp0_desc },
89 { /* sentinel */ }
90 };
> 91 MODULE_DEVICE_TABLE(platform, clk_mt8188_vpp1_id_table);
92
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-04-01 2:44 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=202304011039.UBDX1UOT-lkp@intel.com \
--to=lkp@intel.com \
--cc=Garmin.Chang@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sboyd@kernel.org \
--cc=wenst@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).