From: kernel test robot <lkp@intel.com>
To: Felix Fietkau <nbd@nbd.name>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>
Cc: kbuild-all@lists.01.org, john@phrozen.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v7 07/14] clk: en7523: Add clock driver for Airoha EN7523 SoC
Date: Sun, 19 Dec 2021 07:12:10 +0800 [thread overview]
Message-ID: <202112190745.VhE9iVPk-lkp@intel.com> (raw)
In-Reply-To: <20211217112345.14029-8-nbd@nbd.name>
Hi Felix,
I love your patch! Perhaps something to improve:
[auto build test WARNING on robh/for-next]
[also build test WARNING on clk/clk-next v5.16-rc5 next-20211217]
[cannot apply to linusw-gpio/for-next]
[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/Felix-Fietkau/dt-bindings-Add-vendor-prefix-for-Airoha/20211217-202345
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: sparc-randconfig-s031-20211218 (https://download.01.org/0day-ci/archive/20211219/202112190745.VhE9iVPk-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/0day-ci/linux/commit/64b3a07b51d637d0df89f00d061662f8228c0b13
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Felix-Fietkau/dt-bindings-Add-vendor-prefix-for-Airoha/20211217-202345
git checkout 64b3a07b51d637d0df89f00d061662f8228c0b13
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash drivers/clk/ drivers/clocksource/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/clk/clk-en7523.c:240:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *np_base @@ got void [noderef] __iomem *base @@
drivers/clk/clk-en7523.c:240:27: sparse: expected void *np_base
drivers/clk/clk-en7523.c:240:27: sparse: got void [noderef] __iomem *base
>> drivers/clk/clk-en7523.c:243:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/clk/clk-en7523.c:243:29: sparse: expected void const volatile [noderef] __iomem *addr
drivers/clk/clk-en7523.c:243:29: sparse: got void *
>> drivers/clk/clk-en7523.c:245:29: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/clk/clk-en7523.c:245:29: sparse: expected void volatile [noderef] __iomem *addr
drivers/clk/clk-en7523.c:245:29: sparse: got void *
vim +240 drivers/clk/clk-en7523.c
236
237 static void en7523_pci_disable(struct clk_hw *hw)
238 {
239 struct en_clk_gate *cg = container_of(hw, struct en_clk_gate, hw);
> 240 void *np_base = cg->base;
241 u32 val;
242
> 243 val = readl(np_base + REG_PCI_CONTROL);
244 val &= ~REG_PCI_CONTROL_REFCLK_EN1;
> 245 writel(val, np_base + REG_PCI_CONTROL);
246 }
247
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2021-12-18 23:13 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20211217112345.14029-1-nbd@nbd.name>
2021-12-17 11:23 ` [PATCH v7 01/14] dt-bindings: Add vendor prefix for Airoha Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 02/14] dt-bindings: arm: airoha: Add binding for EN7523 SoC and EVB Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 03/14] ARM: dts: Add basic support for Airoha EN7523 Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 04/14] ARM: Add basic support for Airoha EN7523 SoC Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 05/14] ARM: multi_v7_defconfig: Add " Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 06/14] dt-bindings: Add en7523-scu device tree binding documentation Felix Fietkau
2022-01-06 1:30 ` Stephen Boyd
2021-12-17 11:23 ` [PATCH v7 07/14] clk: en7523: Add clock driver for Airoha EN7523 SoC Felix Fietkau
2021-12-18 23:12 ` kernel test robot [this message]
2022-01-06 1:29 ` Stephen Boyd
2021-12-17 11:23 ` [PATCH v7 08/14] ARM: dts: add clock support for Airoha EN7523 Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 09/14] dt-bindings: PCI: Add support for Airoha EN7532 Felix Fietkau
2021-12-17 16:21 ` Bjorn Helgaas
2021-12-17 11:23 ` [PATCH v7 10/14] PCI: mediatek: Allow selecting controller driver for airoha arch Felix Fietkau
2021-12-17 16:25 ` Bjorn Helgaas
2021-12-17 11:23 ` [PATCH v7 11/14] ARM: dts: Add PCIe support for Airoha EN7523 Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 12/14] dt-bindings: arm: airoha: Add binding for Airoha GPIO controller Felix Fietkau
2021-12-17 11:23 ` [PATCH v7 13/14] gpio: Add support for Airoha EN7523 " Felix Fietkau
2021-12-22 2:06 ` Linus Walleij
2021-12-22 7:56 ` Bartosz Golaszewski
2021-12-17 11:23 ` [PATCH v7 14/14] ARM: dts: add GPIO support for Airoha EN7523 Felix Fietkau
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=202112190745.VhE9iVPk-lkp@intel.com \
--to=lkp@intel.com \
--cc=john@phrozen.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=nbd@nbd.name \
--cc=sboyd@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
all inboxes | Powered by JetHome®