]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] ARM SCSI: Don't try to dma_map_sg too many scatterlist entries
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 4 Mar 2007 20:21:38 +0000 (20:21 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 4 Mar 2007 20:33:31 +0000 (20:33 +0000)
commit23d046f43a05155e050a68f3ad1f19b672713374
tree5c32d8fde63c81a76083d2a550d5ba02ba44a873
parent6b4df7ee1f636f0dbf3896235582559c86cb18aa
[ARM] ARM SCSI: Don't try to dma_map_sg too many scatterlist entries

An off-by-one bug meant we were always trying to map one too many
scatterlist entries.  This was mostly harmless prior to the checks
going in to consistent_sync(), but now causes the kernel to BUG.

Also, powertec.c was missing an assignment to info->ec.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/scsi/arm/cumana_2.c
drivers/scsi/arm/eesox.c
drivers/scsi/arm/powertec.c