diff options
author | Thierry Reding <treding@nvidia.com> | 2023-10-10 17:26:14 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2023-10-11 22:52:44 +0200 |
commit | 3f257bc63c0dcf50135971727e10e54f938d7fd7 (patch) | |
tree | 2de291719595ae8219323da0df5bde11e1039ed9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3868ff006b572cf501a3327832d36c64a9eca86a (diff) |
drm/tegra: gem: Do not return NULL in tegra_bo_mmap()
It's confusing for a function to return NULL and ERR_PTR()-encoded error
codes on failure. Make sure we only ever return the latter since that's
what callers already expect.
Reported-by: Sui Jingfeng <suijingfeng@loongson.cn>
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ZSVuVcqdGfGtQIQj@orome.fritz.box
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions