From: Dan Carpenter <dan.carpenter@linaro.org>
To: Li Chen <chenl311@chinatelecom.cn>
Cc: Dongsheng Yang <dongsheng.yang@linux.dev>,
Zheng Gu <cengku@gmail.com>,
dm-devel@lists.linux.dev, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: [PATCH] dm-pcache: Fix some indenting in cache_info_init()
Date: Fri, 5 Dec 2025 14:10:24 +0300 [thread overview]
Message-ID: <aTK9oGAZuWBfedTh@stanley.mountain> (raw)
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
reply other threads:[~2025-12-05 11:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aTK9oGAZuWBfedTh@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=cengku@gmail.com \
--cc=chenl311@chinatelecom.cn \
--cc=dm-devel@lists.linux.dev \
--cc=dongsheng.yang@linux.dev \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox