Re: [PATCH] PCI and I2C fixes for 2.6.8

From: Greg KH
Date: Mon Aug 23 2004 - 14:44:43 EST


ChangeSet 1.1807.56.21, 2004/08/06 11:08:00-07:00, greg@xxxxxxxxx

MODULE: delete local static copy of param_set_byte as we now have a real version of it.

Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


kernel/module.c | 13 -------------
1 files changed, 13 deletions(-)


diff -Nru a/kernel/module.c b/kernel/module.c
--- a/kernel/module.c 2004-08-23 11:04:36 -07:00
+++ b/kernel/module.c 2004-08-23 11:04:36 -07:00
@@ -725,19 +725,6 @@
#endif /* CONFIG_MODULE_UNLOAD */

#ifdef CONFIG_OBSOLETE_MODPARM
-static int param_set_byte(const char *val, struct kernel_param *kp)
-{
- char *endp;
- long l;
-
- if (!val) return -EINVAL;
- l = simple_strtol(val, &endp, 0);
- if (endp == val || *endp || ((char)l != l))
- return -EINVAL;
- *((char *)kp->arg) = l;
- return 0;
-}
-
/* Bounds checking done below */
static int obsparm_copy_string(const char *val, struct kernel_param *kp)
{

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