linux-mips
[Top] [All Lists]

[PATCH] MIPS: Use proper @return keyword

To: unlisted-recipients:; (no To-header on input)
Subject: [PATCH] MIPS: Use proper @return keyword
From: Mathieu Malaterre <malat@debian.org>
Date: Tue, 26 Dec 2017 11:55:31 +0100
Cc: Mathieu Malaterre <malat@debian.org>, Ralf Baechle <ralf@linux-mips.org>, "Maciej W. Rozycki" <macro@mips.com>, Paul Burton <paul.burton@mips.com>, Ingo Molnar <mingo@kernel.org>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=PmfNFtJA1042ei4jOV0B3Ph+6z1bUVVZZAKpaSI3Vfk=; b=TY388VTsk+rFmJRCOsHqRCYGcC8Mf9nUlR5jdCHl5nieBaivabC7S71MyYOAMHU2Yy Y7CChx1FBUBbRuwEWD+ce3G3i3MpdgZ1a2RylZCQDzhxdbeERGys+SJc3uZuK5U4nJJs 3llPtX5RcJ2jsXGMQANqEmrKgkO3PQFVPq2qpQG1Qw6YVMG2jHEB+k5SAJwNnSkm79/q N4NKo7reRYyzbnPPnJcmsWIq780skg0Ap+n14WQ/+xfG7cjv1KjbrsZHb917sfoH/VMC QjRDMiF4Ws9T2xZ1qwJfLUls2709PdSw94YDPSOrqPefxsRXr9GsZQzqBI2AHdyn4EZe gjqQ==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Fix non-fatal warning:

arch/mips/kernel/branch.c:418: warning: Excess function parameter 'returns' 
description in '__compute_return_epc_for_insn'

Signed-off-by: Mathieu Malaterre <malat@debian.org>
---
 arch/mips/kernel/branch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/kernel/branch.c b/arch/mips/kernel/branch.c
index b79ed9af9886..e0d3a432e1e3 100644
--- a/arch/mips/kernel/branch.c
+++ b/arch/mips/kernel/branch.c
@@ -399,7 +399,7 @@ int __MIPS16e_compute_return_epc(struct pt_regs *regs)
  *
  * @regs:      Pointer to pt_regs
  * @insn:      branch instruction to decode
- * @returns:   -EFAULT on error and forces SIGILL, and on success
+ * @return:    -EFAULT on error and forces SIGILL, and on success
  *             returns 0 or BRANCH_LIKELY_TAKEN as appropriate after
  *             evaluating the branch.
  *
-- 
2.11.0


<Prev in Thread] Current Thread [Next in Thread>