Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drbd: actlog: fix kernel-doc warnings and spelling

Fix all kernel-doc warnings in drbd_actlog.c:

drbd_actlog.c:963: warning: No description found for return value of 'drbd_rs_begin_io'
drbd_actlog.c:1015: warning: Function parameter or member 'peer_device' not described in 'drbd_try_rs_begin_io'
drbd_actlog.c:1015: warning: Excess function parameter 'device' description in 'drbd_try_rs_begin_io'
drbd_actlog.c:1015: warning: No description found for return value of 'drbd_try_rs_begin_io'
drbd_actlog.c:1197: warning: No description found for return value of 'drbd_rs_del_all'

Fix one spelling error (s/ore/or/).

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Philipp Reisner <philipp.reisner@linbit.com>
Cc: Lars Ellenberg <lars.ellenberg@linbit.com>
Cc: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Cc: <drbd-dev@lists.linbit.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: <linux-block@vger.kernel.org>
Link: https://lore.kernel.org/r/20231222061909.8791-1-rdunlap@infradead.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Randy Dunlap and committed by
Jens Axboe
8aabc11c 8e6e83d7

+10 -6
+10 -6
drivers/block/drbd/drbd_actlog.c
··· 838 838 } 839 839 840 840 /* clear the bit corresponding to the piece of storage in question: 841 - * size byte of data starting from sector. Only clear a bits of the affected 842 - * one ore more _aligned_ BM_BLOCK_SIZE blocks. 841 + * size byte of data starting from sector. Only clear bits of the affected 842 + * one or more _aligned_ BM_BLOCK_SIZE blocks. 843 843 * 844 844 * called by worker on C_SYNC_TARGET and receiver on SyncSource. 845 845 * ··· 957 957 * @device: DRBD device. 958 958 * @sector: The sector number. 959 959 * 960 - * This functions sleeps on al_wait. Returns 0 on success, -EINTR if interrupted. 960 + * This functions sleeps on al_wait. 961 + * 962 + * Returns: %0 on success, -EINTR if interrupted. 961 963 */ 962 964 int drbd_rs_begin_io(struct drbd_device *device, sector_t sector) 963 965 { ··· 1006 1004 1007 1005 /** 1008 1006 * drbd_try_rs_begin_io() - Gets an extent in the resync LRU cache, does not sleep 1009 - * @device: DRBD device. 1007 + * @peer_device: DRBD device. 1010 1008 * @sector: The sector number. 1011 1009 * 1012 1010 * Gets an extent in the resync LRU cache, sets it to BME_NO_WRITES, then 1013 - * tries to set it to BME_LOCKED. Returns 0 upon success, and -EAGAIN 1011 + * tries to set it to BME_LOCKED. 1012 + * 1013 + * Returns: %0 upon success, and -EAGAIN 1014 1014 * if there is still application IO going on in this area. 1015 1015 */ 1016 1016 int drbd_try_rs_begin_io(struct drbd_peer_device *peer_device, sector_t sector) ··· 1194 1190 * drbd_rs_del_all() - Gracefully remove all extents from the resync LRU 1195 1191 * @device: DRBD device. 1196 1192 * 1197 - * Returns 0 upon success, -EAGAIN if at least one reference count was 1193 + * Returns: %0 upon success, -EAGAIN if at least one reference count was 1198 1194 * not zero. 1199 1195 */ 1200 1196 int drbd_rs_del_all(struct drbd_device *device)