From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [koverstreet-bcachefs:trace_sched_wakeup_backtrace 223/332] fs/bcachefs/data/reconcile/work.c:440 check_reconcile_pending_err() warn: inconsistent indenting
Date: Fri, 15 May 2026 05:14:47 +0800 [thread overview]
Message-ID: <202605150529.R2iLMt7f-lkp@intel.com> (raw)
tree: https://github.com/koverstreet/bcachefs trace_sched_wakeup_backtrace
head: 9e7cbd4ad9c7a7ba461dbba9185628c006e200cd
commit: de374d7b7296203619ba70f976867051cebaf41b [223/332] bcachefs: Break up reconcile.c
config: i386-randconfig-141-20260514 (https://download.01.org/0day-ci/archive/20260515/202605150529.R2iLMt7f-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
smatch: v0.5.0-9185-gbcc58b9c
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/202605150529.R2iLMt7f-lkp@intel.com/
smatch warnings:
fs/bcachefs/data/reconcile/work.c:440 check_reconcile_pending_err() warn: inconsistent indenting
vim +440 fs/bcachefs/data/reconcile/work.c
432
433 static int check_reconcile_pending_err(struct btree_trans *trans,
434 struct bch_inode_opts *opts,
435 struct data_update_opts *data_opts,
436 struct bkey_s_c k, int err)
437 {
438 struct bch_fs *c = trans->c;
439
> 440 if (!bch2_err_matches(err, BCH_ERR_data_update_fail_no_rw_devs) &&
441 !bch2_err_matches(err, BCH_ERR_insufficient_devices) &&
442 !bch2_err_matches(err, ENOSPC))
443 return err;
444
445 event_add_trace(c, reconcile_set_pending, k.k->size, buf, ({
446 prt_printf(&buf, "%s\n", bch2_err_str(err));
447 bch2_bkey_val_to_text(&buf, c, k);
448 prt_newline(&buf);
449 bch2_data_update_opts_to_text(&buf, c, opts, data_opts);
450 prt_newline(&buf);
451 int ret = bch2_can_do_data_update(trans, opts, data_opts, k, &buf);
452 if (bch2_err_matches(ret, BCH_ERR_transaction_restart))
453 return ret;
454 }));
455 return 1;
456 }
457
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-05-14 21:23 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=202605150529.R2iLMt7f-lkp@intel.com \
--to=lkp@intel.com \
--cc=kent.overstreet@linux.dev \
--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.