[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180620104612.GC7737@piout.net>
Date: Wed, 20 Jun 2018 12:46:12 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Zhouyang Jia <jiazhouyang09@...il.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>, linux-rtc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: rtc-bq4802: add error handling for devm_ioremap
On 12/06/2018 12:40:03+0800, Zhouyang Jia wrote:
> When devm_ioremap fails, the lack of error-handling code may
> cause unexpected results.
>
> This patch adds error-handling code after calling devm_ioremap.
>
> Signed-off-by: Zhouyang Jia <jiazhouyang09@...il.com>
> ---
> drivers/rtc/rtc-bq4802.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists