Skip to contentSkip to conversation

btrfs: Fix kernel-doc

PATCH New Jiapeng Chong 1 participant 2 messages Apr 7, 2022 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 btrfs: Fix kernel-doc

Fix the following W=1 kernel warnings:

fs/btrfs/space-info.c:1601: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst.

---
 fs/btrfs/space-info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/space-info.c +1 -1
index 2dd8754cb990..bd9ac89c9d6e 100644
@@ -1598,7 +1598,7 @@ static int __reserve_bytes(struct btrfs_fs_info *fs_info,
 }
 
 /**
- * Trye to reserve metadata bytes from the block_rsv's space
+ * btrfs_reserve_metadata_bytes() - Trye to reserve metadata bytes from the block_rsv's space
  *
  * @fs_info:    the filesystem
  * @block_rsv:  block_rsv we're allocating for
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw

PATCH 1/2 btrfs: kernel-doc fixes

Fix the following W=1 kernel warnings:

fs/btrfs/block-group.c:1731: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst.

---
 fs/btrfs/block-group.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/block-group.c +1 -1
index 7bf10afab89c..9ab1a82aa600 100644
@@ -1728,7 +1728,7 @@ static void set_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags)
 }
 
 /**
- * Map a physical disk address to a list of logical addresses
+ * btrfs_rmap_block() - Map a physical disk address to a list of logical addresses
  *
  * @fs_info:       the filesystem
  * @chunk_start:   logical address of block group
Signature · 1 line
2.20.1.7.g153144c