All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android14-6.1-2025-08 8/8] include/linux/local_lock_internal.h:41:9: error: implicit declaration of function 'lock_map_acquire_try'; did you mean 'lock_map_acquire_tryread'?
@ 2026-05-12 15:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-12 15:48 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android14-6.1-2025-08
head:   d9fe799ca2218c0bfd4fe20d538a102be53c9ca2
commit: dcec04b830ed18003986b243ff4e48dd34268713 [8/8] UPSTREAM: locking/local_lock: Introduce localtry_lock_t
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260512/202605122341.tPYVhghL-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260512/202605122341.tPYVhghL-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/202605122341.tPYVhghL-lkp@intel.com/

All errors (new ones prefixed by >>):

   scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
   scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
   scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
   In file included from include/linux/local_lock.h:5,
                    from include/linux/mmzone.h:24,
                    from include/linux/gfp.h:7,
                    from include/linux/slab.h:16,
                    from include/linux/crypto.h:20,
                    from arch/x86/kernel/asm-offsets.c:9:
   include/linux/local_lock_internal.h: In function 'local_trylock_acquire':
>> include/linux/local_lock_internal.h:41:9: error: implicit declaration of function 'lock_map_acquire_try'; did you mean 'lock_map_acquire_tryread'? [-Wimplicit-function-declaration]
      41 |         lock_map_acquire_try(&l->dep_map);
         |         ^~~~~~~~~~~~~~~~~~~~
         |         lock_map_acquire_tryread
   make[2]: *** [scripts/Makefile.build:118: arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:1369: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:256: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +41 include/linux/local_lock_internal.h

    38	
    39	static inline void local_trylock_acquire(local_lock_t *l)
    40	{
  > 41		lock_map_acquire_try(&l->dep_map);
    42		DEBUG_LOCKS_WARN_ON(l->owner);
    43		l->owner = current;
    44	}
    45	

-- 
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-05-12 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 15:48 [android-common:android14-6.1-2025-08 8/8] include/linux/local_lock_internal.h:41:9: error: implicit declaration of function 'lock_map_acquire_try'; did you mean 'lock_map_acquire_tryread'? 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.