]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dm-pcache: cleanup: fix coding style report by checkpatch.pl
authorDongsheng Yang <dongsheng.yang@linux.dev>
Mon, 1 Sep 2025 05:42:18 +0000 (05:42 +0000)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 1 Sep 2025 11:30:54 +0000 (13:30 +0200)
commit24735771774954fa0ebbe0dfa285752647d327f0
tree53a020f8eb5763f0e4bd6186f978037d7f4c9206
parent1f9ad14aef064ced0f60caae60c62b989de25676
dm-pcache: cleanup: fix coding style report by checkpatch.pl

A patch from a few days ago fixed the division issue on 32-bit machines,
but it introduced a coding style problem.

WARNING: Missing a blank line after declarations
+       u32 rem;
+       div_u64_rem(off >> PCACHE_CACHE_SUBTREE_SIZE_SHIFT,
cache->n_ksets, &rem);

total: 0 errors, 1 warnings, 634 lines checked

Signed-off-by: Dongsheng Yang <dongsheng.yang@linux.dev>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-pcache/cache.h