diff options
author | 2018-02-20 16:03:48 -0500 | |
---|---|---|
committer | 2018-03-14 15:08:41 -0500 | |
commit | d5400aab15761cd836e3d5d0ad34c330784bbe1a (patch) | |
tree | fb76874ea1abd3fa42459d2ab924e6a9ca484511 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: Fix memleaks when atomic check fails. (diff) | |
download | wireguard-linux-d5400aab15761cd836e3d5d0ad34c330784bbe1a.tar.xz wireguard-linux-d5400aab15761cd836e3d5d0ad34c330784bbe1a.zip |
drm/amd/display: Use correct error codes
Should return -ENOMEM when allocation fails.
Also, just return the error code instead of using a variable.
Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions