Skip to content

Commit 6fd8a09

Browse files
konisdubeyko
authored andcommitted
nilfs2: fix missing struct keywords in nilfs2_api.h kernel-doc
Eliminate the following kernel-doc warnings in nilfs2_api.h: Warning: include/uapi/linux/nilfs2_api.h:65 cannot understand function prototype: 'struct nilfs_suinfo' Warning: include/uapi/linux/nilfs2_api.h:101 cannot understand function prototype: 'struct nilfs_suinfo_update' This ensures that the documentation for nilfs_suinfo and nilfs_suinfo_update is correctly parsed and generated by adding the missing 'struct' keyword to their kernel-doc comments. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> Signed-off-by: Viacheslav Dubeyko <slava@dubeyko.com>
1 parent cb8fe62 commit 6fd8a09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/uapi/linux/nilfs2_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ NILFS_CPINFO_FNS(INVALID, invalid)
5858
NILFS_CPINFO_FNS(MINOR, minor)
5959

6060
/**
61-
* nilfs_suinfo - segment usage information
61+
* struct nilfs_suinfo - segment usage information
6262
* @sui_lastmod: timestamp of last modification
6363
* @sui_nblocks: number of written blocks in segment
6464
* @sui_flags: segment usage flags
@@ -93,7 +93,7 @@ static inline int nilfs_suinfo_clean(const struct nilfs_suinfo *si)
9393
}
9494

9595
/**
96-
* nilfs_suinfo_update - segment usage information update
96+
* struct nilfs_suinfo_update - segment usage information update
9797
* @sup_segnum: segment number
9898
* @sup_flags: flags for which fields are active in sup_sui
9999
* @sup_reserved: reserved necessary for alignment

0 commit comments

Comments
 (0)