Skip to content

Commit f39d9f4

Browse files
Wang Hairichardweinberger
authored andcommitted
ubifs: Fix 'hash' kernel-doc warning in auth.c
Fixes the following W=1 kernel build warning(s): fs/ubifs/auth.c:66: warning: Excess function parameter 'hash' description in 'ubifs_prepare_auth_node' Rename hash to inhash. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent f4d51df commit f39d9f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/ubifs/auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static int ubifs_hash_calc_hmac(const struct ubifs_info *c, const u8 *hash,
5454
* ubifs_prepare_auth_node - Prepare an authentication node
5555
* @c: UBIFS file-system description object
5656
* @node: the node to calculate a hash for
57-
* @hash: input hash of previous nodes
57+
* @inhash: input hash of previous nodes
5858
*
5959
* This function prepares an authentication node for writing onto flash.
6060
* It creates a HMAC from the given input hash and writes it to the node.

0 commit comments

Comments
 (0)