Skip to contentSkip to conversation

cluster/gnbd-kernel/src gnbd.c

Cluster-devel [email protected] 1 participant 1 message Jul 12, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: STABLE
Changes by: bmarzins at sourceware.org 2006-07-12 17:34:29

Modified files:
gnbd-kernel/src: gnbd.c

Log message:
changed form MODULE_PARAM to module_param

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd-kernel/src/gnbd.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.6.6.1.2.3&r2=1.6.6.1.2.4

gnbd-kernel/src/gnbd.c +2 -2
@@ -29,7 +29,7 @@
 #include <linux/in.h>
 #include <linux/buffer_head.h>
 #include <linux/miscdevice.h>
-
+#include <linux/moduleparam.h>
 #include <linux/devfs_fs_kernel.h>
 
 #include <asm/uaccess.h>
@@ -1048,6 +1048,6 @@
 MODULE_LICENSE("GPL");
 
 #ifndef NDEBUG
-MODULE_PARM(debugflags, "i");
+module_param(debugflags, uint, 0644);
 MODULE_PARM_DESC(debugflags, "flags for controlling debug output");
 #endif