build failure of next-20220818 due to 81c0386c1376 ("regmap: mmio: Support accelerared noinc operations")
From: Sudip Mukherjee (Codethink)
Date: Thu Aug 18 2022 - 07:25:05 EST
Hi All,
Not sure if it has been reported, builds of alpha allmodconfig have
failed to build next-20220818 with the error:
drivers/base/regmap/regmap-mmio.c: In function 'regmap_mmio_noinc_write':
drivers/base/regmap/regmap-mmio.c:221:17: error: implicit declaration of function 'writesb'; did you mean 'writeb'? [-Werror=implicit-function-declaration]
221 | writesb(ctx->regs + reg, (const u8 *)val, val_count);
| ^~~~~~~
| writeb
drivers/base/regmap/regmap-mmio.c:224:17: error: implicit declaration of function 'writesw'; did you mean 'writew'? [-Werror=implicit-function-declaration]
224 | writesw(ctx->regs + reg, (const u16 *)val, val_count);
| ^~~~~~~
| writew
drivers/base/regmap/regmap-mmio.c:227:17: error: implicit declaration of function 'writesl'; did you mean 'writel'? [-Werror=implicit-function-declaration]
227 | writesl(ctx->regs + reg, (const u32 *)val, val_count);
| ^~~~~~~
| writel
drivers/base/regmap/regmap-mmio.c:231:17: error: implicit declaration of function 'writesq'; did you mean 'writeq'? [-Werror=implicit-function-declaration]
231 | writesq(ctx->regs + reg, (const u64 *)val, val_count);
| ^~~~~~~
| writeq
drivers/base/regmap/regmap-mmio.c: In function 'regmap_mmio_noinc_read':
drivers/base/regmap/regmap-mmio.c:358:17: error: implicit declaration of function 'readsb'; did you mean 'readb'? [-Werror=implicit-function-declaration]
358 | readsb(ctx->regs + reg, (u8 *)val, val_count);
| ^~~~~~
| readb
drivers/base/regmap/regmap-mmio.c:361:17: error: implicit declaration of function 'readsw'; did you mean 'readw'? [-Werror=implicit-function-declaration]
361 | readsw(ctx->regs + reg, (u16 *)val, val_count);
| ^~~~~~
| readw
drivers/base/regmap/regmap-mmio.c:364:17: error: implicit declaration of function 'readsl'; did you mean 'readl'? [-Werror=implicit-function-declaration]
364 | readsl(ctx->regs + reg, (u32 *)val, val_count);
| ^~~~~~
| readl
drivers/base/regmap/regmap-mmio.c:368:17: error: implicit declaration of function 'readsq'; did you mean 'readq'? [-Werror=implicit-function-declaration]
368 | readsq(ctx->regs + reg, (u64 *)val, val_count);
| ^~~~~~
| readq
git bisect pointed to 81c0386c1376 ("regmap: mmio: Support accelerared noinc operations")
And, reverting that commit has fixed the build failure.
I will be happy to test any patch or provide any extra log if needed.
--
Regards
Sudip