]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: ccp - Fix return value check in ccp_dmaengine_register()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 17 Sep 2016 16:01:22 +0000 (16:01 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Sep 2016 10:32:47 +0000 (18:32 +0800)
commit7514e3688811e610640ec2201ca14dfebfe13442
treeb5c66ae6905fe47d4422e9f23d870d1a5c96f259
parent104a32e85f250742bc37e14d19a5dec706bed76e
crypto: ccp - Fix return value check in ccp_dmaengine_register()

Fix the retrn value check which testing the wrong variable
in ccp_dmaengine_register().

Fixes: 58ea8abf4904 ("crypto: ccp - Register the CCP as a DMA resource")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dmaengine.c