diff options
author | Sergey SENOZHATSKY <[email protected]> | 2015-08-31 18:54:58 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2015-08-31 11:38:36 +0100 |
commit | 17649c90ff4c5246bb4babf6260029968a6d119d (patch) | |
tree | 1d6d28160ef5288d1eb073889309053c707195e4 /tools/perf/scripts/python/stackcollapse.py | |
parent | 29332534e2b68b5889a40ccb6606ba0d06750a69 (diff) |
regmap: fix a NULL pointer dereference in __regmap_init
__regmap_init() may receive a NULL `struct regmap_bus *bus' pointer,
for example, from snd_hdac_regmap_init(), and it make sure that it
does not NULL deference `bus`, except around ->max_raw_read and
->max_raw_write initialisation. Add missing check.
Signed-off-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions