]> 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)
commit1570455684405ae738b92122a1a475eb7fed540d
tree69148f965737a2283ff516523be7d530803835d1
parente70f7cf955ecd4b991dcac2779edc2a2c4b86fce
[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