public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes
@ 2023-04-15 11:17 Stanislav Kinsburskii
  2023-04-15 11:17 ` [PATCH 1/7] x86: asm/io.h: " Stanislav Kinsburskii
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Stanislav Kinsburskii @ 2023-04-15 11:17 UTC (permalink / raw)
  Cc: Matt Turner, x86, Stanislav Kinsburskii, Borislav Petkov,
	linux-ia64, Mark Brown, Richard Henderson, linux-kernel,
	Brian Cain, linux-mips, Geert Uytterhoeven, linux-alpha,
	linux-arch, Michael Ellerman, Linus Walleij, Jiaxun Yang,
	Bjorn Helgaas, Andrew Morton, Dave Hansen, Omar Sandoval,
	Helge Deller, linuxppc-dev, linux-hexagon, Thomas Bogendoerfer,
	Ivan Kokshaysky, Ingo Molnar, Arnd Bergmann, Florian Fainelli,
	Chris Down, Nicholas Piggin, Christophe Leroy, H. Peter Anvin,
	Thomas Gleixner

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.

The following series implements...

---

Stanislav Kinsburskii (7):
      x86: asm/io.h: Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes
      alpha: asm/io.h: Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes
      mips: asm/io.h: Expect immutable pointer in isa_virt_to_bus prototype
      hexagon: asm/io.h: Expect immutable pointer in virt_to_phys prototype
      ia64: asm/io.h: Expect immutable pointer in virt_to_phys prototype
      powerpc: asm/io.h: Expect immutable pointer in virt_to_phys prototype
      asm-generic/io.h: Expect immutable pointer in virt_to_phys


 arch/alpha/include/asm/io.h   |    6 +++---
 arch/hexagon/include/asm/io.h |    2 +-
 arch/ia64/include/asm/io.h    |    2 +-
 arch/mips/include/asm/io.h    |    2 +-
 arch/powerpc/include/asm/io.h |    2 +-
 arch/x86/include/asm/io.h     |    4 ++--
 include/asm-generic/io.h      |    2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-08-25  8:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-15 11:17 [PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes Stanislav Kinsburskii
2023-04-15 11:17 ` [PATCH 1/7] x86: asm/io.h: " Stanislav Kinsburskii
2023-08-25  8:39   ` Linus Walleij
2023-04-15 11:17 ` [PATCH 2/7] alpha: " Stanislav Kinsburskii
2023-04-15 11:17 ` [PATCH 3/7] mips: asm/io.h: Expect immutable pointer in isa_virt_to_bus prototype Stanislav Kinsburskii
2023-04-15 11:17 ` [PATCH 4/7] hexagon: asm/io.h: Expect immutable pointer in virt_to_phys prototype Stanislav Kinsburskii
2023-04-15 11:17 ` [PATCH 5/7] ia64: " Stanislav Kinsburskii
2023-04-15 11:17 ` [PATCH 6/7] powerpc: " Stanislav Kinsburskii
2023-04-15 11:17 ` [PATCH 7/7] asm-generic/io.h: Expect immutable pointer in virt_to_phys Stanislav Kinsburskii
2023-08-25  8:38   ` Linus Walleij
2023-04-28  7:40 ` [PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes Arnd Bergmann
2023-05-03  7:32 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox