diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-04-18 17:29:37 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-05-07 10:19:11 -0400 |
commit | 4a9fbfcab19d3f71ad2bf0bcb653c4ee84e69c7f (patch) | |
tree | 7e41a139217faba0767b3c8051c44aebdbdc851d /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 164c2416dd40770aba5814f93da835e8a9f7196d (diff) |
drm/omap: silence unititialized variable warning
Smatch complains that "area_free" could be used without being
initialized. This code is several years old and premusably works fine
so this can't be a very serious bug. But it's easy enough to silence
the warning. If "area_free" is false at the end of the function then
we return -ENOMEM.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180418142937.GA13828@mwanda
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions