libnilfsfeature: fix kernel-doc comment for nilfs_edit_feature()

The kernel-doc comment for nilfs_edit_feature() incorrectly referred to
nilfs_string2feature() and described a simple conversion, likely due to
a copy-paste error.  This causes a warning in scripts/kernel-doc.

Fix the function name and update the short description to accurately
reflect that the function updates feature flags based on the input string.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
This commit is contained in:
Ryusuke Konishi 2026-01-22 09:13:39 +09:00
parent 151af4c6a1
commit 8129b6efd3

View File

@ -167,7 +167,7 @@ static char *skip_over_word(char *cp)
}
/**
* nilfs_string2feature - convert a string to a feature
* nilfs_edit_feature() - update feature flags from a string
* @str: string to be parsed
* @compat_array: array to store resultant compat flags
* @ok_array: array of bit masks that caller allows bet set