From patchwork Sat Apr 15 18:55:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Matias_Bj=C3=B8rling?= X-Patchwork-Id: 9682365 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B60B360138 for ; Sat, 15 Apr 2017 18:57:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A920D25223 for ; Sat, 15 Apr 2017 18:57:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E48125E13; Sat, 15 Apr 2017 18:57:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAF1827F8C for ; Sat, 15 Apr 2017 18:57:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755666AbdDOS4u (ORCPT ); Sat, 15 Apr 2017 14:56:50 -0400 Received: from mail-dm3nam03on0041.outbound.protection.outlook.com ([104.47.41.41]:38016 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754723AbdDOS4o (ORCPT ); Sat, 15 Apr 2017 14:56:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cnexlabs.onmicrosoft.com; s=selector1-cnexlabs-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SOVvhLjQ0gDF6f150g7F3n+QVShAF41BteICdNugnSU=; b=R0m5Zbg6oHmQeGKuoazQrQa7uBRLrgcRD7DtNOEREYYqDWp0kKqaFHAu+1rTedTzx1IoXGKeAFDDn+2pEfGBasw3KUgyqGx5bOFAsMrxYt/RyIISKEYtHR5T58n3zO9ZS4v4zBItqJq6tbNOmBU41s8ysjTNHDdAgsvaZeweiZ0= Authentication-Results: fb.com; dkim=none (message not signed) header.d=none; fb.com; dmarc=none action=none header.from=cnexlabs.com; Received: from skyninja.cnexlabs.com (193.106.164.211) by CY4PR06MB2774.namprd06.prod.outlook.com (10.175.117.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Sat, 15 Apr 2017 18:56:29 +0000 From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: CC: , , =?UTF-8?q?Javier=20Gonz=C3=A1lez?= , =?UTF-8?q?Javier=20Gonz=C3=A1lez?= , =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [GIT PULL 12/19] lightnvm: make nvm_free static Date: Sat, 15 Apr 2017 20:55:46 +0200 Message-ID: <20170415185553.16098-13-matias@cnexlabs.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170415185553.16098-1-matias@cnexlabs.com> References: <20170415185553.16098-1-matias@cnexlabs.com> MIME-Version: 1.0 X-Originating-IP: [193.106.164.211] X-ClientProxiedBy: AM5PR0701CA0069.eurprd07.prod.outlook.com (10.169.145.159) To CY4PR06MB2774.namprd06.prod.outlook.com (10.175.117.142) X-MS-Office365-Filtering-Correlation-Id: fab60e4b-8b51-426f-816f-08d484312106 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY4PR06MB2774; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2774; 3:4bggkthSboSbIQm7fF8SUI1AX/84e514ywTyIIU8ql8TVy3SBB2BzOw/MG8m5ymqvMpCt4SJV4SbNa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t1GMWZ511usKMKW2ObzdQ3bjNNAIKsv2zvC+S4iWjK90am94qVl7pP0guoBogdUqGKbeDYiaC3VWf9Nm84g1OuuApc+WYre6PBhgAzBPvMXgF9Snvrs2/JMbKJacGsKX2aly2M= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6041248)(20161123564025)(20161123562025)(20161123560025)(201703131423075)(201703061421075)(20161123555025)(6072148); SRVR:CY4PR06MB2774; BCL:0; PCL:0; RULEID:; SRVR:CY4PR06MB2774; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2774; 4:M13fBSC5SVy1B+Y7KTHaE5RcFap2RX5DeoRExfkLZDB86RPZIhAnjYOlEN9NgzilFedcL3/b0P4mCoG/0SsCVgbBhOqTro2+oaaa/wi9GjG9yRLmJ4Md6I8TELf8xGuAVKJxf4AZkkcxbxWs1dRx3TMz3AyGdy3JAVt0gkz+TI3OChk9KgtOdfzLVfN4KZ/lhJ3qZZZQRgauU+plGrz2ASp2H3hsioSY2mFUrHKlUhu2o49FpXpxmgrrsLeR81YAGwOkloJRyVSkpUZuUHkVS+/fIFdu90aMlz7Og+gyWa1tmAZQTRblVB3M8fjEeepnGexIRnaNBA/RABc5+NHmXhtCfM0ozWUPay1SwwLdsxP8GXaTlYxbSGqMznEACaGwZfq6Suqey1KVO/d7F59BgD6SCNrZXH871Lo32mCAvIzg1sQfFP20+3P21MNm/PfZutfzs2FCQpo6EAQclgVf6PVd3XwGAUpSjqncjQib1pPIJFkIfeg8Vg5WsBXmadnmMV0pL31Kjj7CzgBLPML6+IJ+qUA3GEZC6DMgROcZEF1B9QL/eUryUa1GMpd+65SIZpPz4XdUSysZ6m2k5bPK/DmN823151eXAsryR9c3SJl0akAuIKm1FVjEL4WQFfgZUPi6oxZaVP51Zzt1txUhAmGA7IA8pC/CxU/59UYI4JbqUqOsmbL5mFuJ7faf0nLo X-Forefront-PRVS: 02788FF38E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39450400003)(86362001)(305945005)(1076002)(6916009)(6666003)(25786009)(2950100002)(6486002)(2906002)(3846002)(6116002)(2870700001)(54906002)(189998001)(53936002)(53416004)(107886003)(110136004)(5660300001)(38730400002)(50986999)(76176999)(2351001)(4326008)(66066001)(5820100001)(23676002)(81166006)(47776003)(42186005)(36756003)(33646002)(50226002)(8676002)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR06MB2774; H:skyninja.cnexlabs.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjA2TUIyNzc0OzIzOm9Ra1JuYkh2Qm0vRnFITnBGRmtyWHJZdjhk?= =?utf-8?B?TW9QV3dXbXZSbEpWTE93VXorVTRLK1k3SEpWVXdrVFZkVzJCNFFrbjAwczdJ?= =?utf-8?B?SHNNK24wQVJsbStIL21oZUs5KzhLNnR1aktONi9nRElXTDF5cVQ3YjFId05h?= =?utf-8?B?TUpHWlR1Y1hjbDVXeFFOTlN5QTlreFJBN0laeEhIUHdqbHQwOW5GajdMV1Fx?= =?utf-8?B?NEZpeXljcUx4dWFueXc5Mk0yMEhJbnhBbHk3blh3eUFpeHlrbWkxNjBrZzh4?= =?utf-8?B?L0xBdkFkYVh5UktGcU1wb05CWEdsNnF5R0NmNHFabDZMQkV5YlBFVExSR0JN?= =?utf-8?B?dmwxVDk5VEJqaVlaRXpoaXkrWHA5LzYrQTB1ZnhLdU1BRndJZ2VWYTMweU5y?= =?utf-8?B?Q1RwYzd6OURhQmg1VUMzYmxDTkRMTFJyRjFxSGFBeTVtMS92WDdMdE1qU01r?= =?utf-8?B?T0FCMHgxelcxVHlsTWwzd055WlBpMjBNeXpSQ3JIWmh3L3k2RXFSZ1J5azdx?= =?utf-8?B?dytoRkZtdUIw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qmPfjo6jiWwBDXlg== X-OriginatorOrg: cnexlabs.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2017 18:56:29.6661 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB2774 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Javier González Prefix the nvm_free static function with a missing static keyword. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- 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 a63b563..eb9ab1a 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;