crypto: ccp - Fix ccp_run_passthru_cmd dma variable assignments
authorDave Jones <davej@redhat.com>
Sun, 9 Feb 2014 01:59:14 +0000 (09:59 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Feb 2014 01:59:14 +0000 (09:59 +0800)
commit80e84c16e72a0eac30085322b4664b7b6b0dde75
tree7f9e360d57d193f64284123f6cf47e8d7f6c62dd
parent0a63b09dd6e321d4488347d6283685d08ee4bb7f
crypto: ccp - Fix ccp_run_passthru_cmd dma variable assignments

There are some suspicious looking lines of code in the new ccp driver, including
one that assigns a variable to itself, and another that overwrites a previous assignment.

This may have been a cut-and-paste error where 'src' was forgotten to be changed to 'dst'.
I have no hardware to test this, so this is untested.

Signed-off-by: Dave Jones <davej@fedoraproject.org>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-ops.c