[8/8] fix module_param() type mismatch in drivers/char/n_hdlc.c

From: William Lee Irwin III
Date: Mon Jan 03 2005 - 13:30:42 EST


maxframe is a variable of type ssize_t; this patch repairs the warning
arising from the type mismatch in the module_param() declaration.

Signed-off-by: William Irwin <wli@xxxxxxxxxxxxxx>

Index: mm1-2.6.10/drivers/char/n_hdlc.c
===================================================================
--- mm1-2.6.10.orig/drivers/char/n_hdlc.c 2005-01-03 06:46:06.000000000 -0800
+++ mm1-2.6.10/drivers/char/n_hdlc.c 2005-01-03 08:35:57.000000000 -0800
@@ -976,5 +976,5 @@
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Paul Fulghum paulkf@xxxxxxxxxxxxx");
module_param(debuglevel, int, 0);
-module_param(maxframe, int, 0);
+module_param(maxframe, ssize_t, 0);
MODULE_ALIAS_LDISC(N_HDLC);
-
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/