Skip to content

Commit

Permalink
crypto: inside-secure - align the cipher and hash send functions
Browse files Browse the repository at this point in the history
The cipher and hash send functions both set the results variable, to be
used later by the caller. Align the way they're setting this variable.

Signed-off-by: Ofer Heifetz <[email protected]>
Signed-off-by: Antoine Tenart <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
oferhz authored and herbertx committed Jun 20, 2017
1 parent ee1fd87 commit 152bdf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/inside-secure/safexcel_cipher.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static int safexcel_aes_send(struct crypto_async_request *async,
spin_unlock_bh(&priv->ring[ring].egress_lock);

*commands = n_cdesc;
*results = nr_dst;
*results = n_rdesc;
return 0;

rdesc_rollback:
Expand Down

0 comments on commit 152bdf4

Please sign in to comment.