The patch titled Subject: sh: convert ins[bwl]/outs[bwl] macros to inline functions has been removed from the -mm tree. Its filename was sh-convert-ins-outs-macros-to-inline-functions.patch This patch was dropped because an alternative patch was merged ------------------------------------------------------ From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> Subject: sh: convert ins[bwl]/outs[bwl] macros to inline functions Macro ins[bwl]/outs[bwl] are just calling BUG(), but that results in unused variable warnings all over the place. This patch convert macro to inline to avoid warning We will get this kind of warning without this patch ${LINUX}/drivers/iio/adc/ad7606_par.c:21:23: \ warning: unused variable 'st' [-Wunused-variable] struct ad7606_state *st = iio_priv(indio_dev); ^~ Link: https://marc.info/?l=linux-sh&m=157656907716201 Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> Cc: Alan Modra <amodra@xxxxxxxxx> Cc: Bin Meng <bin.meng@xxxxxxxxxxxxx> Cc: Chen Zhou <chenzhou10@xxxxxxxxxx> Cc: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Cc: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx> Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Cc: Rich Felker <dalias@xxxxxxxx> Cc: Romain Naour <romain.naour@xxxxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/sh/include/asm/io_noioport.h | 36 ++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 7 deletions(-) --- a/arch/sh/include/asm/io_noioport.h~sh-convert-ins-outs-macros-to-inline-functions +++ a/arch/sh/include/asm/io_noioport.h @@ -53,12 +53,34 @@ static inline void ioport_unmap(void __i #define outw_p(x, addr) outw((x), (addr)) #define outl_p(x, addr) outl((x), (addr)) -#define insb(a, b, c) BUG() -#define insw(a, b, c) BUG() -#define insl(a, b, c) BUG() - -#define outsb(a, b, c) BUG() -#define outsw(a, b, c) BUG() -#define outsl(a, b, c) BUG() +static inline void insb (unsigned long port, void *dst, unsigned long count) +{ + BUG(); +} + +static inline void insw (unsigned long port, void *dst, unsigned long count) +{ + BUG(); +} + +static inline void insl (unsigned long port, void *dst, unsigned long count) +{ + BUG(); +} + +static inline void outsb (unsigned long port, const void *src, unsigned long count) +{ + BUG(); +} + +static inline void outsw (unsigned long port, const void *src, unsigned long count) +{ + BUG(); +} + +static inline void outsl (unsigned long port, const void *src, unsigned long count) +{ + BUG(); +} #endif /* __ASM_SH_IO_NOIOPORT_H */ _ Patches currently in -mm which might be from kuninori.morimoto.gx@xxxxxxxxxxx are sh-clkfwk-remove-r8-r16-r32.patch sh-use-generic-strncpy.patch sh-convert-iounmap-macros-to-inline-functions.patch sh-add-missing-export_symbol-for-__delay.patch