Linux-Next discussions
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the fastrpc tree
@ 2026-07-26 22:42 Mark Brown
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2026-07-26 22:42 UTC | newest]

Thread overview: (only message) (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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox