* [android-common:android16-6.12 3/3] include/linux/gfp.h:17:52: error: implicit declaration of function '__VA_OPT__'; did you mean '__VFP_FP__'?
@ 2026-08-30 14:03 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-30 14:03 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android16-6.12
head: 36bee94a7cf9bbd4a0782169da5e69c5b3bd5212
commit: 89ffa47ebb4b594af723bd02370a212dbac525bf [3/3] UPSTREAM: fscrypt: Replace mk_users keyring with simple list
config: arm-randconfig-003-20260829 (https://download.01.org/0day-ci/archive/20260830/202608302253.SFpWbhN1-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260830/202608302253.SFpWbhN1-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608302253.SFpWbhN1-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/percpu.h:5:0,
from include/linux/percpu_counter.h:14,
from include/linux/mm_types.h:21,
from include/linux/mmzone.h:23,
from include/linux/gfp.h:7,
from include/linux/slab.h:17,
from include/linux/crypto.h:17,
from include/crypto/skcipher.h:13,
from fs/crypto/keyring.c:22:
fs/crypto/keyring.c: In function 'add_master_key_user':
>> include/linux/gfp.h:17:52: error: implicit declaration of function '__VA_OPT__'; did you mean '__VFP_FP__'? [-Werror=implicit-function-declaration]
#define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
^
include/linux/alloc_tag.h:227:9: note: in definition of macro 'alloc_hooks_tag'
typeof(_do_alloc) _res; \
^~~~~~~~~
include/linux/slab.h:1119:25: note: in expansion of macro 'alloc_hooks'
#define kzalloc(...) alloc_hooks(kzalloc_noprof(__VA_ARGS__))
^~~~~~~~~~~
include/linux/slab.h:903:10: note: in expansion of macro 'kzalloc'
(TYPE *)KMALLOC(__obj_size, GFP); \
^~~~~~~
include/linux/slab.h:967:2: note: in expansion of macro '__alloc_objs'
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
^~~~~~~~~~~~
include/linux/gfp.h:17:26: note: in expansion of macro '__default_gfp'
#define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
^~~~~~~~~~~~~
include/linux/slab.h:967:24: note: in expansion of macro 'default_gfp'
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
^~~~~~~~~~~
fs/crypto/keyring.c:359:12: note: in expansion of macro 'kzalloc_obj'
mk_user = kzalloc_obj(*mk_user);
^~~~~~~~~~~
>> include/linux/gfp.h:17:63: error: expected expression before ',' token
#define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
^
include/linux/alloc_tag.h:227:9: note: in definition of macro 'alloc_hooks_tag'
typeof(_do_alloc) _res; \
^~~~~~~~~
include/linux/slab.h:1119:25: note: in expansion of macro 'alloc_hooks'
#define kzalloc(...) alloc_hooks(kzalloc_noprof(__VA_ARGS__))
^~~~~~~~~~~
include/linux/slab.h:903:10: note: in expansion of macro 'kzalloc'
(TYPE *)KMALLOC(__obj_size, GFP); \
^~~~~~~
include/linux/slab.h:967:2: note: in expansion of macro '__alloc_objs'
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
^~~~~~~~~~~~
include/linux/gfp.h:17:26: note: in expansion of macro '__default_gfp'
#define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
^~~~~~~~~~~~~
include/linux/slab.h:967:24: note: in expansion of macro 'default_gfp'
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
^~~~~~~~~~~
fs/crypto/keyring.c:359:12: note: in expansion of macro 'kzalloc_obj'
mk_user = kzalloc_obj(*mk_user);
^~~~~~~~~~~
>> include/linux/gfp.h:17:63: error: expected expression before ',' token
#define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
^
include/linux/alloc_tag.h:231:10: note: in definition of macro 'alloc_hooks_tag'
_res = _do_alloc; \
^~~~~~~~~
include/linux/slab.h:1119:25: note: in expansion of macro 'alloc_hooks'
#define kzalloc(...) alloc_hooks(kzalloc_noprof(__VA_ARGS__))
^~~~~~~~~~~
include/linux/slab.h:903:10: note: in expansion of macro 'kzalloc'
(TYPE *)KMALLOC(__obj_size, GFP); \
^~~~~~~
include/linux/slab.h:967:2: note: in expansion of macro '__alloc_objs'
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
^~~~~~~~~~~~
include/linux/gfp.h:17:26: note: in expansion of macro '__default_gfp'
#define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
^~~~~~~~~~~~~
include/linux/slab.h:967:24: note: in expansion of macro 'default_gfp'
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
^~~~~~~~~~~
fs/crypto/keyring.c:359:12: note: in expansion of macro 'kzalloc_obj'
mk_user = kzalloc_obj(*mk_user);
^~~~~~~~~~~
>> include/linux/gfp.h:17:63: error: expected expression before ',' token
#define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
^
include/linux/alloc_tag.h:234:10: note: in definition of macro 'alloc_hooks_tag'
_res = _do_alloc; \
^~~~~~~~~
include/linux/slab.h:1119:25: note: in expansion of macro 'alloc_hooks'
#define kzalloc(...) alloc_hooks(kzalloc_noprof(__VA_ARGS__))
^~~~~~~~~~~
include/linux/slab.h:903:10: note: in expansion of macro 'kzalloc'
(TYPE *)KMALLOC(__obj_size, GFP); \
^~~~~~~
include/linux/slab.h:967:2: note: in expansion of macro '__alloc_objs'
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
^~~~~~~~~~~~
include/linux/gfp.h:17:26: note: in expansion of macro '__default_gfp'
#define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
^~~~~~~~~~~~~
include/linux/slab.h:967:24: note: in expansion of macro 'default_gfp'
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
^~~~~~~~~~~
fs/crypto/keyring.c:359:12: note: in expansion of macro 'kzalloc_obj'
mk_user = kzalloc_obj(*mk_user);
^~~~~~~~~~~
cc1: some warnings being treated as errors
vim +17 include/linux/gfp.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 14
98e5d4dd4c5c8c Linus Torvalds 2026-07-16 15 /* Helper macro to avoid gfp flags if they are the default one */
98e5d4dd4c5c8c Linus Torvalds 2026-07-16 16 #define __default_gfp(a,...) a
98e5d4dd4c5c8c Linus Torvalds 2026-07-16 @17 #define default_gfp(...) __default_gfp(__VA_ARGS__ __VA_OPT__(,) GFP_KERNEL)
98e5d4dd4c5c8c Linus Torvalds 2026-07-16 18
:::::: The code at line 17 was first introduced by commit
:::::: 98e5d4dd4c5c8cf8cda5d121d4a0df9729b3d579 UPSTREAM: add default_gfp() helper macro and use it in the new *alloc_obj() helpers
:::::: TO: Linus Torvalds <torvalds@linux-foundation.org>
:::::: CC: Carlos Llamas <cmllamas@google.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-30 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-30 14:03 [android-common:android16-6.12 3/3] include/linux/gfp.h:17:52: error: implicit declaration of function '__VA_OPT__'; did you mean '__VFP_FP__'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.