diff options
author | Mark Brown <broonie@kernel.org> | 2024-04-09 23:27:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-09 23:27:14 +0100 |
commit | 8a8317f92770ab70ff39b15de74bdb3a07fdb6cb (patch) | |
tree | ce65ca0b98c15e7358925ecba5273eefb1b50256 /drivers/block/null_blk/main.c | |
parent | aad6b35290f52639d3601063d33d9621c0948a04 (diff) | |
parent | f63eb9ae085dc6da27eebfe35317e07a6a02a160 (diff) |
regmap: kunit: Add some test cases and a few small
Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>:
This series adds some more test cases, mainly for testing:
commit eaa03486d932 ("regmap: maple: Fix uninitialized symbol 'ret' warnings")
commit 00bb549d7d63 ("regmap: maple: Fix cache corruption in regcache_maple_drop()")
And the pending patch ("regmap: Add regmap_read_bypassed()")
There are also a few small improvements to the KUnit implementation.
Diffstat (limited to 'drivers/block/null_blk/main.c')
-rw-r--r-- | drivers/block/null_blk/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/null_blk/main.c b/drivers/block/null_blk/main.c index 71c39bcd872c..ed33cf7192d2 100644 --- a/drivers/block/null_blk/main.c +++ b/drivers/block/null_blk/main.c @@ -1965,10 +1965,10 @@ static int null_add_dev(struct nullb_device *dev) out_ida_free: ida_free(&nullb_indexes, nullb->index); -out_cleanup_zone: - null_free_zoned_dev(dev); out_cleanup_disk: put_disk(nullb->disk); +out_cleanup_zone: + null_free_zoned_dev(dev); out_cleanup_tags: if (nullb->tag_set == &nullb->__tag_set) blk_mq_free_tag_set(nullb->tag_set); |