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

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>

authored by

Ryusuke Konishi and committed by
Viacheslav Dubeyko
6fd8a09f cb8fe62f

+2 -2
+2 -2
include/uapi/linux/nilfs2_api.h
··· 58 58 NILFS_CPINFO_FNS(MINOR, minor) 59 59 60 60 /** 61 - * nilfs_suinfo - segment usage information 61 + * struct nilfs_suinfo - segment usage information 62 62 * @sui_lastmod: timestamp of last modification 63 63 * @sui_nblocks: number of written blocks in segment 64 64 * @sui_flags: segment usage flags ··· 93 93 } 94 94 95 95 /** 96 - * nilfs_suinfo_update - segment usage information update 96 + * struct nilfs_suinfo_update - segment usage information update 97 97 * @sup_segnum: segment number 98 98 * @sup_flags: flags for which fields are active in sup_sui 99 99 * @sup_reserved: reserved necessary for alignment