[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <259abc88-58ac-9101-21a1-5130168fcdac@redhat.com>
Date: Sun, 16 Jan 2022 18:31:09 +0100
From: Javier Martinez Canillas <javierm@...hat.com>
To: Miaoqian Lin <linmq006@...il.com>
Cc: bp@...e.de, daniel.vetter@...ll.ch, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, tzimmermann@...e.de
Subject: Re: [PATCH v2] drivers/firmware: Add missing platform_device_put() in
sysfb_create_simplefb
On 1/16/22 13:16, Miaoqian Lin wrote:
> Add the missing platform_device_put() before return from
> sysfb_create_simplefb() in the error handling case.
>
> Fixes: 8633ef8 ("drivers/firmware: consolidate EFI framebuffer setup for all arches")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
> ---
> Changes in v2:
> - Use goto label to avoid duplicating the error code logic.
> ---
> drivers/firmware/sysfb_simplefb.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
Reviewed-by: Javier Martinez Canillas <javierm@...hat.com>
Best regards,
--
Javier Martinez Canillas
Linux Engineering
Red Hat
Powered by blists - more mailing lists