From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753473AbdCHNi6 (ORCPT ); Wed, 8 Mar 2017 08:38:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40390 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753445AbdCHNi4 (ORCPT ); Wed, 8 Mar 2017 08:38:56 -0500 Date: Wed, 8 Mar 2017 07:38:53 -0600 From: Josh Poimboeuf To: Jiri Kosina Cc: Jessica Yu , Miroslav Benes , Petr Mladek , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] livepatch: make klp_mutex proper part of API Message-ID: <20170308133853.vumpm6lpm3id7ypa@treble> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 08 Mar 2017 13:38:56 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 08, 2017 at 02:27:05PM +0100, Jiri Kosina wrote: > From: Jiri Kosina > > 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 Acked-by: Josh Poimboeuf -- Josh