crypto: use 2-arg strscpy where destination size is known
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyIn review
- v11 patch 7 repliesSuperseded
Changes in v2 from the cover letter
- Rebase and split up
- v1: https://lore.kernel.org/r/[email protected]/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | crypto: use 2-arg strscpy where destination size is knowncrypto/ crypto/ crypto/ +3 more | +10 | 0 replies | |
| 2/6 | crypto: cavium - use 2-arg strscpy where destination size is knowndrivers/ | +2 | 0 replies | |
| 3/6 | crypto: ccp - use 2-arg strscpy where destination size is knowndrivers/ | +1 | 0 replies | |
| 4/6 | crypto: hisilicon - use 2-arg strscpy where destination size is knowndrivers/ | +1 | 0 replies | |
| 5/6 | crypto: qat - use 2-arg strscpy where destination size is knowndrivers/ drivers/ drivers/ +2 more | +11 | 0 replies | |
| 6/6 | crypto: octeontx - use 2-arg strscpy where destination size is knowndrivers/ drivers/ | +4 | 0 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Tom Lendacky | Longfang Liu | Giovanni Cabiddu |
|---|---|---|---|
| 1/6 | |||
| 2/6 | |||
| 3/6 | R-b | ||
| 4/6 | R-b | ||
| 5/6 | A-b | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/6] crypto: use 2-arg strscpy where destination size is known
To simplify the code, drop explicit and hard-coded size arguments from strscpy() where the destination buffer has a fixed size and strscpy() can automatically determine it using sizeof().
Changes in v2:
- Rebase and split up
- v1: https://lore.kernel.org/r/[email protected]/
Thorsten Blum (6):
crypto: use 2-arg strscpy where destination size is known
crypto: cavium - use 2-arg strscpy where destination size is known
crypto: ccp - use 2-arg strscpy where destination size is known
crypto: hisilicon - use 2-arg strscpy where destination size is known
crypto: qat - use 2-arg strscpy where destination size is known
crypto: octeontx - use 2-arg strscpy where destination size is known
crypto/api.c | 2 +- crypto/crypto_user.c | 9 ++++----- crypto/hctr2.c | 3 +-- crypto/lrw.c | 2 +- crypto/lskcipher.c | 3 +-- crypto/xts.c | 3 ++- drivers/crypto/cavium/nitrox/nitrox_hal.c | 3 ++- drivers/crypto/ccp/ccp-crypto-sha.c | 2 +- drivers/crypto/hisilicon/qm.c | 5 +---- drivers/crypto/intel/qat/qat_common/adf_cfg.c | 7 ++++--- drivers/crypto/intel/qat/qat_common/adf_cfg_services.c | 2 +- drivers/crypto/intel/qat/qat_common/adf_mstate_mgr.c | 3 ++- .../crypto/intel/qat/qat_common/adf_transport_debug.c | 3 ++- drivers/crypto/intel/qat/qat_common/qat_compression.c | 3 ++- drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c | 4 ++-- drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 4 ++-- 16 files changed, 29 insertions(+), 29 deletions(-)
base-commit: 5624ea54f3ba5c83d2e5503411a31a8be0278c1e