History

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.

Ryusuke Konishi committed 11 months ago

Commit 6fd8a091 parent cb8fe621 file · +2 −2Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/nilfs2_api.h+2−2
@@ -58,7 +58,7 @@ NILFS_CPINFO_FNS(INVALID, invalid) · 57 unmodified lines
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) · 28 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t