Commit c391f370 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Array overindexing in w9968cf

From: Jean Delvare <khali@linux-fr.org>

There are 24 members of this array.
parent dff11c5e
...@@ -98,7 +98,7 @@ static unsigned short debug = W9968CF_DEBUG_LEVEL; ...@@ -98,7 +98,7 @@ static unsigned short debug = W9968CF_DEBUG_LEVEL;
static int specific_debug = W9968CF_SPECIFIC_DEBUG; static int specific_debug = W9968CF_SPECIFIC_DEBUG;
#endif #endif
static unsigned int param_nv[23]; /* number of values per paramater */ static unsigned int param_nv[24]; /* number of values per parameter */
module_param(vppmod_load, bool, 0444); module_param(vppmod_load, bool, 0444);
module_param(simcams, ushort, 0444); module_param(simcams, ushort, 0444);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment