linux-next: build failure after merge of the fastrpc tree

Mark Brown <[email protected]> Sun, 26 Jul 2026 23:42:40 +0100
Newsgroups org.kernel.vger.linux-next,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmpmjV8ACgkQJNaLcl1U
h9BdhQgAhenC/0MtU9yPOCuGcIy/sr8ebJ59z+GTrtpU5p5aGXDnzLZaHKQDuGPd
x23yf3tKwbRgPOe60amQywolf+zQqUcBAHF6ychyghY41gBN1XbXkZzsXVVhqDcl
uD0Xtbmwamei2wkOR+PFl39vwzkeyzZ1AJNG3bvRZtzAYyPlUeRHXRXhVKTepd/o
H2rfekQNnqFCKdCurWS+OrJYrVANo9iMq8680XLwRosmnc6PxXjQgKrmQ/tqXCJ6
bvdLeVj3P6cH3aOztmT2af0tRz6uXOc9UPMHW6kk2Ixub/9GOpdyEZmEsTEyR9ep
0ln1PqAGEk5bMhoo2hUCxQNnHaXeLA==
=fWOZ
-----END PGP SIGNATURE-----