drbd: turn bitmap I/O comments into regular block comments
Subsystems (2)
PATCH 1/1 drbd: turn bitmap I/O comments into regular block comments
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.
---
See: https://lore.kernel.org/all/[email protected]/t/
drivers/block/drbd/drbd_bitmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/block/drbd/drbd_bitmap.c +5 -5
@@ -1210,7 +1210,7 @@ static int bm_rw(struct drbd_device *device, const unsigned int flags, unsignedreturn 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_horeturn 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. */
Signature · 1 line
2.43.0
Am 18.11.25 um 10:07 schrieb Sukrut Heroorkar:
Quoted 7 lines
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.
Quoted 6 lines
Signed-off-by Sukrut Heroorkar <[email protected]>---
See: https://lore.kernel.org/all/[email protected]/t/drivers/block/drbd/drbd_bitmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Thanks.
Signature · 3 lines
Christoph Böhmwalder LINBIT | Keeping the Digital World Running DRBD HA — Disaster Recovery — Software defined Storage
Quoted 8 lines · 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.
[...]
Applied, thanks!
[1/1] drbd: turn bitmap I/O comments into regular block comments
commit: 2c6d792d4b7676e2b340df05425330452fee1f40
Best regards,
Signature · 1 line
Jens Axboe