Re: [PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Stanislav Kinsburskii" <skinsburskii@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes
- From: "Arnd Bergmann" <arnd@xxxxxxxx>
- Date: Fri, 28 Apr 2023 08:40:51 +0100
- Cc: "Matt Turner" <mattst88@xxxxxxxxx>, x86@xxxxxxxxxx, "Stanislav Kinsburskii" <stanislav.kinsburskii@xxxxxxxxx>, "Borislav Petkov" <bp@xxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, "Mark Brown" <broonie@xxxxxxxxxx>, "Richard Henderson" <richard.henderson@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, "Brian Cain" <bcain@xxxxxxxxxxx>, linux-mips@xxxxxxxxxxxxxxx, "Geert Uytterhoeven" <geert@xxxxxxxxxxxxxx>, linux-alpha@xxxxxxxxxxxxxxx, Linux-Arch <linux-arch@xxxxxxxxxxxxxxx>, "Michael Ellerman" <mpe@xxxxxxxxxxxxxx>, "Linus Walleij" <linus.walleij@xxxxxxxxxx>, "Jiaxun Yang" <jiaxun.yang@xxxxxxxxxxx>, "Bjorn Helgaas" <bhelgaas@xxxxxxxxxx>, "Andrew Morton" <akpm@xxxxxxxxxxxxxxxxxxxx>, "Dave Hansen" <dave.hansen@xxxxxxxxxxxxxxx>, "Omar Sandoval" <osandov@xxxxxx>, "Helge Deller" <deller@xxxxxx>, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-hexagon@xxxxxxxxxxxxxxx, "Thomas Bogendoerfer" <tsbogend@xxxxxxxxxxxxxxxx>, "Ivan Kokshaysky" <ink@xxxxxxxxxxxxxxxxxxxx>, "Ingo Molnar" <mingo@xxxxxxxxxx>, "Florian Fainelli" <f.fainelli@xxxxxxxxx>, "Chris Down" <chris@xxxxxxxxxxxxxx>, "Nicholas Piggin" <npiggin@xxxxxxxxx>, "Christophe Leroy" <christophe.leroy@xxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, "Thomas Gleixner" <tglx@xxxxxxxxxxxxx>
- Feedback-id: i56a14606:Fastmail
- In-reply-to: <168155718437.13678.714141668943813263.stgit@skinsburskii.localdomain>
- References: <168155718437.13678.714141668943813263.stgit@skinsburskii.localdomain>
- User-agent: Cyrus-JMAP/3.9.0-alpha0-374-g72c94f7a42-fm-20230417.001-g72c94f7a
On Sat, Apr 15, 2023, at 12:17, Stanislav Kinsburskii wrote:
> This series is aimed to address compilation warnings when a constant pointer
> is passed to virt_to_phys and isa_virt_to_bus functions:
>
> warning: passing argument 1 of ‘virt_to_phys’ discards ‘const’
> qualifier from pointer target type
> warning: passing argument 1 of ‘isa_virt_to_bus’ discards ‘const’
> qualifier from pointer target type
>
> The change(s) is the same for all architectures, but it's split into a series on
> per-arch basis to simplify applying and testing on the maintainers side.
>
Looks all good to me. If everyone is happy with it, I'll queue it up
after in the asm-generic tree for 6.5, once rc1 is out.
Arnd
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]