diff options
| author | Dan Carpenter <[email protected]> | 2020-02-28 17:14:13 +0300 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-02-28 21:13:16 +0000 |
| commit | efbf928824820f2738f41271934f6ec2c6ebd587 (patch) | |
| tree | 28204d2f7a99133184d72f14139c419ec8afacac /tools/perf/scripts/python/syscall-counts.py | |
| parent | 3c75050e477c95c2fb78ac3669cbef1414814392 (diff) | |
drm/i915/selftests: Fix return in assert_mmap_offset()
The assert_mmap_offset() returns type bool so if we return an error
pointer that is "return true;" or success. If we have an error, then
we should return false.
Fixes: 3d81d589d6e3 ("drm/i915: Test exhaustion of the mmap space")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions