diff options
author | 2018-02-19 15:43:01 -0600 | |
---|---|---|
committer | 2018-02-20 12:07:43 +0000 | |
commit | 12ae3808c160b7be0de3c633ac4cbe8c5f2937bf (patch) | |
tree | c0ea83e53096f971df9be32bbd4a1d8f8a7452d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-rng-12ae3808c160b7be0de3c633ac4cbe8c5f2937bf.tar.xz linux-rng-12ae3808c160b7be0de3c633ac4cbe8c5f2937bf.zip |
regmap: Allow missing device in regmap_name_read_file()
This fixes a possible NULL pointer dereference oops in
regmap_name_read_file() when the regmap does not have a device
associated with it. For example syscon regmaps retrieved with
syscon_regmap_lookup_by_compatible() don't have a device.
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions