[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)
- 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>

No differences found