summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-19 16:55:34 +0100
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-11-16 11:46:52 +0800
commit24f8a29af4afe7c53e08f4afa0c3fa9eb3791b89 (patch)
tree6269c85116a3f86b6b7cae291654fb2870221e18 /tools/perf/scripts/python/export-to-postgresql.py
parentc9214008b52b20ba2a88dad6ba92f1a19c533db6 (diff)
drm/i915/gvt: ensure -ve return value is handled correctly
An earlier fix changed the return type from find_bb_size however the integer return is being assigned to a unsigned int so the -ve error check will never be detected. Make bb_size an int to fix this. Detected by CoverityScan CID#1456886 ("Unsigned compared against 0") Fixes: 1e3197d6ad73 ("drm/i915/gvt: Refine error handling for perform_bb_shadow") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions