Re: [PATCH] x86/paravirt: Get rid of patch_site label

From: Borislav Petkov
Date: Fri Sep 07 2018 - 06:51:17 EST


On Fri, Sep 07, 2018 at 12:49:17PM +0200, Borislav Petkov wrote:
> From: Borislav Petkov <bp@xxxxxxx>
>
> When CONFIG_PARAVIRT_SPINLOCKS=n, it fires
>
> arch/x86/kernel/paravirt_patch_64.c: In function ânative_patchâ:
> arch/x86/kernel/paravirt_patch_64.c:89:1: warning: label âpatch_siteâ defined but not used [-Wunused-label]
> patch_site:
>
> but that label can simply be removed by directly calling
> paravirt_patch_insns() there.

Whoops, no, it is still being used. Lemme see if I can remove all the
labels in that function.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.