Hi Tingwei,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on next-20200819]
[cannot apply to stm32/stm32-next soc/for-next linus/master v5.9-rc1 v5.8 v5.8-rc7
v5.9-rc1]
[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]
url:
https://github.com/0day-ci/linux/commits/Tingwei-Zhang/coresight-allow-to...
base: 8eb858df0a5f6bcd371b5d5637255c987278b8c9
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/hwtracing/coresight/coresight-funnel.c:356:20: warning:
initialized field overwritten [-Woverride-init]
356 | .probe =
static_funnel_remove,
| ^~~~~~~~~~~~~~~~~~~~
drivers/hwtracing/coresight/coresight-funnel.c:356:20: note: (near initialization for
'static_funnel_driver.probe')
#
https://github.com/0day-ci/linux/commit/2c4426928ba5d4d9b0a2767700b5ac837...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Tingwei-Zhang/coresight-allow-to-build-coresight-as-modules/20200820-135428
git checkout 2c4426928ba5d4d9b0a2767700b5ac837ecbf0c8
vim +356 drivers/hwtracing/coresight/coresight-funnel.c
353
354 static struct platform_driver static_funnel_driver = {
355 .probe = static_funnel_probe,
356 .probe = static_funnel_remove,
357 .driver
= {
358 .name = "coresight-static-funnel",
359 .of_match_table = static_funnel_match,
360 .acpi_match_table = ACPI_PTR(static_funnel_ids),
361 .pm = &funnel_dev_pm_ops,
362 .suppress_bind_attrs = true,
363 },
364 };
365
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org