* fs/xfs/xfs_zone_alloc.c:32:5-24: WARNING: atomic_dec_and_test variation before object free at line 34.
@ 2026-01-01 21:10 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-01 21:10 UTC (permalink / raw)
To: Christoph Hellwig
Cc: oe-kbuild-all, linux-kernel, Hans Holmberg, Darrick J. Wong
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b69053dd3ffbc0d2dedbbc86182cdef6f641fe1b
commit: 4e4d52075577707f8393e3fc74c1ef79ca1d3ce6 xfs: add the zoned space allocator
date: 10 months ago
config: arm-randconfig-r051-20251231 (https://download.01.org/0day-ci/archive/20260102/202601020543.BxObPuzj-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 86b9f90b9574b3a7d15d28a91f6316459dcfa046)
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/202601020543.BxObPuzj-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> fs/xfs/xfs_zone_alloc.c:32:5-24: WARNING: atomic_dec_and_test variation before object free at line 34.
vim +32 fs/xfs/xfs_zone_alloc.c
27
28 void
29 xfs_open_zone_put(
30 struct xfs_open_zone *oz)
31 {
> 32 if (atomic_dec_and_test(&oz->oz_ref)) {
33 xfs_rtgroup_rele(oz->oz_rtg);
> 34 kfree(oz);
35 }
36 }
37
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* fs/xfs/xfs_zone_alloc.c:32:5-24: WARNING: atomic_dec_and_test variation before object free at line 34.
@ 2026-03-24 3:56 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-03-24 3:56 UTC (permalink / raw)
To: Christoph Hellwig
Cc: oe-kbuild-all, linux-kernel, Hans Holmberg, Darrick J. Wong
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c369299895a591d96745d6492d4888259b004a9e
commit: 4e4d52075577707f8393e3fc74c1ef79ca1d3ce6 xfs: add the zoned space allocator
date: 1 year, 1 month ago
config: s390-randconfig-r052-20260323 (https://download.01.org/0day-ci/archive/20260324/202603241132.Rh4KPNr6-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project c911b8492374942bf4cfe35411e90a35d3837f6a)
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/202603241132.Rh4KPNr6-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> fs/xfs/xfs_zone_alloc.c:32:5-24: WARNING: atomic_dec_and_test variation before object free at line 34.
vim +32 fs/xfs/xfs_zone_alloc.c
27
28 void
29 xfs_open_zone_put(
30 struct xfs_open_zone *oz)
31 {
> 32 if (atomic_dec_and_test(&oz->oz_ref)) {
33 xfs_rtgroup_rele(oz->oz_rtg);
> 34 kfree(oz);
35 }
36 }
37
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-24 3:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-01 21:10 fs/xfs/xfs_zone_alloc.c:32:5-24: WARNING: atomic_dec_and_test variation before object free at line 34 kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-03-24 3:56 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox