diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-08-01 23:00:28 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-12-20 18:53:25 +0100 |
commit | 8653be1afd60d6e8c36139b487e375b70357d9ef (patch) | |
tree | 7a7539d52980c150544133c0ee85abf4590bbca5 /init/do_mounts.c | |
parent | 858a6303f2b14945447a964563f54c918ef3927e (diff) |
mfd: Fix twl-core oops while calling twl_i2c_* for unbound driver
Check inuse variable before trying to access twl_map to prevent
dereferencing of uninitialized variable.
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Cc: stable@kernel.org
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions