summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorBill Wendling <morbo@google.com>2026-09-28 02:00:29 -0700
committerMartin K. Petersen (Oracle) <mkp@kernel.org>2026-10-05 22:06:09 -0400
commit0a5b53c1e7276ffacf5153d06d442c4d7ab0c41d (patch)
tree862a94d96c90d8b7205ebb5befd046e1dd7df6a9 /include/uapi/linux
parent80f75e32786a63fd650500f26dbfdb51e9158846 (diff)
downloadlinux-next-0a5b53c1e7276ffacf5153d06d442c4d7ab0c41d.tar.gz
linux-next-0a5b53c1e7276ffacf5153d06d442c4d7ab0c41d.zip
scsi: bfa: Use snprintf() in bfa_fcs_fabric_nsymb_init()
bfa_fcs_fabric_nsymb_init() constructs the node symbolic name using strscpy() followed by five strlcat() calls and explicit NUL-termination. In preparation for removing the deprecated strlcat() API[1], replace the chained string copies with a single snprintf() call. Link: https://github.com/KSPP/linux/issues/370 [1] Cc: codemender-patching+linux@google.com Assisted-by: LLM Signed-off-by: Bill Wendling <morbo@google.com> Signed-off-by: Mariia Nikitash <nikitash.mariiaw@gmail.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/20260928090031.712418-2-nikitash.mariiaw@gmail.com Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions