Skip to content

scsi: bfa: Replace strlcat() in symbolic name construction

Mariia Nikitash linux-hardening linux-scsi lkml 1 version Applied

Status from this message: Applied to 7.4/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesApplied

Changes in v2 from the cover letter

- Split the BFA changes out of the original cross-subsystem series.
- Patch 1: no code changes.
- Patch 2: use a single snprintf() call for both host_os_patch cases and drop the explicit final NUL assignment.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: bfa: Use snprintf() in bfa_fcs_fabric_nsymb_init()drivers/scsi/bfa/bfa_fcs.c+7 -241 reply
2/2scsi: bfa: Use snprintf() in bfa_fcs_fabric_psymb_init()drivers/scsi/bfa/bfa_fcs.c+10 -471 reply

Reviews trailers per patch

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

PatchBart Van Assche
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] scsi: bfa: Replace strlcat() in symbolic name construction

This series replaces the strlcat() uses in BFA symbolic name construction with snprintf().

Patch 1 converts bfa_fcs_fabric_nsymb_init().
Patch 2 converts bfa_fcs_fabric_psymb_init().

---

Changes since v1:
- Split the BFA changes out of the original cross-subsystem series.
- Patch 1: no code changes.
- Patch 2: use a single snprintf() call for both host_os_patch cases and drop the explicit final NUL assignment.

Original series:
https://lore.kernel.org/all/[email protected]/

Original bfa_fcs_fabric_psymb_init() patch:
https://lore.kernel.org/all/[email protected]/

Bill Wendling (2):
scsi: bfa: Use snprintf() in bfa_fcs_fabric_nsymb_init()
scsi: bfa: Use snprintf() in bfa_fcs_fabric_psymb_init()

 drivers/scsi/bfa/bfa_fcs.c | 88 ++++++++------------------------------
 1 file changed, 17 insertions(+), 71 deletions(-)
Signature · 1 line
2.43.0