Commit eecca34d authored by Matt Wagantall's avatar Matt Wagantall
Browse files

msm: subsystem_restart: Check return of kmalloc in do_epoch_check()



Avoid use of the NULL pointer by returning early if kmalloc fails.

Change-Id: I58e1d9b76727fd099437c86c2c7864695e285649
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 9a4cbbdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment