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

Skip to content
Commit 2c1414a0 authored by Saket Saurabh's avatar Saket Saurabh
Browse files

msm: usb_bam: Add Null check in connect_pipe()



Pointer returned from call to function dma_alloc_coherent() and
ioremap() may be NULL.
Hence add NULL check to prevent NULL pointer dereference.

Change-Id: I4b3239388ac5d7dd4affbd7db0c38f2a790fce2a
Signed-off-by: default avatarSaket Saurabh <ssaurabh@codeaurora.org>
parent 763e35c9
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