crypto: qat - fix warnings reported by clang
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | crypto: qat - remove unused macros in qat_comp_alg.cdrivers/ | +0 | 0 replies | |
| 2/6 | crypto: qat - removed unused macro in adf_cnv_dbgfs.cdrivers/ | +0 | 0 replies | |
| 3/6 | crypto: qat - avoid division by zerodrivers/ | +3 | 0 replies | |
| 4/6 | crypto: qat - remove double initialization of valuedrivers/ | +2 | 0 replies | |
| 5/6 | crypto: qat - remove unnecessary description from commentdrivers/ drivers/ drivers/ | +2 | 0 replies | |
| 6/6 | crypto: qat - fix comment structuredrivers/ | +2 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Giovanni Cabiddu |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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