aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorBen Dooks <[email protected]>2015-03-16 11:52:45 +0000
committerVinod Koul <[email protected]>2015-03-18 22:41:49 +0530
commit75967b788c2898601620ce91ed14b4a9a371b6fe (patch)
tree395d247b694ea917bc2bcefb06d08c579c9c69a5 /scripts/gcc-plugins/randomize_layout_plugin.c
parent5503aed8117881f58a2688521dfbf9fc7dbcdfe7 (diff)
dmaengine: pl330: fix return status on pending transfers
The pl330_tx_status() function returns the desc->status if the dma_cookie_status() call does indicate the cookie completed, however the desc->status is not look directly compatible. Sparse throws the following warning: pl330.c:2262:35: warning: mixing different enum types pl330.c:2262:35: int enum desc_status versus pl330.c:2262:35: int enum dma_status Attempt to fix this by adding a switch statement to turn the desc->status into a dma_status. Note, this has only been tested with the dmatest suite. Signed-off-by: Ben Dooks <[email protected]> -- Vinod Koul <[email protected]> Dan Williams <[email protected]> DMA List <[email protected]> Maxime Ripard <[email protected]> Jassi Brar <[email protected]> Liviu Dudau <[email protected]> Linux ARM Kernel <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions