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: <20061211190619.GE28443@stusta.de>
Date:	Mon, 11 Dec 2006 20:06:19 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Andrew Morton <akpm@...l.org>, "Hans J. Koch" <hjk@...utronix.de>,
	Thomas Gleixner <tglx@...utronix.de>,
	Benedikt Spranger <b.spranger@...utronix.de>
Cc:	linux-kernel@...r.kernel.org
Subject: [-mm patch] drivers/uio/: make 3 functions static

On Mon, Dec 11, 2006 at 12:58:07AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.19-rc6-mm2:
>...
> +gregkh-driver-uio.patch
> +gregkh-driver-uio-dummy.patch
>...
>  driver tree updates
>...

This patch makes three needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@...sta.de>

---

 drivers/uio/uio.c       |    2 +-
 drivers/uio/uio_dummy.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.19-mm1/drivers/uio/uio.c.old	2006-12-11 18:26:58.000000000 +0100
+++ linux-2.6.19-mm1/drivers/uio/uio.c	2006-12-11 18:27:14.000000000 +0100
@@ -602,7 +602,7 @@
 	return 0;
 }
 
-void __exit uio_exit(void)
+static void __exit uio_exit(void)
 {
 }
 
--- linux-2.6.19-mm1/drivers/uio/uio_dummy.c.old	2006-12-11 18:27:43.000000000 +0100
+++ linux-2.6.19-mm1/drivers/uio/uio_dummy.c	2006-12-11 18:28:15.000000000 +0100
@@ -137,7 +137,7 @@
 
 }
 
-struct platform_device *uio_dummy_device;
+static struct platform_device *uio_dummy_device;
 
 static struct device_driver uio_dummy_driver = {
 	.name		= "uio_dummy",
@@ -160,7 +160,7 @@
 	return driver_register(&uio_dummy_driver);
 }
 
-void __exit uio_dummy_exit(void)
+static void __exit uio_dummy_exit(void)
 {
 	platform_device_unregister(uio_dummy_device);
 	driver_unregister(&uio_dummy_driver);

-
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