Am 26.01.23 um 17:18 schrieb Thierry Reding:
On Thu, Jan 26, 2023 at 12:28:44PM +0300, Dan Carpenter wrote:
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 <erro...@gmail.com>
---
  drivers/gpu/drm/tiny/simpledrm.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Good catch! Applied to drm-misc-next, thanks.

I have cherry-picked the patch into drm-misc-next-fixes.


Thierry

--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to