From: Hugo Lefeuvre <hle@owl.eu.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: void __iomem *addr should be const
Date: Sun, 10 Feb 2019 13:29:03 +0100 [thread overview]
Message-ID: <20190210122903.GA2400@behemoth.owl.eu.com.local> (raw)
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
Hi,
__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.
regards,
Hugo
[0] https://patchwork.kernel.org/patch/5742881/
--
Hugo Lefeuvre (hle) | www.owl.eu.com
RSA4096_ 360B 03B3 BF27 4F4D 7A3F D5E8 14AA 1EB8 A247 3DFD
ed25519_ 37B2 6D38 0B25 B8A2 6B9F 3A65 A36F 5357 5F2D DC4C
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2019-02-10 12:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-10 12:29 Hugo Lefeuvre [this message]
2019-02-10 12:29 ` void __iomem *addr should be const Hugo Lefeuvre
2019-02-16 19:16 ` Thomas Gleixner
2019-02-16 19:16 ` Thomas Gleixner
2019-02-16 20:49 ` Hugo Lefeuvre
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=20190210122903.GA2400@behemoth.owl.eu.com.local \
--to=hle@owl.eu.com \
--cc=arnd@arndb.de \
--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