devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Colin Foster <colin.foster@in-advantage.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-gpio@vger.kernel.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Vladimir Oltean <vladimir.oltean@nxp.com>,
	Lee Jones <lee.jones@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Lars Povlsen <lars.povlsen@microchip.com>,
	Steen Hegelund <Steen.Hegelund@microchip.com>,
	UNGLinuxDriver@microchip.com,
	Linus Walleij <linus.walleij@linaro.org>,
	Wolfram Sang <wsa-dev@sang-engineering.com>,
	Terry Bowman <terry.bowman@amd.com>,
	Andy Shevchenko <andy.shevchenko@gmail.com>
Subject: Re: [PATCH v10 net-next 7/7] mfd: ocelot: add support for the vsc7512 chip via spi
Date: Sun, 12 Jun 2022 02:45:35 +0800	[thread overview]
Message-ID: <202206120247.2zx79Zg9-lkp@intel.com> (raw)
In-Reply-To: <20220610202330.799510-8-colin.foster@in-advantage.com>

Hi Colin,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Colin-Foster/add-support-for-VSC7512-control-over-SPI/20220611-042931
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git b97dcb85750b7e8bc5aaed5403ddf4b0552c7993
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220612/202206120247.2zx79Zg9-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project ff4abe755279a3a47cc416ef80dbc900d9a98a19)
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/intel-lab-lkp/linux/commit/60523f7239bade660c86be121bd29954c24f53df
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Colin-Foster/add-support-for-VSC7512-control-over-SPI/20220611-042931
        git checkout 60523f7239bade660c86be121bd29954c24f53df
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/

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

All errors (new ones prefixed by >>):

>> drivers/mfd/ocelot-core.c:118:40: error: initializer element is not a compile-time constant
                   .of_reg = vsc7512_miim0_resources[0].start,
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
   1 error generated.


vim +118 drivers/mfd/ocelot-core.c

   103	
   104	static const struct mfd_cell vsc7512_devs[] = {
   105		{
   106			.name = "ocelot-pinctrl",
   107			.of_compatible = "mscc,ocelot-pinctrl",
   108			.num_resources = ARRAY_SIZE(vsc7512_pinctrl_resources),
   109			.resources = vsc7512_pinctrl_resources,
   110		}, {
   111			.name = "ocelot-sgpio",
   112			.of_compatible = "mscc,ocelot-sgpio",
   113			.num_resources = ARRAY_SIZE(vsc7512_sgpio_resources),
   114			.resources = vsc7512_sgpio_resources,
   115		}, {
   116			.name = "ocelot-miim0",
   117			.of_compatible = "mscc,ocelot-miim",
 > 118			.of_reg = vsc7512_miim0_resources[0].start,
   119			.use_of_reg = true,
   120			.num_resources = ARRAY_SIZE(vsc7512_miim0_resources),
   121			.resources = vsc7512_miim0_resources,
   122		}, {
   123			.name = "ocelot-miim1",
   124			.of_compatible = "mscc,ocelot-miim",
   125			.num_resources = ARRAY_SIZE(vsc7512_miim1_resources),
   126			.of_reg = vsc7512_miim1_resources[0].start,
   127			.use_of_reg = true,
   128			.resources = vsc7512_miim1_resources,
   129		},
   130	};
   131	

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

  parent reply	other threads:[~2022-06-11 18:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 20:23 [PATCH v10 net-next 0/7] add support for VSC7512 control over SPI Colin Foster
2022-06-10 20:23 ` [PATCH v10 net-next 1/7] mfd: ocelot: add helper to get regmap from a resource Colin Foster
2022-06-11 10:37   ` Andy Shevchenko
2022-06-11 17:11     ` Colin Foster
2022-06-10 20:23 ` [PATCH v10 net-next 2/7] net: mdio: mscc-miim: add ability to be used in a non-mmio configuration Colin Foster
2022-06-10 20:23 ` [PATCH v10 net-next 3/7] pinctrl: ocelot: " Colin Foster
2022-06-10 20:23 ` [PATCH v10 net-next 4/7] pinctrl: microchip-sgpio: " Colin Foster
2022-06-10 20:23 ` [PATCH v10 net-next 5/7] resource: add define macro for register address resources Colin Foster
2022-06-10 20:23 ` [PATCH v10 net-next 6/7] dt-bindings: mfd: ocelot: add bindings for VSC7512 Colin Foster
2022-06-14 20:43   ` Rob Herring
2022-06-14 21:27     ` Colin Foster
2022-06-10 20:23 ` [PATCH v10 net-next 7/7] mfd: ocelot: add support for the vsc7512 chip via spi Colin Foster
2022-06-11  6:23   ` kernel test robot
2022-06-11 18:45   ` kernel test robot [this message]
2022-06-10 20:34 ` [PATCH v10 net-next 0/7] add support for VSC7512 control over SPI Jakub Kicinski

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=202206120247.2zx79Zg9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Steen.Hegelund@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=andrew@lunn.ch \
    --cc=andy.shevchenko@gmail.com \
    --cc=colin.foster@in-advantage.com \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=hkallweit1@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=krzk@kernel.org \
    --cc=kuba@kernel.org \
    --cc=lars.povlsen@microchip.com \
    --cc=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=llvm@lists.linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robh+dt@kernel.org \
    --cc=terry.bowman@amd.com \
    --cc=vladimir.oltean@nxp.com \
    --cc=wsa-dev@sang-engineering.com \
    /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).