compress/qat: fix checksum on decompression
authorFiona Trahe <fiona.trahe@intel.com>
Sat, 22 Sep 2018 13:25:37 +0000 (14:25 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Thu, 27 Sep 2018 11:40:22 +0000 (13:40 +0200)
commit7586c5787375b3947d7d12c91aa99ac4ff58203d
tree6cb3d7c78702028a71e190b0c7c8dee436ab9fec
parent0ad08d3c29dc0bebe7f7c95efb77925cdeb1f665
compress/qat: fix checksum on decompression

Checksum was always 0 on QAT decompression due to
incorrect use of union variable.

Fixes: 6a7ea14819e9 ("compress/qat: add xform processing")
Cc: stable@dpdk.org
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
drivers/compress/qat/qat_comp.c