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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 04 Apr 2008 19:15:58 -0700
From:	David Brownell <david-b@...bell.net>
To:	akpm@...ux-foundation.org
Cc:	linux-kernel@...r.kernel.org
Subject: [patch 2.6.25-rc-mm] don't export gpiochip_reserve (section fix)

Fix section warning:
  WARNING: drivers/gpio/built-in.o(__ksymtab_gpl+0xc0): Section mismatch
  in reference from the variable __ksymtab_gpiochip_reserve
  to the function .init.text:gpiochip_reserve()
  The symbol gpiochip_reserve is exported and annotated __init 
  Fix this by removing the __init annotation of gpiochip_reserve or drop the export.

Signed-off-by: David Brownell <dbrownell@...rs.sourceforge.net>
---
 drivers/gpio/gpiolib.c |    1 -
 1 file changed, 1 deletion(-)

--- g26.orig/drivers/gpio/gpiolib.c	2008-03-31 13:05:15.000000000 -0700
+++ g26/drivers/gpio/gpiolib.c	2008-03-31 13:05:29.000000000 -0700
@@ -150,7 +150,6 @@ err:
 
 	return ret;
 }
-EXPORT_SYMBOL_GPL(gpiochip_reserve);
 
 /**
  * gpiochip_add() - register a gpio_chip
--
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