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.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -58,7 +58,7 @@ NILFS_CPINFO_FNS(INVALID, invalid) · 57 unmodified lines | |||
| 58 | NILFS_CPINFO_FNS(MINOR, minor) | 58 | NILFS_CPINFO_FNS(MINOR, minor) |
| 59 | 59 | ||
| 60 | /** | 60 | /** |
| 61 | * nilfs_suinfo - segment usage information | 61 | * struct nilfs_suinfo - segment usage information |
| 62 | * @sui_lastmod: timestamp of last modification | 62 | * @sui_lastmod: timestamp of last modification |
| 63 | * @sui_nblocks: number of written blocks in segment | 63 | * @sui_nblocks: number of written blocks in segment |
| 64 | * @sui_flags: segment usage flags | 64 | * @sui_flags: segment usage flags |
| @@ -93,7 +93,7 @@ static inline int nilfs_suinfo_clean(const struct nilfs_suinfo *si) · 28 unmodified lines | |||
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | /** | 95 | /** |
| 96 | * nilfs_suinfo_update - segment usage information update | 96 | * struct nilfs_suinfo_update - segment usage information update |
| 97 | * @sup_segnum: segment number | 97 | * @sup_segnum: segment number |
| 98 | * @sup_flags: flags for which fields are active in sup_sui | 98 | * @sup_flags: flags for which fields are active in sup_sui |
| 99 | * @sup_reserved: reserved necessary for alignment | 99 | * @sup_reserved: reserved necessary for alignment |