linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: kernel test robot <lkp@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
	kbuild-all@lists.01.org,
	 Linux Memory Management List <linux-mm@kvack.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	 "moderated list:H8/300 ARCHITECTURE"
	<uclinux-h8-devel@lists.sourceforge.jp>,
	 Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: Re: [linux-next:pending-fixes 192/251] drivers/soc/ixp4xx/ixp4xx-qmgr.c:149:37: sparse: sparse: dereference of noderef expression
Date: Tue, 3 Aug 2021 10:19:39 +0200	[thread overview]
Message-ID: <CAK8P3a2HuXeTrADzf762jdWxoavrg9rBh6pEi2=GnX0deSQMog@mail.gmail.com> (raw)
In-Reply-To: <202108031526.pqcyKQWp-lkp@intel.com>

On Tue, Aug 3, 2021 at 9:01 AM kernel test robot <lkp@intel.com> wrote:
>
> sparse warnings: (new ones prefixed by >>)
>    drivers/soc/ixp4xx/ixp4xx-qmgr.c: note: in included file (through include/linux/io.h, include/linux/irq.h, include/asm-generic/hardirq.h, ...):
> >> drivers/soc/ixp4xx/ixp4xx-qmgr.c:149:37: sparse: sparse: dereference of noderef expression
>    drivers/soc/ixp4xx/ixp4xx-qmgr.c:153:40: sparse: sparse: dereference of noderef expression
>    drivers/soc/ixp4xx/ixp4xx-qmgr.c:154:40: sparse: sparse: dereference of noderef expression
>    arch/h8300/include/asm/io.h:44:11: sparse: sparse: cast removes address space '__iomem' of expression
>    drivers/soc/ixp4xx/ixp4xx-qmgr.c:174:38: sparse: sparse: dereference of noderef expression
>    drivers/soc/ixp4xx/ixp4xx-qmgr.c:174:44: sparse: sparse: dereference of noderef expression

I've sent a fix for this bug in the soc driver, and applied it to the
arm/fixes tree.

>    arch/h8300/include/asm/io.h:26:18: sparse: sparse: cast removes address space '__iomem' of expression
>    arch/h8300/include/asm/io.h:44:11: sparse: sparse: cast removes address space '__iomem' of expression
>    arch/h8300/include/asm/io.h:26:18: sparse: sparse: cast removes address space '__iomem' of expression
>    arch/h8300/include/asm/io.h:44:11: sparse: sparse: cast removes address space '__iomem' of expression

This is a bug in the h8300 architecture code. I have given up fixing
any of the nommu
targets. If anyone wants to send the trivial fix, please go ahead.

       Arnd


      reply	other threads:[~2021-08-03  8:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03  7:01 [linux-next:pending-fixes 192/251] drivers/soc/ixp4xx/ixp4xx-qmgr.c:149:37: sparse: sparse: dereference of noderef expression kernel test robot
2021-08-03  8:19 ` Arnd Bergmann [this message]

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='CAK8P3a2HuXeTrADzf762jdWxoavrg9rBh6pEi2=GnX0deSQMog@mail.gmail.com' \
    --to=arnd@arndb.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=uclinux-h8-devel@lists.sourceforge.jp \
    --cc=ysato@users.sourceforge.jp \
    /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).