diff options
| author | Sujeev Dias <sdias@codeaurora.org> | 2017-02-06 12:07:12 -0800 |
|---|---|---|
| committer | Sujeev Dias <sdias@codeaurora.org> | 2017-03-11 12:20:31 -0800 |
| commit | 41fb6e92abab37b865bcdb77960dea1521832f42 (patch) | |
| tree | fb65c8aaab9a2fb2aa6c0347166eef9d28e55b18 /net/unix/garbage.c | |
| parent | d0b53a6f0c31f451e44946c8033f9b11ebd52cb0 (diff) | |
mhi: core: confirm MHI offset is valid before using it
PCIe link can go down anytime asynchronously without host
knowing. In event of a link-down, MMIO reads will always
return 0xffffffff. Confirm the read value is valid prior
to executing further.
CRs-Fixed: 1030692
Change-Id: If052a1a31c62a81f380cec3f523b605b38a33847
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
