diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-10-29 08:56:19 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-10-29 08:56:20 +1030 |
commit | 3c7d76e371ac1a3802ae1673f5c63554af59325c (patch) | |
tree | 6b8d84acb92196b0f9f044f98fd1908f8f655c87 /init/do_mounts.c | |
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
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions