Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 473195f8 authored by Axel Lin's avatar Axel Lin Committed by Alexandre Belloni
Browse files

rtc: ac100: Add NULL checking for devm_kzalloc call



devm_kzalloc can return NULL, add NULL checking to prevent NULL pointer
dereference.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent ee85bb5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment