Skip to content

Commit f2de588

Browse files
committed
nilfs2: fix missing struct keywords in nilfs2_api.h kernel-doc
commit 6fd8a09f48d6fee184207f4e15e939898a3947f9 upstream. 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 74db0b6 commit f2de588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)