Hi "Enrico,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on tip/master]
[also build test ERROR on linux/master linus/master v5.11-rc7]
[cannot apply to robh/for-next driver-core/driver-core-testing gpio/for-next
next-20210212]
[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/Enrico-Weigelt-metux-IT-consult/...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
a7e0bdf1b07ea6169930ec42b0bdb17e1c1e3bb0
config: x86_64-randconfig-a015-20210209 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
c9439ca36342fb6013187d0a69aef92736951476)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://github.com/0day-ci/linux/commit/9c66f4ee396f30c7810edddaa4663aa1f...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Enrico-Weigelt-metux-IT-consult/of-base-improve-error-message-in-of_phandle_iterator_next/20210209-080546
git checkout 9c66f4ee396f30c7810edddaa4663aa1f0fbf2b7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/platform/x86/pcengines-apuv2.c:72:16: error: initializing
'const char **' with an expression of type 'const char *const [7]'
discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
.gpio_names = apu2_gpio_names,
^~~~~~~~~~~~~~~
1 error generated.
vim +72 drivers/platform/x86/pcengines-apuv2.c
f8eb0235f65989 Enrico Weigelt, metux IT consult 2019-02-14 68
f8eb0235f65989 Enrico Weigelt, metux IT consult 2019-02-14 69 static const struct
amd_fch_gpio_pdata board_apu2 = {
f8eb0235f65989 Enrico Weigelt, metux IT consult 2019-02-14 70 .gpio_num =
ARRAY_SIZE(apu2_gpio_regs),
f8eb0235f65989 Enrico Weigelt, metux IT consult 2019-02-14 71 .gpio_reg =
apu2_gpio_regs,
f8eb0235f65989 Enrico Weigelt, metux IT consult 2019-02-14 @72 .gpio_names =
apu2_gpio_names,
f8eb0235f65989 Enrico Weigelt, metux IT consult 2019-02-14 73 };
f8eb0235f65989 Enrico Weigelt, metux IT consult 2019-02-14 74
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org