Nathan Chancellor
1dc571ff4d
crypto: ux500 - Use proper enum in hash_set_dma_transfer
...
[ Upstream commit 5ac93f8083 ]
Clang warns when one enumerated type is implicitly converted to another:
drivers/crypto/ux500/hash/hash_core.c:169:4: warning: implicit
conversion from enumeration type 'enum dma_data_direction' to different
enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]
direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT);
^~~~~~~~~
1 warning generated.
dmaengine_prep_slave_sg expects an enum from dma_transfer_direction.
We know that the only direction supported by this function is
DMA_TO_DEVICE because of the check at the top of this function so we can
just use the equivalent value from dma_transfer_direction.
DMA_TO_DEVICE = DMA_MEM_TO_DEV = 1
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com >
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2019-02-12 19:47:17 +01:00
..
2019-02-12 19:47:15 +01:00
2018-12-05 19:32:11 +01:00
2019-02-12 19:47:08 +01:00
2019-01-13 09:51:03 +01:00
2019-02-12 19:47:06 +01:00
2019-02-12 19:47:14 +01:00
2019-02-12 19:47:13 +01:00
2018-08-28 09:58:03 -07:00
2018-11-21 09:19:12 +01:00
2019-01-31 08:14:36 +01:00
2019-02-12 19:47:08 +01:00
2019-01-26 09:32:42 +01:00
2019-01-16 22:04:29 +01:00
2019-02-12 19:47:08 +01:00
2019-02-12 19:47:17 +01:00
2019-01-13 09:51:04 +01:00
2018-08-18 11:04:51 -07:00
2019-02-12 19:47:02 +01:00
2018-11-13 11:08:44 -08:00
2018-07-21 08:13:02 +02:00
2018-08-17 16:20:27 -07:00
2019-02-12 19:47:04 +01:00
2019-02-12 19:46:59 +01:00
2018-12-17 09:24:35 +01:00
2018-12-13 09:16:22 +01:00
2019-02-12 19:47:06 +01:00
2019-02-12 19:47:15 +01:00
2019-01-13 09:50:56 +01:00
2019-01-31 08:14:36 +01:00
2019-02-12 19:47:16 +01:00
2018-07-30 20:54:51 -07:00
2019-01-13 09:51:10 +01:00
2019-02-12 19:47:11 +01:00
2019-01-31 08:14:42 +01:00
2019-02-12 19:47:02 +01:00
2019-02-12 19:47:06 +01:00
2019-01-31 08:14:37 +01:00
2019-02-12 19:47:07 +01:00
2019-01-31 08:14:39 +01:00
2019-01-09 17:38:31 +01:00
2019-01-13 09:51:08 +01:00
2019-02-12 19:47:08 +01:00
2018-08-24 14:42:42 +02:00
2018-11-13 11:08:18 -08:00
2019-02-12 19:47:15 +01:00
2019-02-12 19:47:07 +01:00
2018-09-06 10:04:07 -07:00
2019-02-12 19:47:10 +01:00
2018-07-30 23:17:53 -04:00
2019-01-22 21:40:33 +01:00
2019-01-31 08:14:35 +01:00
2019-02-12 19:47:10 +01:00
2019-01-16 22:04:34 +01:00
2018-10-12 17:36:39 +02:00
2019-02-12 19:47:15 +01:00
2018-11-13 11:08:48 -08:00
2018-07-23 15:07:12 +02:00
2019-01-13 09:51:04 +01:00
2019-01-31 08:14:41 +01:00
2018-11-13 11:08:35 -08:00
2019-02-06 17:30:16 +01:00
2019-02-12 19:47:08 +01:00
2018-08-18 11:04:51 -07:00
2019-02-12 19:47:09 +01:00
2018-11-13 11:08:17 -08:00
2019-02-12 19:47:03 +01:00
2019-02-12 19:47:09 +01:00
2019-02-12 19:47:16 +01:00
2019-02-12 19:47:08 +01:00
2019-01-13 09:51:10 +01:00
2019-02-12 19:47:01 +01:00
2018-08-20 11:36:07 +02:00
2018-08-22 10:52:51 -07:00
2018-09-20 09:04:51 -07:00
2018-11-13 11:08:52 -08:00
2018-08-25 14:12:36 -07:00
2018-11-13 11:08:55 -08:00
2019-01-09 17:38:48 +01:00
2019-02-12 19:47:04 +01:00
2018-12-21 14:15:17 +01:00
2019-02-12 19:47:13 +01:00
2018-08-02 13:54:06 +02:00
2018-12-19 19:19:49 +01:00
2019-02-12 19:47:03 +01:00
2018-08-27 09:49:48 +05:30
2019-01-09 17:38:49 +01:00
2018-08-09 18:47:47 +03:00
2019-02-12 19:47:02 +01:00
2019-01-26 09:32:38 +01:00
2018-11-13 11:08:51 -08:00
2019-02-12 19:47:08 +01:00
2019-02-12 19:47:03 +01:00
2018-12-17 09:24:36 +01:00
2019-02-12 19:47:11 +01:00
2018-11-27 16:13:09 +01:00
2019-02-12 19:47:12 +01:00
2019-01-16 22:04:34 +01:00
2019-02-06 17:30:08 +01:00
2019-02-12 19:47:15 +01:00
2019-02-12 19:46:59 +01:00
2018-08-24 08:45:19 -07:00
2018-11-13 11:08:48 -08:00
2019-02-12 19:47:07 +01:00
2019-01-22 21:40:32 +01:00
2018-08-18 11:04:51 -07:00