* [koverstreet-bcachefs:trace_sched_wakeup_backtrace 223/332] fs/bcachefs/data/reconcile/trigger.c:27:5-8: Unneeded variable: "ret". Return "0" on line 42
@ 2026-06-29 18:15 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-29 18:15 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: arc-randconfig-r061-20260629 (https://download.01.org/0day-ci/archive/20260630/202606300207.Uc8YEeYC-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
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/202606300207.Uc8YEeYC-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> fs/bcachefs/data/reconcile/trigger.c:27:5-8: Unneeded variable: "ret". Return "0" on line 42
--
>> fs/bcachefs/data/reconcile/work.c:207:21-22: Unneeded semicolon
vim +27 fs/bcachefs/data/reconcile/trigger.c
21
22 int bch2_extent_reconcile_validate(struct bch_fs *c,
23 struct bkey_s_c k,
24 struct bkey_validate_context from,
25 const struct bch_extent_reconcile *r)
26 {
> 27 int ret = 0;
28
29 bkey_fsck_err_on(r->pending && !r->need_rb,
30 c, extent_reconcile_bad_pending,
31 "pending incorrectly set");
32
33 bkey_fsck_err_on(r->hipri && !(r->need_rb & BIT(BCH_REBALANCE_data_replicas)),
34 c, extent_reconcile_bad_hipri,
35 "hipri incorrectly set");
36
37 bkey_fsck_err_on(!r->data_replicas,
38 c, extent_reconcile_bad_replicas,
39 "bad replicas");
40
41 fsck_err:
> 42 return ret;
43 }
44
--
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-06-29 18:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-29 18:15 [koverstreet-bcachefs:trace_sched_wakeup_backtrace 223/332] fs/bcachefs/data/reconcile/trigger.c:27:5-8: Unneeded variable: "ret". Return "0" on line 42 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.