diff options
author | Raag Jadav <[email protected]> | 2019-06-29 13:50:48 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-07-07 22:46:43 +0530 |
commit | b7f5b656ffe19e3c65f04e3adeae21ac17227126 (patch) | |
tree | a258fa32196a092826f42d0a500725453fe5a63e /net/lapb/lapb_timer.c | |
parent | 9dcb98a29b6e81394fa33ca984f3aaad4d0d1393 (diff) |
dmaengine: at_xdmac: check for non-empty xfers_list before invoking callback
tx descriptor retrieved from an empty xfers_list may not have valid
pointers to the callback functions.
Avoid calling dmaengine_desc_get_callback_invoke if xfers_list is empty.
Signed-off-by: Raag Jadav <[email protected]>
Acked-by: Ludovic Desroches <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions