[PATCH] arm64: use __func__ to get function name in pr_err

Will Deacon will at kernel.org
Fri Jul 30 05:24:38 PDT 2021


On Mon, Jul 26, 2021 at 08:29:07PM +0800, Jason Wang wrote:
> Prefer using '"%s...", __func__' to get current function's name in
> a debug message.
> 
> Signed-off-by: Jason Wang <wangborong at cdjrlc.com>
> ---
>  arch/arm64/lib/insn.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Will Deacon <will at kernel.org>

Will



More information about the linux-arm-kernel mailing list