scsi: ibmvscsi: change strncpy+truncation to strlcpy
authorDominique Martinet <asmadeus@codewreck.org>
Fri, 13 Jul 2018 01:25:56 +0000 (03:25 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 31 Jul 2018 03:17:53 +0000 (23:17 -0400)
commita544523887007ba2b6bd73419c4e2f0ab9bb3633
tree7fac2e3b91fefacb4080fb18661b44824910f013
parent7bd1d615a57f3356f41b0079a3fb9ee77ae00a82
scsi: ibmvscsi: change strncpy+truncation to strlcpy

Generated by scripts/coccinelle/misc/strncpy_truncation.cocci

Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi/ibmvscsi.c