commit | 3c7d76e371ac1a3802ae1673f5c63554af59325c | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Thu Oct 29 08:56:19 2009 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Oct 29 08:56:20 2009 +1030 |
tree | 6b8d84acb92196b0f9f044f98fd1908f8f655c87 | |
parent | d553ad864e3b3dde3f1038d491e207021b2d6293 [diff] |
param: fix setting arrays of bool We create a dummy struct kernel_param on the stack for parsing each array element, but we didn't initialize the flags word. This matters for arrays of type "bool", where the flag indicates if it really is an array of bools or unsigned int (old-style). Reported-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: stable@kernel.org