summaryrefslogtreecommitdiff
path: root/block/noop-iosched.c
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2014-07-27 14:57:42 (GMT)
committerChristoph Hellwig <hch@lst.de>2014-07-30 11:49:36 (GMT)
commit4d0a21f1fd31adb3ec66db4c1af3856ae0b8549f (patch)
treec3c54a8e54c6c5504b79c77d1f37d29aa1821b97 /block/noop-iosched.c
parentbdbb9662f7b18197cadb729f1d97e5646546179a (diff)
downloadlinux-4d0a21f1fd31adb3ec66db4c1af3856ae0b8549f.tar.xz
scsi: qla4xxx: ql4_mbx.c: Cleaning up missing null-terminate in conjunction with strncpy
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And in some cases modified to copy one character less than the overall length, as the entire area is already zeroed. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Acked-By: Nilesh Javali <nilesh.javali@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions