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

2008-03-11 Thread Benjamin Herrenschmidt
On Wed, 2008-03-12 at 17:44 +1100, Stephen Rothwell wrote: > Hi Ben, > > On Wed, 12 Mar 2008 17:23:56 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> > wrote: > > > > The iSeries viodasd drivers does some very strange things with > > scatterlists, one of these causing a BUG_ON to trigger when >

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

2008-03-11 Thread Stephen Rothwell
Hi Ben, On Wed, 12 Mar 2008 17:23:56 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> 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 wi

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

2008-03-11 Thread Benjamin Herrenschmidt
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 d