Re: [PATCH] rtc: pl031: fix rtc features null pointer dereference

From: Alexandre Belloni
Date: Tue Mar 08 2022 - 11:41:48 EST


On Fri, 25 Feb 2022 08:19:24 -0800, Elliot Berman wrote:
> From: Ali Pouladi <quic_apouladi@xxxxxxxxxxx>
>
> When there is no interrupt line, rtc alarm feature is disabled.
>
> The clearing of the alarm feature bit was being done prior to allocations
> of ldata->rtc device, resulting in a null pointer dereference.
>
> [...]

Applied, thanks!

[1/1] rtc: pl031: fix rtc features null pointer dereference
commit: 75445c15916421993d47c338a17d49f3449b516f

Best regards,
--
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>