[PATCH] [POWERPC] Fix viodasd driver with scatterlist debug

Stephen Rothwell sfr at canb.auug.org.au
Wed Mar 12 17:44:18 EST 2008


Hi Ben,

On Wed, 12 Mar 2008 17:23:56 +1100 Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
>
> The iSeries viodasd drivers does some very strange things with
> scatterlists, one of these causing a BUG_ON to trigger when
> scatterlist debugging is enabled due to initializing the
> scatterlist with memset instead of sg_init_table().
> 
> This fixes it by using sg_init_table(). The rest of the stuff
> it does to that poor list is still pretty awful but it will work.

Presumably this is also needed in 2.6.24.xx

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080312/775aa58b/attachment.pgp>


More information about the Linuxppc-dev mailing list