diff options
author | Daniel Mack <zonque@gmail.com> | 2013-07-04 13:11:03 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-04 13:54:44 +0100 |
commit | f2e055e7c9c6084bfbaa68701e52562acf96419e (patch) | |
tree | 4ce54d782bf8d2d3bea48d57b3304837b733c67e /drivers/firewire | |
parent | 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff) | |
download | blackbird-op-linux-f2e055e7c9c6084bfbaa68701e52562acf96419e.tar.gz blackbird-op-linux-f2e055e7c9c6084bfbaa68701e52562acf96419e.zip |
regmap: cache: bail in regmap_async_complete() for bus-less maps
Commit f8bd822cb ("regmap: cache: Factor out block sync") made
regcache_rbtree_sync() call regmap_async_complete(), which in turn does
not check for map->bus before dereferencing it.
This causes a NULL pointer dereference on bus-less maps.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: stable@vger.kernel.org [v3.10 only]
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions