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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Jul 2008 20:20:21 +0300
From:	Adrian Bunk <bunk@...nel.org>
To:	ambx1@....rr.com, Bjorn Helgaas <bjorn.helgaas@...com>,
	Rene Herman <rene.herman@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [2.6 patch] make pnp_build_option() static

pnp_build_optionq() can now become static.

Signed-off-by: Adrian Bunk <bunk@...nel.org>

---
87ec46ea755fc5349371bf2208b30264da355699 
diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c
index 4cfe3a1..2e5b7eb 100644
--- a/drivers/pnp/resource.c
+++ b/drivers/pnp/resource.c
@@ -30,8 +30,9 @@ static int pnp_reserve_mem[16] = {[0 ... 15] = -1 };	/* reserve (don't use) some
  * option registration
  */
 
-struct pnp_option *pnp_build_option(struct pnp_dev *dev, unsigned long type,
-				    unsigned int option_flags)
+static struct pnp_option *pnp_build_option(struct pnp_dev *dev,
+					   unsigned long type,
+					   unsigned int option_flags)
 {
 	struct pnp_option *option;
 

--
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