Messages in this thread | | | From | Linus Walleij <> | Date | Tue, 16 Aug 2022 22:50:29 +0200 | 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@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
| |