[PATCH v2] block: fix annotation

long.yunjian@zte.com.cn posted 1 patch 1 week, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260325094204300GFCZYBzAE00cSWaldbDcT@zte.com.cn
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
block.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH v2] block: fix annotation
Posted by long.yunjian@zte.com.cn 1 week, 1 day ago
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
Re: [PATCH v2] block: fix annotation
Posted by Kevin Wolf 2 days, 12 hours ago
Am 25.03.2026 um 02:42 hat long.yunjian@zte.com.cn geschrieben:
> 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>

Thanks, applied to the block branch.

Kevin