diff options
| author | Sivacharan Paka <sipaka@codeaurora.org> | 2016-12-05 12:26:52 -0800 |
|---|---|---|
| committer | Sivacharan Paka <c_sipaka@qti.qualcomm.com> | 2017-04-17 20:22:57 +0530 |
| commit | cf5d080987cb53d0f98e3bd5ad33f3624383df3c (patch) | |
| tree | 2a9a5dddcaa92a45db21313afc65a3226ea170c6 /net/lapb/lapb_timer.c | |
| parent | 07ed8cc6f2770b8cdd32ebea4525f6530e02bb9f (diff) | |
ASoC: msm: qdsp6v2: return error when copy from userspace fails
A copy_from_user is not always expected to succeed. Therefore, check
for an error before operating on the buffer post copy.
Change-Id: Ibba9a47c84e735d30e32eeac5b80d51044b7a9e8
CRs-Fixed: 1094852
Signed-off-by: Siena Richard <sienar@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
