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-next>] [day] [month] [year] [list]
Message-Id: <20080227121116.bd9ee5aa.rdunlap@xenotime.net>
Date:	Wed, 27 Feb 2008 12:11:16 -0800
From:	Randy Dunlap <rdunlap@...otime.net>
To:	kernel@...tstofly.org, nico@....org, rmk@....linux.org.uk
Cc:	lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH] arm: eliminate MODULE_PARM() usage

From: Randy Dunlap <randy.dunlap@...cle.com>

Convert debug-only (and removed) MODULE_PARM() to module_param().
Compiles cleanly (with DEBUG=1).

Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
 arch/arm/mach-pxa/cpu-pxa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- next-20080227.orig/arch/arm/mach-pxa/cpu-pxa.c
+++ next-20080227/arch/arm/mach-pxa/cpu-pxa.c
@@ -43,7 +43,7 @@
 
 #ifdef DEBUG
 static unsigned int freq_debug;
-MODULE_PARM(freq_debug, "i");
+module_param(freq_debug, uint, 0);
 MODULE_PARM_DESC(freq_debug, "Set the debug messages to on=1/off=0");
 #else
 #define freq_debug  0
--
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