[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbHvQm-_X4cpRRfeRSNUpTQbeyyQpBPD6TfeomY0nzSsg@mail.gmail.com>
Date: Tue, 16 Aug 2022 22:50:29 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: kernel test robot <lkp@...el.com>
Cc: Mark Brown <broonie@...nel.org>, llvm@...ts.linux.dev,
kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
linux-hexagon@...r.kernel.org
Subject: Re: [PATCH 2/2 v3] regmap: mmio: Support accelerared noinc operations
On Tue, Aug 16, 2022 at 9:45 PM kernel test robot <lkp@...el.com> wrote:
> >> drivers/base/regmap/regmap-mmio.c:212:3: error: call to undeclared function 'writesb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> writesb(ctx->regs + reg, (const u8 *)val, val_count);
> ^
> drivers/base/regmap/regmap-mmio.c:212:3: note: did you mean 'writeb'?
> arch/hexagon/include/asm/io.h:122:20: note: 'writeb' declared here
> static inline void writeb(u8 data, volatile void __iomem *addr)
> ^
> >> drivers/base/regmap/regmap-mmio.c:366:3: error: call to undeclared function 'readsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> readsb(ctx->regs + reg, (u8 *)val, val_count);
> ^
> drivers/base/regmap/regmap-mmio.c:366:3: note: did you mean 'readb'?
> arch/hexagon/include/asm/io.h:83:18: note: 'readb' declared here
> static inline u8 readb(const volatile void __iomem *addr)
> ^
> 2 errors generated.
Yeah Hexagon breaks the <asm/io.h> contract and does not provide
readsb/writesb.
OK I just fix Hexagon as part of patch 2, I hope.
Yours,
Linus Walleij
Powered by blists - more mailing lists