]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: fix fall out of sg-chaining patch in qlogicpti
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 29 Sep 2008 07:38:55 +0000 (09:38 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Sep 2008 07:41:56 +0000 (09:41 +0200)
commitf1d2c5229f3e991565eb4c7eba64faeab1101209
tree2d7b396d77e9f4e8215df5f7236933853a7fd04d
parentda811e1133952c637e5da2ecb2b2262445ed0549
scsi: fix fall out of sg-chaining patch in qlogicpti

Boaz writes:

"I've reviewed all patches since Matthew's, and I find one small
problem.

In the load_cmd() there is a compound loop where the first 4 sg's are
set then the rest are set into a memory structure in group of 7 sg's.

Well the second 7-group and on is a bug because sg pointer does not advance.
This is a fall out from Jens's patch."

The reporter, Meelis Roos <mroos@ut.ee>, verified that this patch
does indeed fix his problem with qlogicpti.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/qlogicpti.c