aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-01-30 14:36:03 +0000
committerMartin K. Petersen <[email protected]>2016-02-24 02:27:02 +0000
commitaee5618dfeeb6f3a64005abe4056c1b256645f8a (patch)
tree6496a89066e5572d372b9dbd46d3f153cf1307cd /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parentmegaraid: fix null pointer check in megasas_detach_one(). (diff)
downloadkernel-aee5618dfeeb6f3a64005abe4056c1b256645f8a.tar.gz
kernel-aee5618dfeeb6f3a64005abe4056c1b256645f8a.zip
bfa: use strncpy() instead of memcpy()
BFA_MFG_NAME is "QLogic" which is only 7 bytes, but we are copying 8 bytes. It's harmless because the badding byte is likely zero but it makes static checkers complain. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Anil Gurumurthy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions