Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751917AbcJAUFP (ORCPT ); Sat, 1 Oct 2016 16:05:15 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:51950 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750949AbcJAUFI (ORCPT ); Sat, 1 Oct 2016 16:05:08 -0400 X-IronPort-AV: E=Sophos;i="5.31,428,1473112800"; d="scan'208";a="195304900" From: Julia Lawall To: linux-kernel@vger.kernel.org Cc: kernel-janitors@vger.kernel.org Subject: [PATCH 02/15] netlink: improve function-level documentation Date: Sat, 1 Oct 2016 21:46:19 +0200 Message-Id: <1475351192-27079-3-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475351192-27079-1-git-send-email-Julia.Lawall@lip6.fr> References: <1475351192-27079-1-git-send-email-Julia.Lawall@lip6.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 24 Rename a variable in the documentation so that it corresponds to the name of the function parameter. Issue detected using Coccinelle (http://coccinelle.lip6.fr/) Signed-off-by: Julia Lawall --- lib/nlattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nlattr.c b/lib/nlattr.c index fce1e9a..14cb5cf 100644 --- a/lib/nlattr.c +++ b/lib/nlattr.c @@ -139,7 +139,7 @@ int nla_validate(const struct nlattr *head, int len, int maxtype, /** * nla_policy_len - Determin the max. length of a policy - * @policy: policy to use + * @p: policy to use * @n: number of policies * * Determines the max. length of the policy. It is currently used