public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [PATCH v2 11/12] pinctrl: renesas: r8a779f0: Add QSPI pins, groups, and functions
Date: Tue, 22 Feb 2022 09:54:52 +0800	[thread overview]
Message-ID: <202202220911.QtJ97DYI-lkp@intel.com> (raw)
In-Reply-To: <cd7f7feeabebf268adc9e050e348230e93b40829.1645457792.git.geert+renesas@glider.be>

Hi Geert,

I love your patch! Yet something to improve:

[auto build test ERROR on geert-renesas-drivers/renesas-pinctrl]
[also build test ERROR on robh/for-next linusw-pinctrl/devel v5.17-rc5 next-20220217]
[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/Geert-Uytterhoeven/pinctrl-renesas-Add-R-Car-S4-8-support/20220221-234855
base:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git renesas-pinctrl
config: arm64-randconfig-r021-20220221 (https://download.01.org/0day-ci/archive/20220222/202202220911.QtJ97DYI-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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://github.com/0day-ci/linux/commit/a5976fa9dc1d92148ae24e8dd706696e45a45d5a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Geert-Uytterhoeven/pinctrl-renesas-Add-R-Car-S4-8-support/20220221-234855
        git checkout a5976fa9dc1d92148ae24e8dd706696e45a45d5a
        # 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/renesas/

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/renesas/pfc-r8a779f0.c:1082:2: error: implicit declaration of function 'BUS_DATA_PIN_GROUP' [-Werror,-Wimplicit-function-declaration]
           BUS_DATA_PIN_GROUP(mmc_data, 1),
           ^
   drivers/pinctrl/renesas/pfc-r8a779f0.c:1082:21: error: use of undeclared identifier 'mmc_data'
           BUS_DATA_PIN_GROUP(mmc_data, 1),
                              ^
   drivers/pinctrl/renesas/pfc-r8a779f0.c:1083:21: error: use of undeclared identifier 'mmc_data'
           BUS_DATA_PIN_GROUP(mmc_data, 4),
                              ^
   drivers/pinctrl/renesas/pfc-r8a779f0.c:1084:21: error: use of undeclared identifier 'mmc_data'
           BUS_DATA_PIN_GROUP(mmc_data, 8),
                              ^
>> drivers/pinctrl/renesas/pfc-r8a779f0.c:1116:21: error: use of undeclared identifier 'qspi0_data'
           BUS_DATA_PIN_GROUP(qspi0_data, 2),
                              ^
   drivers/pinctrl/renesas/pfc-r8a779f0.c:1117:21: error: use of undeclared identifier 'qspi0_data'
           BUS_DATA_PIN_GROUP(qspi0_data, 4),
                              ^
>> drivers/pinctrl/renesas/pfc-r8a779f0.c:1119:21: error: use of undeclared identifier 'qspi1_data'
           BUS_DATA_PIN_GROUP(qspi1_data, 2),
                              ^
   drivers/pinctrl/renesas/pfc-r8a779f0.c:1120:21: error: use of undeclared identifier 'qspi1_data'
           BUS_DATA_PIN_GROUP(qspi1_data, 4),
                              ^
   drivers/pinctrl/renesas/pfc-r8a779f0.c:1812:20: error: incompatible function pointer types initializing 'int (*)(struct sh_pfc *, unsigned int, u32 *)' (aka 'int (*)(struct sh_pfc *, unsigned int, unsigned int *)') with an expression of type 'int (unsigned int, u32 *)' (aka 'int (unsigned int, unsigned int *)') [-Werror,-Wincompatible-function-pointer-types]
           .pin_to_pocctrl = r8a779f0_pin_to_pocctrl,
                             ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779f0.c:1827:15: error: invalid application of 'sizeof' to an incomplete type 'const struct sh_pfc_pin_group[]'
           .nr_groups = ARRAY_SIZE(pinmux_groups),
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/kernel.h:55:32: note: expanded from macro 'ARRAY_SIZE'
   #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                                  ^~~~~
   10 errors generated.


vim +/qspi0_data +1116 drivers/pinctrl/renesas/pfc-r8a779f0.c

  1056	
  1057	static const struct sh_pfc_pin_group pinmux_groups[] = {
  1058		SH_PFC_PIN_GROUP(hscif0_data),
  1059		SH_PFC_PIN_GROUP(hscif0_clk),
  1060		SH_PFC_PIN_GROUP(hscif0_ctrl),
  1061		SH_PFC_PIN_GROUP(hscif1_data),
  1062		SH_PFC_PIN_GROUP(hscif1_clk),
  1063		SH_PFC_PIN_GROUP(hscif1_ctrl),
  1064		SH_PFC_PIN_GROUP(hscif2_data),
  1065		SH_PFC_PIN_GROUP(hscif2_clk),
  1066		SH_PFC_PIN_GROUP(hscif2_ctrl),
  1067		SH_PFC_PIN_GROUP(hscif3_data),
  1068		SH_PFC_PIN_GROUP(hscif3_clk),
  1069		SH_PFC_PIN_GROUP(hscif3_ctrl),
  1070		SH_PFC_PIN_GROUP(i2c0),
  1071		SH_PFC_PIN_GROUP(i2c1),
  1072		SH_PFC_PIN_GROUP(i2c2),
  1073		SH_PFC_PIN_GROUP(i2c3),
  1074		SH_PFC_PIN_GROUP(i2c4),
  1075		SH_PFC_PIN_GROUP(i2c5),
  1076		SH_PFC_PIN_GROUP(intc_ex_irq0),
  1077		SH_PFC_PIN_GROUP(intc_ex_irq1),
  1078		SH_PFC_PIN_GROUP(intc_ex_irq2),
  1079		SH_PFC_PIN_GROUP(intc_ex_irq3),
  1080		SH_PFC_PIN_GROUP(intc_ex_irq4),
  1081		SH_PFC_PIN_GROUP(intc_ex_irq5),
  1082		BUS_DATA_PIN_GROUP(mmc_data, 1),
  1083		BUS_DATA_PIN_GROUP(mmc_data, 4),
  1084		BUS_DATA_PIN_GROUP(mmc_data, 8),
  1085		SH_PFC_PIN_GROUP(mmc_ctrl),
  1086		SH_PFC_PIN_GROUP(mmc_cd),
  1087		SH_PFC_PIN_GROUP(mmc_wp),
  1088		SH_PFC_PIN_GROUP(mmc_ds),
  1089		SH_PFC_PIN_GROUP(msiof0_clk),
  1090		SH_PFC_PIN_GROUP(msiof0_sync),
  1091		SH_PFC_PIN_GROUP(msiof0_ss1),
  1092		SH_PFC_PIN_GROUP(msiof0_ss2),
  1093		SH_PFC_PIN_GROUP(msiof0_txd),
  1094		SH_PFC_PIN_GROUP(msiof0_rxd),
  1095		SH_PFC_PIN_GROUP(msiof1_clk),
  1096		SH_PFC_PIN_GROUP(msiof1_sync),
  1097		SH_PFC_PIN_GROUP(msiof1_ss1),
  1098		SH_PFC_PIN_GROUP(msiof1_ss2),
  1099		SH_PFC_PIN_GROUP(msiof1_txd),
  1100		SH_PFC_PIN_GROUP(msiof1_rxd),
  1101		SH_PFC_PIN_GROUP(msiof2_clk),
  1102		SH_PFC_PIN_GROUP(msiof2_sync),
  1103		SH_PFC_PIN_GROUP(msiof2_ss1),
  1104		SH_PFC_PIN_GROUP(msiof2_ss2),
  1105		SH_PFC_PIN_GROUP(msiof2_txd),
  1106		SH_PFC_PIN_GROUP(msiof2_rxd),
  1107		SH_PFC_PIN_GROUP(msiof3_clk),
  1108		SH_PFC_PIN_GROUP(msiof3_sync),
  1109		SH_PFC_PIN_GROUP(msiof3_ss1),
  1110		SH_PFC_PIN_GROUP(msiof3_ss2),
  1111		SH_PFC_PIN_GROUP(msiof3_txd),
  1112		SH_PFC_PIN_GROUP(msiof3_rxd),
  1113		SH_PFC_PIN_GROUP(pcie0_clkreq_n),
  1114		SH_PFC_PIN_GROUP(pcie1_clkreq_n),
  1115		SH_PFC_PIN_GROUP(qspi0_ctrl),
> 1116		BUS_DATA_PIN_GROUP(qspi0_data, 2),
  1117		BUS_DATA_PIN_GROUP(qspi0_data, 4),
  1118		SH_PFC_PIN_GROUP(qspi1_ctrl),
> 1119		BUS_DATA_PIN_GROUP(qspi1_data, 2),
  1120		BUS_DATA_PIN_GROUP(qspi1_data, 4),
  1121		SH_PFC_PIN_GROUP(scif0_data),
  1122		SH_PFC_PIN_GROUP(scif0_clk),
  1123		SH_PFC_PIN_GROUP(scif0_ctrl),
  1124		SH_PFC_PIN_GROUP(scif1_data),
  1125		SH_PFC_PIN_GROUP(scif1_clk),
  1126		SH_PFC_PIN_GROUP(scif1_ctrl),
  1127		SH_PFC_PIN_GROUP(scif3_data),
  1128		SH_PFC_PIN_GROUP(scif3_clk),
  1129		SH_PFC_PIN_GROUP(scif3_ctrl),
  1130		SH_PFC_PIN_GROUP(scif4_data),
  1131		SH_PFC_PIN_GROUP(scif4_clk),
  1132		SH_PFC_PIN_GROUP(scif4_ctrl),
  1133		SH_PFC_PIN_GROUP(scif_clk),
  1134	};
  1135	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

       reply	other threads:[~2022-02-22  1:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cd7f7feeabebf268adc9e050e348230e93b40829.1645457792.git.geert+renesas@glider.be>
2022-02-22  1:54 ` kernel test robot [this message]
2022-02-22  8:22   ` [PATCH v2 11/12] pinctrl: renesas: r8a779f0: Add QSPI pins, groups, and functions Geert Uytterhoeven

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=202202220911.QtJ97DYI-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=geert+renesas@glider.be \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    /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