[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202401040013.fnKkaKkA-lkp@intel.com>
Date: Thu, 4 Jan 2024 02:24:51 +0800
From: kernel test robot <lkp@...el.com>
To: Kent Overstreet <kent.overstreet@...ux.dev>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: fs/bcachefs/debug.c:421:5-8: Unneeded variable: "ret". Return " 0"
on line 424
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 610a9b8f49fbcf1100716370d3b5f6f884a2835a
commit: 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a bcachefs: Initial commit
date: 2 months ago
config: x86_64-randconfig-r064-20231231 (https://download.01.org/0day-ci/archive/20240104/202401040013.fnKkaKkA-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401040013.fnKkaKkA-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> fs/bcachefs/debug.c:421:5-8: Unneeded variable: "ret". Return " 0" on line 424
--
>> fs/bcachefs/super.c:712:35-36: Unneeded semicolon
vim +421 fs/bcachefs/debug.c
418
419 int __init bch2_debug_init(void)
420 {
> 421 int ret = 0;
422
423 bch_debug = debugfs_create_dir("bcachefs", NULL);
> 424 return ret;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists