public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
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] block: fix annotation
Date: Fri, 20 Mar 2026 09:17:45 +0800 (CST)	[thread overview]
Message-ID: <20260320091745976o3u3XYI9SyVZ0siV2roHH@zte.com.cn> (raw)

From: Yunjian Long <long.yunjian@zte.com.cn>

The bdrv_bsc_is_data function is 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>
---
 block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block.c b/block.c
index 48a17f393c..3166114890 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)
 {
-- 
2.27.0


             reply	other threads:[~2026-03-20  4:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-20  1:17 long.yunjian [this message]
2026-03-24  9:47 ` [PATCH] block: fix annotation Kevin Wolf

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=20260320091745976o3u3XYI9SyVZ0siV2roHH@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