diff options
author | Dan Carpenter <error27@gmail.com> | 2023-01-26 10:28:44 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-02-01 11:16:46 +0100 |
commit | 9bdd9424bfec5eebf38dd4928f2d171ec7b1a57e (patch) | |
tree | e5da13bd2dde6a4aab5c8eb91f87cfc5ea816de9 /drivers/media/Kconfig | |
parent | Merge v6.2-rc6 into drm-next (diff) | |
download | linux-9bdd9424bfec5eebf38dd4928f2d171ec7b1a57e.tar.xz linux-9bdd9424bfec5eebf38dd4928f2d171ec7b1a57e.zip |
drm/simpledrm: Fix an NULL vs IS_ERR() bug
The devm_memremap() function doesn't return NULL, it returns error
pointers.
Fixes: 9a10c7e6519b ("drm/simpledrm: Add support for system memory framebuffers")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/Y9JHzImRcUaa0mi1@kili
(cherry picked from commit e566507bf2f460967f53030ef84b67ef26dcaf8e)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'drivers/media/Kconfig')
0 files changed, 0 insertions, 0 deletions