aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorChen Gang <[email protected]>2013-04-08 12:06:44 +0800
committerIngo Molnar <[email protected]>2013-04-08 13:26:56 +0200
commit67012ab1d2ce871afea4ee55408f233f97d09d07 (patch)
tree3f44d6c02233abb51848bfa991d571e86397b431 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentc97847d2f0eb77c806e650e04d9bbcf79fa05730 (diff)
perf: Fix strncpy() use, use strlcpy() instead of strncpy()
For NUL terminated string we always need to set '\0' at the end. Signed-off-by: Chen Gang <[email protected]> Cc: [email protected] Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions