Messages in this thread | | | Date | Tue, 22 Jul 2014 21:39:08 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH 1/1] dmaengine: pl330: Check if the DMA descriptor is NULL |
| |
On Sat, Jul 19, 2014 at 03:21:47AM +0200, Javier Martinez Canillas wrote: > 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.
Applied, thanks
-- ~Vinod
| |