Skip to content

crypto: qat - fix warnings reported by clang

Adam Guerin linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6crypto: qat - remove unused macros in qat_comp_alg.cdrivers/crypto/intel/qat/qat_common/qat_comp_algs.c+0 -90 replies
2/6crypto: qat - removed unused macro in adf_cnv_dbgfs.cdrivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c+0 -10 replies
3/6crypto: qat - avoid division by zerodrivers/crypto/intel/qat/qat_common/adf_clock.c+3 -00 replies
4/6crypto: qat - remove double initialization of valuedrivers/crypto/intel/qat/qat_common/adf_gen4_ras.c+2 -40 replies
5/6crypto: qat - remove unnecessary description from commentdrivers/crypto/intel/qat/qat_common/adf_dev_mgr.c drivers/crypto/intel/qat/qat_common/adf_isr.c drivers/crypto/intel/qat/qat_common/adf_vf_isr.c+2 -60 replies
6/6crypto: qat - fix comment structuredrivers/crypto/intel/qat/qat_common/qat_crypto.c+2 -20 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchGiovanni Cabiddu
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] crypto: qat - fix warnings reported by clang

This set fixes a list of warnings found by compiling the QAT driver with "CC=clang W=2" and with the Clang tool scan-build.

These fixes include removing unused macros in both adf_cnv_dbgfs.c and qat_comp_alg.c, fix initialization of multiple variables, check that delta_us is not 0, and fixing the comment structures in multiple files.

Adam Guerin (6):
crypto: qat - remove unused macros in qat_comp_alg.c
crypto: qat - removed unused macro in adf_cnv_dbgfs.c
crypto: qat - avoid division by zero
crypto: qat - remove double initialization of value
crypto: qat - remove unnecessary description from comment
crypto: qat - fix comment structure

 drivers/crypto/intel/qat/qat_common/adf_clock.c     | 3 +++
 drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c | 1 -
 drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c   | 4 ++--
 drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c  | 6 ++----
 drivers/crypto/intel/qat/qat_common/adf_isr.c       | 2 --
 drivers/crypto/intel/qat/qat_common/adf_vf_isr.c    | 2 --
 drivers/crypto/intel/qat/qat_common/qat_comp_algs.c | 9 ---------
 drivers/crypto/intel/qat/qat_common/qat_crypto.c    | 4 ++--
 8 files changed, 9 insertions(+), 22 deletions(-)

base-commit: 7a35f3adf4535a9a56ef7b3e75355806632030ca

Signature · 1 line
2.40.1