Re: [PATCH] watchdog: sunxi_wdt: fix improper error exit code
From: Maxime Ripard
Date: Fri May 29 2020 - 07:08:14 EST
On Fri, May 29, 2020 at 05:45:14PM +0800, Frank Lee wrote:
> From: Martin Wu <wuyan@xxxxxxxxxxxxxxxxx>
>
> sunxi_wdt_probe() should return -ENOMEM when devm_kzalloc() fails.
>
> Signed-off-by: Martin Wu <wuyan@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Frank Lee <frank@xxxxxxxxxxxxxxxxx>
Acked-by: Maxime Ripard <mripard@xxxxxxxxxx>
Thanks!
Maxime
Attachment:
signature.asc
Description: PGP signature