* [pinctrl:for-next 88/90] drivers/pinctrl/mediatek/pinctrl-mt6765.c:1077:14: error: initialization from incompatible pointer type
@ 2019-09-12 17:09 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-09-12 17:09 UTC (permalink / raw)
To: Light Hsieh; +Cc: kbuild-all, linux-gpio, Linus Walleij
[-- Attachment #1: Type: text/plain, Size: 2610 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git for-next
head: 5a85bd8e3af3a78fd05d059835a52f5a7ee2cbc9
commit: dbe733ac908ef232f42a6586fa848d9c6910eeab [88/90] pinctrl: mediatek: Backward compatible to previous Mediatek's bias-pull usage
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout dbe733ac908ef232f42a6586fa848d9c6910eeab
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/pinctrl/mediatek/pinctrl-mt6765.c:1077:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.bias_set = mtk_pinconf_bias_set_combo,
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/mediatek/pinctrl-mt6765.c:1077:14: note: (near initialization for 'mt6765_data.bias_set')
drivers/pinctrl/mediatek/pinctrl-mt6765.c:1078:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.bias_get = mtk_pinconf_bias_get_combo,
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/mediatek/pinctrl-mt6765.c:1078:14: note: (near initialization for 'mt6765_data.bias_get')
cc1: some warnings being treated as errors
vim +1077 drivers/pinctrl/mediatek/pinctrl-mt6765.c
1065
1066 static const struct mtk_pin_soc mt6765_data = {
1067 .reg_cal = mt6765_reg_cals,
1068 .pins = mtk_pins_mt6765,
1069 .npins = ARRAY_SIZE(mtk_pins_mt6765),
1070 .ngrps = ARRAY_SIZE(mtk_pins_mt6765),
1071 .eint_hw = &mt6765_eint_hw,
1072 .gpio_m = 0,
1073 .base_names = mt6765_pinctrl_register_base_names,
1074 .nbase_names = ARRAY_SIZE(mt6765_pinctrl_register_base_names),
1075 .bias_disable_set = mtk_pinconf_bias_disable_set,
1076 .bias_disable_get = mtk_pinconf_bias_disable_get,
> 1077 .bias_set = mtk_pinconf_bias_set_combo,
1078 .bias_get = mtk_pinconf_bias_get_combo,
1079 .drive_set = mtk_pinconf_drive_set_direct_val,
1080 .drive_get = mtk_pinconf_drive_get_direct_val,
1081 .adv_pull_get = mtk_pinconf_adv_pull_get,
1082 .adv_pull_set = mtk_pinconf_adv_pull_set,
1083 };
1084
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 51811 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-12 17:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-12 17:09 [pinctrl:for-next 88/90] drivers/pinctrl/mediatek/pinctrl-mt6765.c:1077:14: error: initialization from incompatible pointer type kbuild test robot
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).