Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754612AbdDKKxC (ORCPT ); Tue, 11 Apr 2017 06:53:02 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:36345 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754164AbdDKKvh (ORCPT ); Tue, 11 Apr 2017 06:51:37 -0400 Subject: Re: [PATCH 2/3] lightnvm: make nvm_free static To: =?UTF-8?Q?Javier_Gonz=c3=a1lez?= References: <1491850297-18235-1-git-send-email-javier@cnexlabs.com> <1491850297-18235-2-git-send-email-javier@cnexlabs.com> Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Javier_Gonz=c3=a1lez?= From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: <1b0565ff-61d8-7a88-ccde-11c915252d55@lightnvm.io> Date: Tue, 11 Apr 2017 12:51:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1491850297-18235-2-git-send-email-javier@cnexlabs.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 662 Lines: 24 On 04/10/2017 08:51 PM, Javier González wrote: > Prefix the nvm_free static function with a missing static keyword. > > Signed-off-by: Javier González > --- > drivers/lightnvm/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c > index bdbb333..3e51a05 100644 > --- a/drivers/lightnvm/core.c > +++ b/drivers/lightnvm/core.c > @@ -999,7 +999,7 @@ static int nvm_core_init(struct nvm_dev *dev) > return ret; > } > > -void nvm_free(struct nvm_dev *dev) > +static void nvm_free(struct nvm_dev *dev) > { > if (!dev) > return; > Thanks. Applied for 4.12.