lkml.org 
[lkml]   [2022]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2 v3] regmap: mmio: Support accelerared noinc operations
On Tue, Aug 16, 2022 at 9:45 PM kernel test robot <lkp@intel.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

\
 
 \ /
  Last update: 2022-08-16 22:52    [W:0.063 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site