commit | cc74049f35e84b6727c70589750c84e6166963ae | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Thu Aug 08 20:01:43 2019 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Aug 12 21:34:06 2019 -0400 |
tree | fa3b987c14623369ef17fa586f6340befedb276a | |
parent | 1df627b4f7fa5b28ac10b39869c769373376d8f5 [diff] |
scsi: qla2xxx: Use strlcpy() instead of strncpy() This patch fixes several gcc complaints about string truncation. Cc: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Tested-by: Himanshu Madhani <hmadhani@marvell.com> Reviewed-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>