diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2014-07-19 03:21:47 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-07-22 21:38:43 +0530 |
commit | b1e51d771fbc9fec15785760a2f725040a0fe671 (patch) | |
tree | e16653425118d99fb375d7d6209ecf1d624bcbb7 /firmware/qlogic/sd7220.fw.ihex | |
parent | ff4d02419ada5f2f174c646c58c5d07ddcf59de5 (diff) | |
download | linux-b1e51d771fbc9fec15785760a2f725040a0fe671.tar.bz2 |
dmaengine: pl330: Check if the DMA descriptor is NULL
Commit 6079d38 ("dmaengine: pl330: Remove useless xfer_cb indirection")
removed the __callback() function which created an unnecessary level of
indirection to execute the tranfer callback .xfer_cb
Unfortunately the commit also changed the semantics slightly since that
function used to check if the request was not NULL before attempting to
execute the callback function. Not checking this could lead to a kernel
NULL pointer dereference error.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'firmware/qlogic/sd7220.fw.ihex')
0 files changed, 0 insertions, 0 deletions