linux-next: build failure after merge of the fastrpc tree
From: Mark Brown
Date: Sun Jul 26 2026 - 18:42:52 EST
Hi all,
After merging the fastrpc tree, today's linux-next build (x86_64
allmodconfig) failed like this:
/tmp/next/build/drivers/misc/fastrpc.c:599:29: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
599 | idr_remove(&cctx->ctx_idr, FIELD_GET(FASTRPC_CTXID_MASK, ctx->ctxid));
| ^
/tmp/next/build/drivers/misc/fastrpc.c:737:15: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
737 | ctx->ctxid = FIELD_PREP(FASTRPC_CTXID_MASK, ret) |
| ^
/tmp/next/build/drivers/misc/fastrpc.c:2711:10: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2711 | ctxid = FIELD_GET(FASTRPC_CTXID_MASK, rsp->ctx);
| ^
/tmp/next/build/drivers/misc/fastrpc.c:2735:4: error: format specifies type 'unsigned long long' but the argument has type 'int' [-Werror,-Wformat]
2733 | "Stale glink response ctx 0x%llx (expected seq 0x%llx), dropping\n",
| ~~~~
| %x
2734 | rsp->ctx,
2735 | FIELD_GET(FASTRPC_CTXID_SEQ_MASK, ctx->ctxid));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/dev_printk.h:165:39: note: expanded from macro 'dev_dbg'
165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ~~~ ^~~~~~~~~~~
/tmp/next/build/include/linux/dynamic_debug.h:285:19: note: expanded from macro 'dynamic_dev_dbg'
285 | dev, fmt, ##__VA_ARGS__)
| ~~~ ^~~~~~~~~~~
/tmp/next/build/include/linux/dynamic_debug.h:261:59: note: expanded from macro '_dynamic_func_call'
261 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~
/tmp/next/build/include/linux/dynamic_debug.h:259:65: note: expanded from macro '_dynamic_func_call_cls'
259 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~
/tmp/next/build/include/linux/dynamic_debug.h:231:15: note: expanded from macro '__dynamic_func_call_cls'
231 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
4 errors generated.
Caused by commit
10555ba6126ed (misc: fastrpc: Replace hardcoded ctxid mask with GENMASK)
(and one of the subsequent ones that also uses those macros). I have
use the tree from next-20260723 instead.
Attachment:
signature.asc
Description: PGP signature