lkml.org 
[lkml]   [2023]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes
From
Date
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(-)


\
 
 \ /
  Last update: 2023-04-27 19:43    [W:0.071 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site