]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ubifs: Fix 'hash' kernel-doc warning in auth.c
authorWang Hai <wanghai38@huawei.com>
Mon, 14 Sep 2020 13:56:51 +0000 (21:56 +0800)
committerRichard Weinberger <richard@nod.at>
Thu, 17 Sep 2020 21:06:53 +0000 (23:06 +0200)
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>
fs/ubifs/auth.c

index cc5c0abfd536f867cacc3e749e5651e293f2f986..b93b3cd10bfd3254838f9efb8ae9a9497a37278b 100644 (file)
@@ -54,7 +54,7 @@ static int ubifs_hash_calc_hmac(const struct ubifs_info *c, const u8 *hash,
  * ubifs_prepare_auth_node - Prepare an authentication node
  * @c: UBIFS file-system description object
  * @node: the node to calculate a hash for
- * @hash: input hash of previous nodes
+ * @inhash: input hash of previous nodes
  *
  * This function prepares an authentication node for writing onto flash.
  * It creates a HMAC from the given input hash and writes it to the node.