[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)
commit30ac379a6921b14f4c44e13875d39b8f8f478958
tree69148f965737a2283ff516523be7d530803835d1
parent2be509c97fdc2cfc6771d97f346ff5e4c5c85089
[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