diff options
author | 2016-07-15 14:07:32 +0300 | |
---|---|---|
committer | 2016-08-11 17:54:57 +0300 | |
commit | e0299908d606a99e7ffb467bc3c11dfe54133af3 (patch) | |
tree | 308d05daffe49c3d4980cd8482cb9c12a470eba2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fb: adv7393: Use IS_ENABLED() instead of checking for built-in or module (diff) | |
download | wireguard-linux-e0299908d606a99e7ffb467bc3c11dfe54133af3.tar.xz wireguard-linux-e0299908d606a99e7ffb467bc3c11dfe54133af3.zip |
video: fbdev: pxafb: potential NULL dereference on error
If we "goto out;" then it calls display_timings_release(timings);
Since "timings" is NULL, that's going to oops. Just return directly.
Fixes: 420a488278e8 ('video: fbdev: pxafb: initial devicetree conversion')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions