[SCSI] qla2xxx: Initialize payload receive length in failure path of vendor commands
authorSarang Radke <sarang.radke@qlogic.com>
Thu, 18 Feb 2010 18:07:23 +0000 (10:07 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 19 Feb 2010 16:44:40 +0000 (10:44 -0600)
commit236b0249c2274cd24bc98a1fbbb5e78d861d4bd9
tree76e41cd7d7b5d6792b60ea69d0443260031fe0e7
parentee37e09d81a4acf328f68189af12f116401f8c0f
[SCSI] qla2xxx: Initialize payload receive length in failure path of vendor commands

Since bsg_job->reply->reply_payload_rcv_len is uninitialized
in case of failure, fc-transport triggers a warning for each command
failed.

Cc: stable@kernel.org
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_attr.c