diff options
Diffstat (limited to 'crypto/async_tx/async_xor.c')
-rw-r--r-- | crypto/async_tx/async_xor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/async_tx/async_xor.c b/crypto/async_tx/async_xor.c index 78fb7780272a..56b5f98da463 100644 --- a/crypto/async_tx/async_xor.c +++ b/crypto/async_tx/async_xor.c | |||
@@ -62,7 +62,7 @@ do_async_xor(struct dma_chan *chan, struct page *dest, struct page **src_list, | |||
62 | while (src_cnt) { | 62 | while (src_cnt) { |
63 | submit->flags = flags_orig; | 63 | submit->flags = flags_orig; |
64 | dma_flags = 0; | 64 | dma_flags = 0; |
65 | xor_src_cnt = min(src_cnt, dma->max_xor); | 65 | xor_src_cnt = min(src_cnt, (int)dma->max_xor); |
66 | /* if we are submitting additional xors, leave the chain open, | 66 | /* if we are submitting additional xors, leave the chain open, |
67 | * clear the callback parameters, and leave the destination | 67 | * clear the callback parameters, and leave the destination |
68 | * buffer mapped | 68 | * buffer mapped |