]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bfa: fix strncpy() limiter in bfad_start_ops()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Jan 2013 09:06:20 +0000 (12:06 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 00:54:54 +0000 (11:54 +1100)
commit91ed741dd0e890fda2ecd1c849f7b8323523cc9b
tree69148f965737a2283ff516523be7d530803835d1
parent57882cd9508f8f45ab5eda4649248240328f0ef1
[SCSI] bfa: fix strncpy() limiter in bfad_start_ops()

The closing parenthesis is in the wrong place so it takes the sizeof a
pointer instead of the sizeof the buffer minus one.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Anil Gurumurthy <agurumur@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfad.c