Command line parameter not passed to module in linux-next

Christof Schmitt
2009-02-27T17:01:41Z

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@rustcorp.com.au>
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