All of lore.kernel.org
 help / color / mirror / Atom feed
* [bcachefs:master 68/89] fs/bcachefs/btree_trans_commit.c:345:32-33: Unneeded semicolon
@ 2025-06-29 14:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-06-29 14:01 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: oe-kbuild-all, Kent Overstreet

tree:   https://evilpiepirate.org/git/bcachefs.git master
head:   cb09cb340afe5410c81a6cb006a1740c45b7b66b
commit: 4045e643af83729130e7a3523cfb9d8e5ec7aa7c [68/89] bcachefs: Evict/bypass key cache when deleting
config: x86_64-randconfig-103-20250629 (https://download.01.org/0day-ci/archive/20250629/202506292119.JPRdXNOG-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)

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/202506292119.JPRdXNOG-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> fs/bcachefs/btree_trans_commit.c:345:32-33: Unneeded semicolon

vim +345 fs/bcachefs/btree_trans_commit.c

   335	
   336	static inline void btree_insert_entry_checks(struct btree_trans *trans,
   337						     struct btree_insert_entry *i)
   338	{
   339		struct btree_path *path = trans->paths + i->path;
   340	
   341		BUG_ON(!bpos_eq(i->k->k.p, path->pos));
   342		BUG_ON(i->cached	!= path->cached);
   343		BUG_ON(i->cached &&
   344		       !i->key_cache_already_flushed  &&
 > 345		       bkey_deleted(&i->k->k));;
   346		BUG_ON(i->level		!= path->level);
   347		BUG_ON(i->btree_id	!= path->btree_id);
   348		BUG_ON(i->bkey_type	!= __btree_node_type(path->level, path->btree_id));
   349		EBUG_ON(!i->level &&
   350			btree_type_has_snapshots(i->btree_id) &&
   351			!(i->flags & BTREE_UPDATE_internal_snapshot_node) &&
   352			test_bit(JOURNAL_replay_done, &trans->c->journal.flags) &&
   353			i->k->k.p.snapshot &&
   354			bch2_snapshot_is_internal_node(trans->c, i->k->k.p.snapshot) > 0);
   355	}
   356	

-- 
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-06-29 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-29 14:01 [bcachefs:master 68/89] fs/bcachefs/btree_trans_commit.c:345:32-33: Unneeded semicolon 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.