Re: [PATCH v2] livepatch: make klp_mutex proper part of API
From: Josh Poimboeuf
Date: Wed Mar 08 2017 - 08:39:01 EST
On Wed, Mar 08, 2017 at 02:27:05PM +0100, Jiri Kosina wrote:
> From: Jiri Kosina <jkosina@xxxxxxx>
>
> klp_mutex is shared between core.c and transition.c, and as such would
> rather be properly located in a header so that we don't have to play
> 'extern' games from .c sources.
>
> This also silences sparse warning (wrongly) suggesting that klp_mutex
> should be defined static.
>
> Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
--
Josh