All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Liam R. Howlett" <Liam.Howlett@oracle.com>
Cc: oe-kbuild-all@lists.linux.dev,
	"Liam R. Howlett (Oracle)" <liam@infradead.org>
Subject: [liam:maple_marks_v7.2 3/31] lib/maple_tree.c:1158:21: warning: no previous prototype for function 'mas_lockdep_map'
Date: Sat, 27 Jun 2026 05:38:19 +0800	[thread overview]
Message-ID: <202606270553.g1bOF8H8-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/liam/linux.git maple_marks_v7.2
head:   be119ad50e9c87a4a975871d84614f7c6aeaf0de
commit: 3e341aa5972e499ffef5881c5dad0f9aa3488053 [3/31] maple_tree: Add write lock checking with lockdep sequence numbers
config: i386-randconfig-141-20260627 (https://download.01.org/0day-ci/archive/20260627/202606270553.g1bOF8H8-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
smatch: v0.5.0-9185-gbcc58b9c
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260627/202606270553.g1bOF8H8-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/202606270553.g1bOF8H8-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> lib/maple_tree.c:1158:21: warning: no previous prototype for function 'mas_lockdep_map' [-Wmissing-prototypes]
    1158 | struct lockdep_map *mas_lockdep_map(struct ma_state *mas)
         |                     ^
   lib/maple_tree.c:1158:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
    1158 | struct lockdep_map *mas_lockdep_map(struct ma_state *mas)
         | ^
         | static 
   1 warning generated.


vim +/mas_lockdep_map +1158 lib/maple_tree.c

  1155	
  1156	
  1157	#ifdef CONFIG_LOCKDEP
> 1158	struct lockdep_map *mas_lockdep_map(struct ma_state *mas)
  1159	{
  1160		struct maple_tree *mt = mas->tree;
  1161	
  1162		if (mt_external_lock(mt))
  1163			return mt->ma_external_lock;
  1164	
  1165		return &(mt->ma_lock).dep_map;
  1166	}
  1167	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-06-26 21:39 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=202606270553.g1bOF8H8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Liam.Howlett@oracle.com \
    --cc=liam@infradead.org \
    --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.