All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [anolis-intel-cloud:devel-6.6 50/50] fs/jbd2/journal.c:1508:6: warning: no previous prototype for 'jbd2_proxy_exec_get'
Date: Sat, 13 Dec 2025 23:20:58 +0100	[thread overview]
Message-ID: <202512132342.TbUX2bvG-lkp@intel.com> (raw)

tree:   https://gitee.com/anolis/intel-cloud-kernel.git devel-6.6
head:   7c285f40a964b427534f3dab33b104ee9cab6245
commit: abd67b878ec2ea7ac5446e95b7f27258eba37e41 [50/50] anolis: sched: introduce simplified proxy execution for jbd2_lock
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251213/202512132342.TbUX2bvG-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/20251213/202512132342.TbUX2bvG-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/202512132342.TbUX2bvG-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/jbd2/journal.c:1508:6: warning: no previous prototype for 'jbd2_proxy_exec_get' [-Wmissing-prototypes]
    1508 | void jbd2_proxy_exec_get(journal_t *journal)
         |      ^~~~~~~~~~~~~~~~~~~


vim +/jbd2_proxy_exec_get +1508 fs/jbd2/journal.c

  1503	
  1504	/*
  1505	 * When we enable proxy exec for journal, we call jbd2_proxy_exec_get().
  1506	 * If we are the first one to enable, we'll also enable __jbd2_proxy_exec_enabled.
  1507	 */
> 1508	void jbd2_proxy_exec_get(journal_t *journal)
  1509	{
  1510		atomic_inc(&journal->proxy_exec_refcount);
  1511	
  1512		if (atomic_inc_not_zero(&jbd2_proxy_exec_count))
  1513			return;
  1514	
  1515		mutex_lock(&jbd2_proxy_exec_mutex);
  1516		if (!atomic_read(&jbd2_proxy_exec_count))
  1517			static_branch_enable(&__jbd2_proxy_exec_enabled);
  1518	
  1519		/* Ensure the static branch is enabled before we increase jbd2_proxy_exec_count. */
  1520		smp_mb__before_atomic();
  1521		atomic_inc(&jbd2_proxy_exec_count);
  1522		mutex_unlock(&jbd2_proxy_exec_mutex);
  1523	}
  1524	

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

                 reply	other threads:[~2025-12-13 22:21 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=202512132342.TbUX2bvG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aubrey.li@linux.intel.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.