]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ieee1394: sbp2: fix bogus s/g access change
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 1 Feb 2008 21:31:10 +0000 (22:31 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 2 Feb 2008 12:48:16 +0000 (13:48 +0100)
commit5fcf500058d5f06720302c5ce138c7bca93f7655
treef2b6a642ade1c241ba32cb30cdedc7e89abaebce
parent384170da9384b7bb3650c0c9b9d17ba0f7bde4ff
ieee1394: sbp2: fix bogus s/g access change

sg_dma_len(sg) is invalid before the s/g list is DMA-mapped.

This fixes a post 2.6.24 regression which prevents access to SBP-2
devices on several architectures, introduced by "ieee1394: sbp2: s/g
list access cosmetics", commit 825f1df545ab0289185373b0eaf06fb0b3487422.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c