[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161666581740.223087.673529524234867266.b4-ty@kernel.org>
Date: Thu, 25 Mar 2021 11:19:03 +0000
From: Will Deacon <will@...nel.org>
To: samitolvanen@...gle.com, amit.kachhap@....com,
keescook@...omium.org, mark.rutland@....com, 0x7f454c46@...il.com,
Maninder Singh <maninder1.s@...sung.com>,
catalin.marinas@....com, akpm@...ux-foundation.org, pcc@...gle.com,
james.morse@....com, vincenzo.frascino@....com,
nsaenzjulienne@...e.de
Cc: kernel-team@...roid.com, Will Deacon <will@...nel.org>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
a.sahrawat@...sung.com
Subject: Re: (subset) [PATCH 1/2] arm64/process.c: fix Wmissing-prototypes build warnings
On Wed, 24 Mar 2021 12:24:58 +0530, Maninder Singh wrote:
> function protypes are missed before defination, which
> leads to compilation warning with "-Wmissing-prototypes"
> flag.
>
> https://lkml.org/lkml/2021/3/19/840
>
> arch/arm64/kernel/process.c:261:6: warning: no previous prototype for '__show_regs' [-Wmissing-prototypes]
> 261 | void __show_regs(struct pt_regs *regs)
> | ^~~~~~~~~~~
> arch/arm64/kernel/process.c:307:6: warning: no previous prototype for '__show_regs_alloc_free' [-Wmissing-prototypes]
> 307 | void __show_regs_alloc_free(struct pt_regs *regs)
> | ^~~~~~~~~~~~~~~~~~~~~~
> arch/arm64/kernel/process.c:365:5: warning: no previous prototype for 'arch_dup_task_struct' [-Wmissing-prototypes]
> 365 | int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
> | ^~~~~~~~~~~~~~~~~~~~
> arch/arm64/kernel/process.c:546:41: warning: no previous prototype for '__switch_to' [-Wmissing-prototypes]
> 546 | __notrace_funcgraph struct task_struct *__switch_to(struct task_struct *prev,
> | ^~~~~~~~~~~
> arch/arm64/kernel/process.c:710:25: warning: no previous prototype for 'arm64_preempt_schedule_irq' [-Wmissing-prototypes]
> 710 | asmlinkage void __sched arm64_preempt_schedule_irq(void)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Applied first patch ONLY to arm64 (for-next/fixes), thanks!
[1/2] arm64/process.c: fix Wmissing-prototypes build warnings
https://git.kernel.org/arm64/c/baa96377bc7b
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists