* [anolis-intel-cloud:devel-5.10 4/4] fs/jbd2/journal.c:1529:6: warning: no previous prototype for 'jbd2_proxy_exec_get'
@ 2025-04-18 3:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-18 3:01 UTC (permalink / raw)
To: aubrey.li; +Cc: oe-kbuild-all
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-5.10
head: e93dbf3bd481cf9c55d08073d8b0865cf274707c
commit: e93dbf3bd481cf9c55d08073d8b0865cf274707c [4/4] anolis: sched: introduce simplified proxy execution for jbd2_lock
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20250418/202504181024.tHso9v5K-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250418/202504181024.tHso9v5K-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/202504181024.tHso9v5K-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/jbd2/journal.c:1529:6: warning: no previous prototype for 'jbd2_proxy_exec_get' [-Wmissing-prototypes]
1529 | void jbd2_proxy_exec_get(journal_t *journal)
| ^~~~~~~~~~~~~~~~~~~
vim +/jbd2_proxy_exec_get +1529 fs/jbd2/journal.c
1524
1525 /*
1526 * When we enable proxy exec for journal, we call jbd2_proxy_exec_get().
1527 * If we are the first one to enable, we'll also enable __jbd2_proxy_exec_enabled.
1528 */
> 1529 void jbd2_proxy_exec_get(journal_t *journal)
1530 {
1531 atomic_inc(&journal->proxy_exec_refcount);
1532
1533 if (atomic_inc_not_zero(&jbd2_proxy_exec_count))
1534 return;
1535
1536 mutex_lock(&jbd2_proxy_exec_mutex);
1537 if (!atomic_read(&jbd2_proxy_exec_count))
1538 static_branch_enable(&__jbd2_proxy_exec_enabled);
1539
1540 /* Ensure the static branch is enabled before we increase jbd2_proxy_exec_count. */
1541 smp_mb__before_atomic();
1542 atomic_inc(&jbd2_proxy_exec_count);
1543 mutex_unlock(&jbd2_proxy_exec_mutex);
1544 }
1545
--
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:[~2025-04-18 3:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-18 3:01 [anolis-intel-cloud:devel-5.10 4/4] fs/jbd2/journal.c:1529:6: warning: no previous prototype for 'jbd2_proxy_exec_get' 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.