[PATCH] arm64: syscall: include prototype for EL0 SVC functions

Catalin Marinas catalin.marinas at arm.com
Thu Jan 14 12:49:11 EST 2021


On Thu, 14 Jan 2021 12:48:12 +0000, Mark Rutland wrote:
> The kbuild test robot reports that when building with W=1, GCC will warn
> for a couple of missing prototypes in syscall.c:
> 
> |  arch/arm64/kernel/syscall.c:157:6: warning: no previous prototype for 'do_el0_svc' [-Wmissing-prototypes]
> |    157 | void do_el0_svc(struct pt_regs *regs)
> |        |      ^~~~~~~~~~
> |  arch/arm64/kernel/syscall.c:164:6: warning: no previous prototype for 'do_el0_svc_compat' [-Wmissing-prototypes]
> |    164 | void do_el0_svc_compat(struct pt_regs *regs)
> |        |      ^~~~~~~~~~~~~~~~~
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: syscall: include prototype for EL0 SVC functions
      https://git.kernel.org/arm64/c/b5639879902a

-- 
Catalin




More information about the linux-arm-kernel mailing list