[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202211260257.ggNvnap5-lkp@intel.com>
Date: Sat, 26 Nov 2022 02:37:19 +0800
From: kernel test robot <lkp@...el.com>
To: Wang Honghui <honghui.wang@...s.com.cn>,
Sudeep Holla <sudeep.holla@....com>,
Cristian Marussi <cristian.marussi@....com>,
Jassi Brar <jassisinghbrar@...il.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev
Subject: Re: [PATCH] clk-scpi: Modify to recall scpi_clocks_probe
Hi Wang,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on clk/clk-next]
[also build test ERROR on linus/master v6.1-rc6 next-20221125]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Wang-Honghui/clk-scpi-Modify-to-recall-scpi_clocks_probe/20221125-103824
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link: https://lore.kernel.org/r/950BEC68ABB5129B%2BY4Ap%2FWUNrJ2BTmYD%40TP-P15V.lan
patch subject: [PATCH] clk-scpi: Modify to recall scpi_clocks_probe
config: riscv-allmodconfig
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://github.com/intel-lab-lkp/linux/commit/87a5d40d3d7e214f24c6c95af7d8f381cfe83bdc
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Wang-Honghui/clk-scpi-Modify-to-recall-scpi_clocks_probe/20221125-103824
git checkout 87a5d40d3d7e214f24c6c95af7d8f381cfe83bdc
# 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 SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from drivers/clk/clk-scpi.c:9:
>> drivers/clk/clk-scpi.c:309:27: error: 'scpi_clock_acpi_match' undeclared here (not in a function); did you mean 'scpi_cpufreq_acpi_match'?
309 | MODULE_DEVICE_TABLE(acpi, scpi_clock_acpi_match);
| ^~~~~~~~~~~~~~~~~~~~~
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_acpi__scpi_clock_acpi_match_device_table' aliased to undefined symbol 'scpi_clock_acpi_match'
243 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~~~
drivers/clk/clk-scpi.c:309:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
309 | MODULE_DEVICE_TABLE(acpi, scpi_clock_acpi_match);
| ^~~~~~~~~~~~~~~~~~~
vim +309 drivers/clk/clk-scpi.c
303
304 /* Wang Honghui add to support Phytium FT2000/4 CPUs */
305 static const struct acpi_device_id scpi_cpufreq_acpi_match[] = {
306 { .id = "PHYT8001" },
307 { }
308 };
> 309 MODULE_DEVICE_TABLE(acpi, scpi_clock_acpi_match);
310
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (320938 bytes)
Powered by blists - more mailing lists