mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-06 17:39:01 +01: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]>