summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorAlex Porosanu <alexandru.porosanu@freescale.com>2014-11-28 08:50:40 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:41:42 (GMT)
commit68c62733d873ca6a1410d7e6f9020512a5c0af07 (patch)
tree3339b90a7fadbf932cf8a5c59c9565cf9b031dc1 /drivers/staging
parentc15b78f3e799137fa0106395b79860ee00d39c78 (diff)
downloadlinux-fsl-qoriq-68c62733d873ca6a1410d7e6f9020512a5c0af07.tar.xz
dpa_offload: sync with CAAM changes
The CAAM driver function caam_jr_strstatus() has changed its usage, and now it performs the interpretation and printing of the error itself. This patch syncs dpa_offload's sources with the updated version. Change-Id: I5b7b04386dbc03c11e3277adb77af985cc6418ca Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/24679 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Cristian Stoica <cristian.stoica@freescale.com> Reviewed-by: Marian-Cornel Chereji <marian.chereji@freescale.com> Reviewed-by: Richard Schmitt <richard.schmitt@freescale.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c b/drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c
index 6a280e5..ae767d8 100644
--- a/drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c
+++ b/drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c
@@ -1935,10 +1935,9 @@ static void split_key_done(struct device *dev, u32 *desc, u32 err,
{
register atomic_t *done = context;
- if (err) {
- char tmp[256];
- dev_err(dev, "%s\n", caam_jr_strstatus(tmp, err));
- }
+ if (err)
+ caam_jr_strstatus(dev, err);
+
atomic_set(done, 1);
}