linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Light Hsieh <light.hsieh@mediatek.com>
Cc: kbuild-all@01.org, linux-gpio@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [pinctrl:for-next 88/90] drivers/pinctrl/mediatek/pinctrl-mt6765.c:1077:14: error: initialization from incompatible pointer type
Date: Fri, 13 Sep 2019 01:09:20 +0800	[thread overview]
Message-ID: <201909130116.2niesydM%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2019-09-12 17:10 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=201909130116.2niesydM%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=light.hsieh@mediatek.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.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).