crypto: qat - fix bug in ADF_RING_SIZE_BYTES_MIN macro
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 24 Jul 2015 20:18:25 +0000 (13:18 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Jul 2015 07:03:32 +0000 (15:03 +0800)
commitea77fcdaf1aa6c3e69ba87cfef2e89b07f929598
tree3c71c198993b6b99fd04de5767c3cf0cadc6a23f
parent5995752eadfd64edece5810b6fb0639806726594
crypto: qat - fix bug in ADF_RING_SIZE_BYTES_MIN macro

The subject macro mistakenly compares the passed-in ring size in bytes
with ADF_RING_SIZE_4K which is 0x6 (an internal representation of 4KB)
rather than comparing with the intended value of 4096.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_transport_access_macros.h