RE: [patch] [SCSI] bfa: fix strncpy() limiter in bfad_start_ops()

2013-01-11 Thread Anil Gurumurthy
@vger.kernel.org; kernel-janit...@vger.kernel.org Subject: [patch] [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 diff --git a/drivers/scsi/bfa

[patch] [SCSI] bfa: fix strncpy() limiter in bfad_start_ops()

2013-01-10 Thread Dan Carpenter
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 diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c index e6bf126..a5f7690 100644 --- a/drivers/scsi/bfa/bfad.c +++ b/drivers/scsi/bf