Skip to content
Commit 23d046f4 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 6b4df7ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment