]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] xpram module parameter parsing.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 12 Jul 2006 14:40:14 +0000 (16:40 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 12 Jul 2006 14:40:14 +0000 (16:40 +0200)
commit9e65fb6fc3e702ae3889f33c165b1442d29d254e
treeb55464fbfb94ef31a99deeca1ef327f21b593a5f
parent172ae5995991a1d021675e2795f935ae85d5d9cc
[S390] xpram module parameter parsing.

The module parameters for xpram are not or in a wrong way parsed.
The xpram module uses the module_param_array directive with an int
parameter which causes the kernel to automatically parse the passed
numbers. This will cause errors if arguments are omitted or cause
wrong results if arguments have size qualifiers.
Use module_param_array with charp and parse the arguments later.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/xpram.c