Home
last modified time | relevance | path

Searched hist:"2195 d969" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A D3w-9xxx.c2195d969 Sun Jul 27 10:11:18 CDT 2014 Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> 3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy

Replacing strncpy with strlcpy to avoid strings that lacks null terminate.
And use the sizeof on the to string rather than strlen on the from string.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2195d969 Sun Jul 27 10:11:18 CDT 2014 Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> 3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy

Replacing strncpy with strlcpy to avoid strings that lacks null terminate.
And use the sizeof on the to string rather than strlen on the from string.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>