* [PATCH] dm-pcache: Fix some indenting in cache_info_init()
@ 2025-12-05 11:10 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2025-12-05 11:10 UTC (permalink / raw)
To: Li Chen; +Cc: Dongsheng Yang, Zheng Gu, dm-devel, linux-kernel, kernel-janitors
This should be indented a tab instead of five spaces.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
It was changed accidentally in ed79b300272a ("dm pcache: fix cache info
indexing") but it's not a bug so there is no Fixes tag.
---
drivers/md/dm-pcache/cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/dm-pcache/cache.c b/drivers/md/dm-pcache/cache.c
index 6d5001548628..f02c7c4148c9 100644
--- a/drivers/md/dm-pcache/cache.c
+++ b/drivers/md/dm-pcache/cache.c
@@ -42,7 +42,7 @@ static int cache_info_init(struct pcache_cache *cache, struct pcache_cache_optio
if (IS_ERR(cache_info_addr))
return PTR_ERR(cache_info_addr);
- if (cache_info_addr) {
+ if (cache_info_addr) {
int index = ((char *)cache_info_addr - (char *)cache->cache_info_addr) /
PCACHE_CACHE_INFO_SIZE;
--
2.51.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-05 11:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 11:10 [PATCH] dm-pcache: Fix some indenting in cache_info_init() Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox