diff options
author | Anca Jeanina Floarea <anca.floarea@freescale.com> | 2014-09-15 13:08:42 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:39:30 (GMT) |
commit | 39585ee7882d39c17fd764424a427ea5a96da3c7 (patch) | |
tree | 924bd27441b73abc65226888ae168e7dde0eff42 /drivers/gpio/gpiolib-of.c | |
parent | de3cff2d7b9506c046f46ac4d699e2d5391018ab (diff) | |
download | linux-fsl-qoriq-39585ee7882d39c17fd764424a427ea5a96da3c7.tar.xz |
dpa_offload: Fix precision loss in DPA Stats Policer counter
The value returned by FM_PCD_PlcrProfileGetCounter function
is cast to uint64_t while the variable to store it in is
uint32_t. Changed the variable from uint32_t to uint64_t.
Signed-off-by: Anca Jeanina Floarea <anca.floarea@freescale.com>
Change-Id: I6c6e7be411ca66ea62541ea860ad39b8d660be66
Reviewed-on: http://git.am.freescale.net:8181/18801
Reviewed-by: Marian-Cornel Chereji <marian.chereji@freescale.com>
Tested-by: Marian-Cornel Chereji <marian.chereji@freescale.com>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions