From: kernel test robot <lkp@intel.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, David Woodhouse <dwmw2@infradead.org>
Subject: [paulmckrcu:dev 27/42] kernel/rcu/srcutree.c:913 srcu_gp_start() warn: inconsistent indenting
Date: Sat, 05 Sep 2026 20:25:52 +0800 [thread overview]
Message-ID: <202609052019.8XxNMFvN-lkp@intel.com> (raw)
tree: https://github.com/paulmckrcu/linux dev
head: 3fe004c1cd8588480a29f9577427cf8a9daa32d1
commit: a6b38e2d5585400c21ee2429683f2ab7ec0e1cf8 [27/42] srcutree: Add an atomic Tree SRCU
config: x86_64-randconfig-161-20260904 (https://download.01.org/0day-ci/archive/20260905/202609052019.8XxNMFvN-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
smatch: v0.5.0-9187-g5189e3fb
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/202609052019.8XxNMFvN-lkp@intel.com/
smatch warnings:
kernel/rcu/srcutree.c:913 srcu_gp_start() warn: inconsistent indenting
kernel/rcu/srcutree.c:2148 synchronize_srcu_atomic() warn: inconsistent indenting
vim +913 kernel/rcu/srcutree.c
905
906 /*
907 * Start an SRCU grace period.
908 */
909 static void srcu_gp_start(struct srcu_struct *ssp)
910 {
911 int state;
912
> 913 /*&&&&*/pr_alert("%s() start: ->srcu_gp_seq: %lx ->srcu_gp_seq_needed: %lx\n", __func__, ssp->srcu_sup->srcu_gp_seq, ssp->srcu_sup->srcu_gp_seq_needed);
914 lockdep_assert_held(&ACCESS_PRIVATE(ssp->srcu_sup, lock));
915 WARN_ON_ONCE(ULONG_CMP_GE(ssp->srcu_sup->srcu_gp_seq, ssp->srcu_sup->srcu_gp_seq_needed));
916 WRITE_ONCE(ssp->srcu_sup->srcu_gp_start, jiffies);
917 WRITE_ONCE(ssp->srcu_sup->srcu_n_exp_nodelay, 0);
918 smp_mb(); /* Order prior store to ->srcu_gp_seq_needed vs. GP start. */
919 rcu_seq_start(&ssp->srcu_sup->srcu_gp_seq);
920 state = rcu_seq_state(ssp->srcu_sup->srcu_gp_seq);
921 WARN_ON_ONCE(state != SRCU_STATE_SCAN1);
922 }
923
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-09-05 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-05 12:25 kernel test robot [this message]
2026-09-08 19:11 ` [paulmckrcu:dev 27/42] kernel/rcu/srcutree.c:913 srcu_gp_start() warn: inconsistent indenting Paul E. McKenney
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=202609052019.8XxNMFvN-lkp@intel.com \
--to=lkp@intel.com \
--cc=dwmw2@infradead.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=paulmck@kernel.org \
/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.