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

Commit 568463b2 authored by Sarada Prasanna Garnayak's avatar Sarada Prasanna Garnayak Committed by Gerrit - the friendly Code Review server
Browse files

input: synaptics: add NULL pointer check



add null pointer exception check for pointers which
may be NULL after request for memory allocation and
may be deferenced.

This patch is propagated from msm-3.10 kernel
(commit: 5a734f6783bdb12fe696efe1c4668f50ea294054
input: synaptics: add NULL pointer check)
Also cleaned checkpatch warnings on msm-3.18 kernel.

CRs-Fixed: 712847
Change-Id: I59ee5b00b124bc49fcc5d9d8bbfcb393fa70de05
Signed-off-by: default avatarSarada Prasanna Garnayak <c_sgarna@codeaurora.org>
Signed-off-by: default avatarSudhakar Manapati <smanap@codeaurora.org>
parent 1efbcd74
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