* [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
@ 2022-03-22 11:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-22 11:56 UTC (permalink / raw)
To: AngeloGioacchino Del Regno
Cc: llvm, kbuild-all, linux-gpio, Linus Walleij, Chen-Yu Tsai
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-22 11:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-22 11:56 [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 kernel 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).