* [koverstreet-bcachefs:trace_sched_wakeup_backtrace 223/332] fs/bcachefs/data/reconcile/work.c:440 check_reconcile_pending_err() warn: inconsistent indenting
@ 2026-05-14 21:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14 21:14 UTC (permalink / raw)
To: Kent Overstreet; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-14 21:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 21:14 [koverstreet-bcachefs:trace_sched_wakeup_backtrace 223/332] fs/bcachefs/data/reconcile/work.c:440 check_reconcile_pending_err() warn: inconsistent indenting 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.