linux-stable/drivers/gpu/drm/tegra
Thierry Reding 3f257bc63c 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
2023-10-11 22:52:44 +02:00
..
dc.c drm/debugfs: rework drm_debugfs_create_files implementation v2 2023-09-01 08:54:12 +02:00
dc.h
dp.c
dp.h
dpaux.c drm/tegra: dpaux: Fix incorrect return value of platform_get_irq 2023-07-27 18:41:59 +02:00
dpaux.h
drm.c drm: Clear fd/handle callbacks in struct drm_driver 2023-06-26 11:08:41 +02:00
drm.h drm/tegra: Remove two unused function declarations 2023-10-11 22:52:43 +02:00
dsi.c drm/debugfs: rework drm_debugfs_create_files implementation v2 2023-09-01 08:54:12 +02:00
dsi.h
falcon.c
falcon.h
fb.c
fbdev.c fbdev: Use _DMAMEM_ infix for DMA-memory helpers 2023-07-31 20:07:18 +02:00
firewall.c
gem.c drm/tegra: gem: Do not return NULL in tegra_bo_mmap() 2023-10-11 22:52:44 +02:00
gem.h
gr2d.c drm/tegra: Enable runtime PM during probe 2023-07-27 18:41:59 +02:00
gr2d.h
gr3d.c drm/tegra: Enable runtime PM during probe 2023-07-27 18:41:59 +02:00
gr3d.h
hda.c
hda.h
hdmi.c drm/debugfs: rework drm_debugfs_create_files implementation v2 2023-09-01 08:54:12 +02:00
hdmi.h
hub.c drm/tegra: hub: Increase buffer size to ensure all possible values can be stored 2023-10-11 22:52:43 +02:00
hub.h
Kconfig fbdev: Use _DMAMEM_ infix for DMA-memory helpers 2023-07-31 20:07:18 +02:00
Makefile
mipi-phy.c
mipi-phy.h
nvdec.c drm/tegra: Enable runtime PM during probe 2023-07-27 18:41:59 +02:00
output.c
plane.c
plane.h
rgb.c drm/tegra: rgb: Parameterize V- and H-sync polarities 2023-09-20 13:48:34 +02:00
riscv.c
riscv.h
sor.c drm/debugfs: rework drm_debugfs_create_files implementation v2 2023-09-01 08:54:12 +02:00
sor.h
submit.c
submit.h
trace.c
trace.h
uapi.c
uapi.h
vic.c drm/tegra: Enable runtime PM during probe 2023-07-27 18:41:59 +02:00
vic.h