4 Apr 2007 15:30
[PATCH] irda.ko debug parameter writable
Hi How about making irda.ko debug module parameter run-time modifiable. It was quite useful in my debugging... Can it cause problems? Thanks Guennadi --------------------------------- Guennadi Liakhovetski, Ph.D. DSA Daten- und Systemtechnik GmbH Pascalstr. 28 D-52076 Aachen Germany PATCH FOLLOWS Make irda.ko debug module parameter read-writable. Notice, that it is only enabled when CONFIG_IRDA_DEBUG is set. Signed-off-by: G. Liakhovetski <gl@...> diff -u -r1.1.1.5 irmod.c --- a/net/irda/irmod.c 15 Aug 2006 07:22:02 -0000 1.1.1.5 +++ b/net/irda/irmod.c 4 Apr 2007 13:13:04 -0000 <at> <at> -60,7 +60,7 <at> <at> */ #ifdef CONFIG_IRDA_DEBUG unsigned int irda_debug = IRDA_DEBUG_LEVEL; -module_param_named(debug, irda_debug, uint, 0); +module_param_named(debug, irda_debug, uint, S_IRUGO | S_IWUSR);(Continue reading)
) Ok, forget about it
RSS Feed