From: <long.yunjian@zte.com.cn>
To: <kwolf@redhat.com>, <hreitz@redhat.com>
Cc: <qemu-block@nongnu.org>, <qemu-devel@nongnu.org>,
<mou.yi@zte.com.cn>, <liang.xianlong@zte.com.cn>
Subject: [PATCH v2] block: fix annotation
Date: Wed, 25 Mar 2026 09:42:04 +0800 (CST) [thread overview]
Message-ID: <20260325094204300GFCZYBzAE00cSWaldbDcT@zte.com.cn> (raw)
From: Yunjian Long <long.yunjian@zte.com.cn>
Some functions are defined in block_int-io.h, so the correct
annotation is block_int-io.h rather than block_int.h
Signed-off-by: Yunjian Long <long.yunjian@zte.com.cn>
---
v1 -> v2
fix all the same annotation problem.
block.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/block.c b/block.c
index 48a17f393c..f0a6042e61 100644
--- a/block.c
+++ b/block.c
@@ -8477,7 +8477,7 @@ static bool bdrv_bsc_range_overlaps_locked(BlockDriverState *bs,
}
/**
- * See block_int.h for this function's documentation.
+ * See block_int-io.h for this function's documentation.
*/
bool bdrv_bsc_is_data(BlockDriverState *bs, int64_t offset, int64_t *pnum)
{
@@ -8487,7 +8487,7 @@ bool bdrv_bsc_is_data(BlockDriverState *bs, int64_t offset, int64_t *pnum)
}
/**
- * See block_int.h for this function's documentation.
+ * See block_int-io.h for this function's documentation.
*/
void bdrv_bsc_invalidate_range(BlockDriverState *bs,
int64_t offset, int64_t bytes)
@@ -8501,7 +8501,7 @@ void bdrv_bsc_invalidate_range(BlockDriverState *bs,
}
/**
- * See block_int.h for this function's documentation.
+ * See block_int-io.h for this function's documentation.
*/
void bdrv_bsc_fill(BlockDriverState *bs, int64_t offset, int64_t bytes)
{
--
2.27.0
reply other threads:[~2026-03-25 1:43 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=20260325094204300GFCZYBzAE00cSWaldbDcT@zte.com.cn \
--to=long.yunjian@zte.com.cn \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=liang.xianlong@zte.com.cn \
--cc=mou.yi@zte.com.cn \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.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