* [PATCH] drbd: turn bitmap I/O comments into regular block comments
@ 2025-11-18 9:07 Sukrut Heroorkar
2025-11-18 10:51 ` Christoph Böhmwalder
2025-11-18 15:38 ` Jens Axboe
0 siblings, 2 replies; 3+ messages in thread
From: Sukrut Heroorkar @ 2025-11-18 9:07 UTC (permalink / raw)
To: Philipp Reisner, Lars Ellenberg, Christoph Böhmwalder,
Jens Axboe, open list:DRBD DRIVER, open list:BLOCK LAYER,
open list
Cc: Sukrut Heroorkar, shuah, david.hunter.linux
W=1 build warns because the bitmap I/O comments use '/**', which
marks them as kernel-doc comments even though these functions do not
document an external API.
Convert these comments to regular block comments so kernel-doc no
longer parses them.
Signed-off-by: Sukrut Heroorkar <hsukrut3@gmail.com>
---
See: https://lore.kernel.org/all/20251117172557.355797-1-hsukrut3@gmail.com/t/
drivers/block/drbd/drbd_bitmap.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c
index 85ca000a0564..d90fa3e7f4cf 100644
--- a/drivers/block/drbd/drbd_bitmap.c
+++ b/drivers/block/drbd/drbd_bitmap.c
@@ -1210,7 +1210,7 @@ static int bm_rw(struct drbd_device *device, const unsigned int flags, unsigned
return err;
}
-/**
+/*
* drbd_bm_read() - Read the whole bitmap from its on disk location.
* @device: DRBD device.
*/
@@ -1221,7 +1221,7 @@ int drbd_bm_read(struct drbd_device *device,
return bm_rw(device, BM_AIO_READ, 0);
}
-/**
+/*
* drbd_bm_write() - Write the whole bitmap to its on disk location.
* @device: DRBD device.
*
@@ -1233,7 +1233,7 @@ int drbd_bm_write(struct drbd_device *device,
return bm_rw(device, 0, 0);
}
-/**
+/*
* drbd_bm_write_all() - Write the whole bitmap to its on disk location.
* @device: DRBD device.
*
@@ -1255,7 +1255,7 @@ int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_ho
return bm_rw(device, BM_AIO_COPY_PAGES, upper_idx);
}
-/**
+/*
* drbd_bm_write_copy_pages() - Write the whole bitmap to its on disk location.
* @device: DRBD device.
*
@@ -1272,7 +1272,7 @@ int drbd_bm_write_copy_pages(struct drbd_device *device,
return bm_rw(device, BM_AIO_COPY_PAGES, 0);
}
-/**
+/*
* drbd_bm_write_hinted() - Write bitmap pages with "hint" marks, if they have changed.
* @device: DRBD device.
*/
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drbd: turn bitmap I/O comments into regular block comments
2025-11-18 9:07 [PATCH] drbd: turn bitmap I/O comments into regular block comments Sukrut Heroorkar
@ 2025-11-18 10:51 ` Christoph Böhmwalder
2025-11-18 15:38 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Böhmwalder @ 2025-11-18 10:51 UTC (permalink / raw)
To: Sukrut Heroorkar, Philipp Reisner, Lars Ellenberg, Jens Axboe,
open list:DRBD DRIVER, open list:BLOCK LAYER, open list
Cc: shuah, david.hunter.linux
Am 18.11.25 um 10:07 schrieb Sukrut Heroorkar:
> W=1 build warns because the bitmap I/O comments use '/**', which
> marks them as kernel-doc comments even though these functions do not
> document an external API.
>
> Convert these comments to regular block comments so kernel-doc no
> longer parses them.
>
> Signed-off-by: Sukrut Heroorkar <hsukrut3@gmail.com>
> ---
> See: https://lore.kernel.org/all/20251117172557.355797-1-hsukrut3@gmail.com/t/
>
> drivers/block/drbd/drbd_bitmap.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Thanks.
Acked-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
--
Christoph Böhmwalder
LINBIT | Keeping the Digital World Running
DRBD HA — Disaster Recovery — Software defined Storage
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drbd: turn bitmap I/O comments into regular block comments
2025-11-18 9:07 [PATCH] drbd: turn bitmap I/O comments into regular block comments Sukrut Heroorkar
2025-11-18 10:51 ` Christoph Böhmwalder
@ 2025-11-18 15:38 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2025-11-18 15:38 UTC (permalink / raw)
To: Philipp Reisner, Lars Ellenberg, Christoph Böhmwalder,
drbd-dev, linux-block, linux-kernel, Sukrut Heroorkar
Cc: shuah, david.hunter.linux
On Tue, 18 Nov 2025 14:37:53 +0530, Sukrut Heroorkar wrote:
> W=1 build warns because the bitmap I/O comments use '/**', which
> marks them as kernel-doc comments even though these functions do not
> document an external API.
>
> Convert these comments to regular block comments so kernel-doc no
> longer parses them.
>
> [...]
Applied, thanks!
[1/1] drbd: turn bitmap I/O comments into regular block comments
commit: 2c6d792d4b7676e2b340df05425330452fee1f40
Best regards,
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-18 15:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18 9:07 [PATCH] drbd: turn bitmap I/O comments into regular block comments Sukrut Heroorkar
2025-11-18 10:51 ` Christoph Böhmwalder
2025-11-18 15:38 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox