crypto/caam_jr: fix IRQ functions return type
authorYunjian Wang <wangyunjian@huawei.com>
Thu, 14 May 2020 11:00:07 +0000 (19:00 +0800)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sun, 17 May 2020 14:10:44 +0000 (16:10 +0200)
commitc40b4fcd98933749a41f7b8e9b66368f920038f6
treed03947bc6e40f8465fc17cd5119ec0cf8176da6f
parent61552661e25df5b78be3079bc02b56a375dc0fdc
crypto/caam_jr: fix IRQ functions return type

The caam_jr_enable_irqs() and caam_jr_disable_irqs() methods maybe return a
negative error. So use int instead of uint32_t int the functions.

Fixes: e7a45f3cc245 ("crypto/caam_jr: add UIO specific operations")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Gagandeep Singh <g.singh@nxp.com>
drivers/crypto/caam_jr/caam_jr_pvt.h
drivers/crypto/caam_jr/caam_jr_uio.c