[PATCH 0/4] iomap: fix multiple consistency issues, interface cleanup

From: Hugo Lefeuvre
Date: Mon Feb 18 2019 - 05:53:20 EST


Hi,

This patch cleans up the iomap interface.

The first patch makes the include/asm-generic/iomap.h header compliant
with the kernel style guidelines by adding missing function args
identifier names.

The second and fourth patches address multiple compilation warnings due
to missing const qualifiers in mmio_ins* and ioread*/iowrite
definitions in include/asm-generic/iomap.h and lib/iomap.c.

The third patch modifies io*_rep definitions from asm-generic/io.h to
take unsigned long count parameter instead of unsigned int which is
inconsistent with other definitions in the kernel.

Hugo Lefeuvre (4):
iomap: add missing function args identifier names
iomap: add missing const to ioread*/iowrite addr arg
io: change io*_rep definitions to take ulong count
lib/iomap: add missing const to mmio_ins* addr arg

include/asm-generic/io.h | 16 ++++++++--------
include/asm-generic/iomap.h | 38 ++++++++++++++++++-------------------
lib/iomap.c | 22 ++++++++++-----------
3 files changed, 38 insertions(+), 38 deletions(-)

--
2.20.1