Re: [PATCH] m68k: asm/io.h: mark mmio read addresses as const

From: Arnd Bergmann
Date: Mon Oct 02 2023 - 15:42:45 EST


On Mon, Oct 2, 2023, at 15:12, Geert Uytterhoeven wrote:
> On Mon, Sep 25, 2023 at 5:53 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>> #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b))
>> #define out_be16(addr,w) (void)((*(__force volatile u16 *) (unsigned long)(addr)) = (w))
>
> Shouldn't a similar change be made to rom_in_{8,be16,le16}()?

Right, these seem to have escaped my regex searches.

> I can do that while applying...

Ok, thanks!

Arnd