[SCSI] qla1280: convert to use the data buffer accessors
authorJes Sorensen <jes@sgi.com>
Fri, 9 Nov 2007 13:40:41 +0000 (14:40 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 15 Nov 2007 00:25:44 +0000 (18:25 -0600)
commit5c1da582b3a95123ffb1e70ec7cd60e757c7c8c2
tree33f09734c4e8f8e2ee9a5abb5021c412a96bd911
parent6ee6a2f0258c064bbc64ad97dc195063457ebebe
[SCSI] qla1280: convert to use the data buffer accessors

- remove the unnecessary map_single path.
- convert to use the new accessors for the sg lists and the parameters.

Fixed to missing initialization of sg lists before calling
for_each_sg() by Jes Sorensen - sg list needs to be initialized before
trying to pull the elements out of it.

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