diff mbox series

[v2] block: fix annotation

Message ID 20260325094204300GFCZYBzAE00cSWaldbDcT@zte.com.cn
State New
Headers show
Series [v2] block: fix annotation | expand

Commit Message

long.yunjian@zte.com.cn March 25, 2026, 1:42 a.m. UTC
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(-)

Comments

Kevin Wolf March 31, 2026, 12:52 p.m. UTC | #1
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
diff mbox series

Patch

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)
 {