void __iomem *addr should be const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux