]> err.no Git - linux-2.6/commit
[SCSI] qla1280: fix 32 bit segment code
authorFUJITA Tomonori <tomof@acm.org>
Tue, 8 Jan 2008 14:07:01 +0000 (23:07 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 9 Jan 2008 21:06:07 +0000 (15:06 -0600)
commit3a43e69ce50d467ded2f17f6e571e831d3677ab5
treee7fcc75727d55113c1e75e1a8069d495e22afc2c
parentfd0b45dfd1858c6b49d06355a460bcf36d654c06
[SCSI] qla1280: fix 32 bit segment code

There's an error remaining in the 32 bit descriptor code after the
conversion to dma accessors:  req_cnt is left uninitialised.

qla1280_32bit_start_scsi gives the following warnings:

drivers/scsi/qla1280.c: In function 'qla1280_32bit_start_scsi':
drivers/scsi/qla1280.c:3044: warning: unused variable 'dma_handle'
drivers/scsi/qla1280.c: In function 'qla1280_queuecommand':
drivers/scsi/qla1280.c:3060: warning: 'req_cnt' is used uninitialized in this function
drivers/scsi/qla1280.c:3042: note: 'req_cnt' was declared here

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla1280.c