lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200908230206.57937.mb@bu3sch.de>
Date:	Sun, 23 Aug 2009 02:06:57 +0200
From:	Michael Buesch <mb@...sch.de>
To:	Peter Huewe <PeterHuewe@....de>
Cc:	Jiri Kosina <trivial@...nel.org>,
	Kay Sievers <kay.sievers@...y.org>,
	Greg Kroah-Hartman <gregkh@...e.de>,
	linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] gpio: adding __init/__exit macros in drivers/gpio/bt8xxgpio.c

On Sunday 23 August 2009 02:01:10 Peter Huewe wrote:
> From: Peter Huewe <peterhuewe@....de>
> 
> Trivial patch which adds the __init/__exit macro to the init/exit functions of
> drivers/gpio/bt8xxgpio.c
> 
> Michael, Kay or Greg, please have a look at the small patch and either pull it
> through your tree, or please ack' it so Jiri can pull it through the trivial
> tree.
> 
> linux version 2.6.31-rc7 - linus git tree, So 23. Aug 01:38:43 CEST 2009
> 
> Signed-off-by: Peter Huewe <peterhuewe@....de>

Acked-by: Michael Buesch <mb@...sch.de>

> ---
> diff --git a/drivers/gpio/bt8xxgpio.c b/drivers/gpio/bt8xxgpio.c
> index 984b587..5590414 100644
> --- a/drivers/gpio/bt8xxgpio.c
> +++ b/drivers/gpio/bt8xxgpio.c
> @@ -331,13 +331,13 @@ static struct pci_driver bt8xxgpio_pci_driver = {
>  	.resume		= bt8xxgpio_resume,
>  };
>  
> -static int bt8xxgpio_init(void)
> +static int __init bt8xxgpio_init(void)
>  {
>  	return pci_register_driver(&bt8xxgpio_pci_driver);
>  }
>  module_init(bt8xxgpio_init)
>  
> -static void bt8xxgpio_exit(void)
> +static void __exit bt8xxgpio_exit(void)
>  {
>  	pci_unregister_driver(&bt8xxgpio_pci_driver);
>  }
> 
> 



-- 
Greetings, Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ