aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-04-19 17:26:04 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-05-12 18:48:01 +0800
commita4ca033d3294bedbcc44046efeb54873631f5faf (patch)
treeef221d166bd4820772e19989fede90f556481874 /crypto
parent3e522591f9f97d954fca8141727f958f6002684c (diff)
downloadlinux-a4ca033d3294bedbcc44046efeb54873631f5faf.tar.gz
crypto: ixp4xx - silence uninitialized variable warning
Smatch complains that "dma" is uninitialized if dma_pool_alloc() fails. This is true, but also harmless. Anyway, move the assignment after the error checking to silence this warning. Fixes: 586d492f2856 ("crypto: ixp4xx - fix building wiht 64-bit dma_addr_t") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions