linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: AngeloGioacchino Del Regno  <angelogioacchino.delregno@collabora.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-gpio@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>,
	Chen-Yu Tsai <wenst@chromium.org>
Subject: [linusw-pinctrl:for-next 72/78] drivers/pinctrl/mediatek/pinctrl-mt8186.c:1254:39: error: too many arguments to function call, expected single argument 'pdev', have 2 arguments
Date: Tue, 22 Mar 2022 19:56:37 +0800	[thread overview]
Message-ID: <202203221951.it5LJ3eo-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git for-next
head:   4d3a82e4ec28e7956db55487eeb480407a002c37
commit: 78df7bba4ab88dd6f663335858b92f9cfa2cb850 [72/78] pinctrl: mediatek: paris: Unify probe function by using OF match data
config: arm64-randconfig-r022-20220320 (https://download.01.org/0day-ci/archive/20220322/202203221951.it5LJ3eo-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 85e9b2687a13d1908aa86d1b89c5ce398a06cd39)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/commit/?id=78df7bba4ab88dd6f663335858b92f9cfa2cb850
        git remote add linusw-pinctrl https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
        git fetch --no-tags linusw-pinctrl for-next
        git checkout 78df7bba4ab88dd6f663335858b92f9cfa2cb850
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/pinctrl/mediatek/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/pinctrl/mediatek/pinctrl-mt8186.c:1254:39: error: too many arguments to function call, expected single argument 'pdev', have 2 arguments
           return mtk_paris_pinctrl_probe(pdev, &mt8186_data);
                  ~~~~~~~~~~~~~~~~~~~~~~~       ^~~~~~~~~~~~
   drivers/pinctrl/mediatek/pinctrl-paris.h:60:5: note: 'mtk_paris_pinctrl_probe' declared here
   int mtk_paris_pinctrl_probe(struct platform_device *pdev);
       ^
   1 error generated.


vim +/pdev +1254 drivers/pinctrl/mediatek/pinctrl-mt8186.c

8b483bda1e46604 Guodong Liu 2022-02-16  1247  
8b483bda1e46604 Guodong Liu 2022-02-16  1248  static const struct of_device_id mt8186_pinctrl_of_match[] = {
8b483bda1e46604 Guodong Liu 2022-02-16  1249  	{ .compatible = "mediatek,mt8186-pinctrl", },
8b483bda1e46604 Guodong Liu 2022-02-16  1250  	{ }
8b483bda1e46604 Guodong Liu 2022-02-16  1251  };
8b483bda1e46604 Guodong Liu 2022-02-16  1252  static int mt8186_pinctrl_probe(struct platform_device *pdev)
8b483bda1e46604 Guodong Liu 2022-02-16  1253  {
8b483bda1e46604 Guodong Liu 2022-02-16 @1254  	return mtk_paris_pinctrl_probe(pdev, &mt8186_data);
8b483bda1e46604 Guodong Liu 2022-02-16  1255  }
8b483bda1e46604 Guodong Liu 2022-02-16  1256  

:::::: The code at line 1254 was first introduced by commit
:::::: 8b483bda1e4660411b24736e5fd6ddab472611bc pinctrl: add pinctrl driver on mt8186

:::::: TO: Guodong Liu <guodong.liu@mediatek.com>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-03-22 11:57 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=202203221951.it5LJ3eo-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=wenst@chromium.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).