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

Alexandre Belloni alexandre.belloni at bootlin.com
Tue Mar 8 08:41:28 PST 2022


On Fri, 25 Feb 2022 08:19:24 -0800, Elliot Berman wrote:
> From: Ali Pouladi <quic_apouladi at quicinc.com>
> 
> 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 at bootlin.com>



More information about the linux-arm-kernel mailing list