From: Thomas Gleixner <tglx@linutronix.de>
To: Hugo Lefeuvre <hle@owl.eu.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: void __iomem *addr should be const
Date: Sat, 16 Feb 2019 20:16:39 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.21.1902162016000.1683@nanos.tec.linutronix.de> (raw)
In-Reply-To: <20190210122903.GA2400@behemoth.owl.eu.com.local>
On Sun, 10 Feb 2019, Hugo Lefeuvre wrote:
> __iomem *addr seems to lack a const qualifier in the ioread* definitions
> from include/asm-generic/iomap.h (other definitions such as
> asm-generic/io.h do have the const).
>
> This issue was briefly discussed a while ago[0] but the outcome is not
> quite clear to me. Should I submit a patch addressing this issue or is it
> a definitive wontfix?
>
> This issue triggers warnings in my current work but I would like to avoid
> dropping the const if possible.
The const makes perfectly sense and we should have consistent state all
over the place.
Thanks,
tglx
next prev parent reply other threads:[~2019-02-16 19:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-10 12:29 Hugo Lefeuvre
2019-02-16 19:16 ` Thomas Gleixner [this message]
2019-02-16 20:49 ` Hugo Lefeuvre
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=alpine.DEB.2.21.1902162016000.1683@nanos.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=arnd@arndb.de \
--cc=hle@owl.eu.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.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®