]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qat - fix off-by-one error in PFVF debug print
authorMarco Chiappero <marco.chiappero@intel.com>
Thu, 7 Apr 2022 16:54:50 +0000 (17:54 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2022 08:34:27 +0000 (16:34 +0800)
commit14d78def3bd8b23f4189b26ec8d9f0bc25a826f9
tree2b40cfdf1043200eb56ac4edfcb90f08c83e46e5
parent6b9604ad3e7f4f0813e59e0d25c0e3f1d452409a
crypto: qat - fix off-by-one error in PFVF debug print

PFVF Block Message requests for CRC use 0-based values to indicate
amounts, which have to be remapped to 1-based values on the receiving
side.

This patch fixes one debug print which was however using the wire value.

Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.c