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

Commit bacd235e authored by Ankit Mishra's avatar Ankit Mishra
Browse files

clocksource: arm_arch_timer: Fix a NULL Pointer dereference



In case best_frame is not populated with virtual/physical capable frame,
NULL pointer is passed as an argument to of_iomap .To avoid  NULL pointer
dereference add a check before.

Change-Id: Ia7bad6630662ee3a4ad7c9226f9d3858b2e7a36c
Signed-off-by: default avatarAnkit Mishra <ankimi@codeaurora.org>
parent 3ae04518
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