Gustavo A. R. Silva 62a277d43d dmaengine: at_hdmac: fix potential NULL pointer dereference in atc_prep_dma_interleaved
_xt_ is being dereferenced before it is null checked, hence there is a
potential null pointer dereference.

Fix this by moving the pointer dereference after _xt_ has been null
checked.

This issue was detected with the help of Coccinelle.

Fixes: 4483320e241c ("dmaengine: Use Pointer xt after NULL check.")
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2017-11-29 19:48:17 +05:30
..
2017-11-14 16:49:31 -08:00
2017-11-14 16:49:31 -08:00
2016-03-24 23:13:48 -07:00
2017-11-14 16:49:31 -08:00
2016-09-05 16:40:52 +05:30
2017-01-25 15:33:45 +05:30