* linux-next: build failure after merge of the fastrpc tree
@ 2026-07-26 22:42 Mark Brown
2026-07-29 6:55 ` Srinivas Kandagatla
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-07-26 22:42 UTC (permalink / raw)
To: Srini Kandagatla, Ekansh Gupta
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 3078 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: linux-next: build failure after merge of the fastrpc tree
2026-07-26 22:42 linux-next: build failure after merge of the fastrpc tree Mark Brown
@ 2026-07-29 6:55 ` Srinivas Kandagatla
0 siblings, 0 replies; 2+ messages in thread
From: Srinivas Kandagatla @ 2026-07-29 6:55 UTC (permalink / raw)
To: Mark Brown, Srini Kandagatla, Ekansh Gupta
Cc: Linux Kernel Mailing List, Linux Next Mailing List
On 7/26/26 11:42 PM, Mark Brown wrote:
> 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));
This is now fixed in fastrpc tree.
--srini
> | ^
> /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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-29 6:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-26 22:42 linux-next: build failure after merge of the fastrpc tree Mark Brown
2026-07-29 6:55 ` Srinivas Kandagatla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox