diff options
author | Anca Jeanina FLOAREA <anca.floarea@freescale.com> | 2013-06-14 12:42:22 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-07-05 20:57:20 (GMT) |
commit | 450a75d908581fa15d474a5683b4ae7646980181 (patch) | |
tree | bbfd2de3c47bd73dfada07d94111881510bfb845 /drivers/staging | |
parent | 6b296df0f67f3051f8dda87cff4db7476bc716e0 (diff) | |
download | linux-fsl-qoriq-450a75d908581fa15d474a5683b4ae7646980181.tar.xz |
dpa_offload: Fix l2_hdr_size correct usage
Function build_extended_encap_shared_descriptor had the fourth
parameter as an uint8_t, but it must be uint32_t in order to
store the l2_hdr_size.
Signed-off-by: Anca Jeanina FLOAREA <anca.floarea@freescale.com>
Change-Id: Iabcdc3f80aa372a695385d3d39f1759647651792
Reviewed-on: http://git.am.freescale.net:8181/2969
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Varvara Andrei-B21317 <andrei.varvara@freescale.com>
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c b/drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c index f0be148..b0d9e16 100644 --- a/drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c +++ b/drivers/staging/fsl_dpa_offload/dpa_ipsec_desc.c @@ -870,7 +870,7 @@ void built_decap_extra_material(struct dpa_ipsec_sa *sa, int build_extended_encap_shared_descriptor(struct dpa_ipsec_sa *sa, dma_addr_t auth_key_dma, dma_addr_t crypto_key_dma, - uint8_t bytes_to_copy, + uint32_t bytes_to_copy, int sec_era) { uint32_t *desc, *no_sg_jump, *extra_cmds; |