All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'?
Date: Tue, 12 May 2026 23:48:08 +0800	[thread overview]
Message-ID: <202605122341.tPYVhghL-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-05-12 15:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202605122341.tPYVhghL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.