OSDN Git Service

msm: ADSPRPC: Null check for file session context
authorTharun Kumar Merugu <mtharu@codeaurora.org>
Wed, 15 Mar 2017 08:34:50 +0000 (14:04 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Mon, 20 Mar 2017 13:57:56 +0000 (06:57 -0700)
commit2b36fd66f78fe16a4ea356b28031f97cf66ca506
tree9455ebd50d54a22d7d544b81e53afcfe39c8b480
parent687a4eb82be5905f5400678dcaff4e98dad72e3c
msm: ADSPRPC: Null check for file session context

When any system call is made, before servicing it make sure that the
session context is not null and channel info is valid.

Change-Id: Ieba53b123d6553c5381db9f0b6d57b8f343e6155
Acked-by: Vishnu Karthik D <vikarthi@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
drivers/char/adsprpc.c