mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
The devm_memremap() function doesn't return NULL, it returns error pointers. Fixes:9a10c7e651("drm/simpledrm: Add support for system memory framebuffers") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/Y9JHzImRcUaa0mi1@kili (cherry picked from commite566507bf2) Signed-off-by: Thomas Zimmermann <[email protected]>