diff options
author | Mandy Lavi <mandy.lavi@freescale.com> | 2013-07-11 13:33:20 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-07-18 22:04:23 (GMT) |
commit | 7a5ec3bd449c39637be2b94a0273f549dbb0f9cb (patch) | |
tree | e775ebecbbd334f62b6273dea8c76eb2212d7b07 /drivers/net/ethernet/freescale/fman | |
parent | e17d72e9b25ced84af0b130eb46677b17b8f5118 (diff) | |
download | linux-fsl-qoriq-7a5ec3bd449c39637be2b94a0273f549dbb0f9cb.tar.xz |
fmd: fix wrapper error when adding range statistics counters
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
ENGR00269928
Change-Id: I7fa7fec2f1eef4b8233ed0d0069e30557adb4bda
Reviewed-on: http://git.am.freescale.net:8181/3296
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c index 7e29867..68142b6 100644 --- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c +++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm_compat.c @@ -909,8 +909,8 @@ void compat_copy_keys( #if (DPAA_VERSION >= 11) memcpy(¶m->frame_length_ranges, &compat_param->frame_length_ranges, - sizeof(param->frame_length_ranges[0] * - IOC_FM_PCD_CC_STATS_MAX_NUM_OF_FLR)); + sizeof(param->frame_length_ranges[0]) * + IOC_FM_PCD_CC_STATS_MAX_NUM_OF_FLR); #endif /* (DPAA_VERSION >= 11) */ } else { |