Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751310AbdL0LIE (ORCPT ); Wed, 27 Dec 2017 06:08:04 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:40484 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750895AbdL0LID (ORCPT ); Wed, 27 Dec 2017 06:08:03 -0500 X-Google-Smtp-Source: ACJfBosgNrkkD85+ivrDNuTuc+LosypCcc00+kYQZzH0uNILHoD6djAuR4nRZrZPoSrPd5twh2G3BQ== From: Mathieu Malaterre To: Randy Dunlap Cc: Mathieu Malaterre , Ralf Baechle , "Maciej W. Rozycki" , Ingo Molnar , Paul Burton , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] MIPS: Use proper Return keyword Date: Wed, 27 Dec 2017 12:07:53 +0100 Message-Id: <20171227110755.25788-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171226105532.23452-1-malat@debian.org> References: <20171226105532.23452-1-malat@debian.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 980 Lines: 29 For reference: * https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.html#function-documentation 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 --- v2: Actually use the correct keyword 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..e48f6c0a9e4a 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