Command line parameter not passed to module in linux-next

From: Christof Schmitt
Date: Fri Feb 27 2009 - 12:01:41 EST


The linux-next kernel does not pass charp parameters from the kernel
command line to modules:

# cat /proc/cmdline
dasd=4d70-4d73 root=/dev/dasdc1 zfcp.device=0.0.181d,0x500507630310c562,0x401040C300000000 zfcp.dbfsize=4096 BOOT_IMAGE=0

# cat /sys/module/zfcp/parameters/device
<NULL>

It seems that this patches introduces the problem:
commit 9f229de63cf02297c0e0fbaa8d74b962cceff435
Author: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Date: Fri Feb 20 10:31:19 2009 +1100

param:fix-charp-sysfs-write

Reverting the patch on linux-next fixes the problem:

# cat /sys/module/zfcp/parameters/device
0.0.181d,0x500507630310c562,0x401040C300000000

--
Christof Schmitt
--
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/