From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751698AbcFSWT7 (ORCPT ); Sun, 19 Jun 2016 18:19:59 -0400 Received: from cataclysm.awful.name ([78.46.181.170]:37369 "EHLO cataclysm.awful.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751283AbcFSWT4 (ORCPT ); Sun, 19 Jun 2016 18:19:56 -0400 From: Joshua Houghton To: Lidza Louina Cc: driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Mark Hounschell , Greg Kroah-Hartman Subject: Re: [PATCH] staging: dgnc: add __exit macro to dgnc_driver.c Date: Sun, 19 Jun 2016 23:19:56 +0000 Message-ID: <1640410.RXtvxikJaX@arch> User-Agent: KMail/5.2.2 (Linux/4.6.2-1-ARCH; KDE/5.22.0; x86_64; ; ) In-Reply-To: <5692082.Auxs8z2f2s@arch> References: <5692082.Auxs8z2f2s@arch> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, 18 June 2016 19:42:07 UTC Joshua Houghton wrote: > Add the __exit macro to the dgnc_cleanup_module(void) function > in dgnc_driver.c > > Signed-off-by: Joshua Houghton > --- > drivers/staging/dgnc/dgnc_driver.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/dgnc/dgnc_driver.c > b/drivers/staging/dgnc/dgnc_driver.c index af2e835..2c3fb2a 100644 > --- a/drivers/staging/dgnc/dgnc_driver.c > +++ b/drivers/staging/dgnc/dgnc_driver.c > @@ -158,7 +158,7 @@ static void cleanup(bool sysfiles) > * > * Module unload. This is where it all ends. > */ > -static void dgnc_cleanup_module(void) > +static void __exit dgnc_cleanup_module(void) > { > cleanup(true); > pci_unregister_driver(&dgnc_driver); Forgot to CC in Greg Kroah-Hartman