lkml.org 
[lkml]   [2007]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mmc: Add missing sg_init_table() call
On Mon, 26 Nov 2007 21:29:55 -0800
Andrew Morton <akpm@linux-foundation.org> wrote:

> On Thu, 22 Nov 2007 20:32:51 +0100 Haavard Skinnemoen <hskinnemoen@atmel.com> wrote:
>
> > mmc_init_queue only initializes the scatterlists with sg_init_table()
> > when using a bounce buffer. This leads to a BUG() when CONFIG_DEBUG_SG
> > is set.
> >
>
> I assume that 2.6.23 is not afflicted in this way?

Yes, the sg_init_table() interface and CONFIG_DEBUG_SG were both added
after 2.6.23. Before that, there was no need to do anything special to
initialize a scatterlist array apart from zeroing it.

Haavard
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-27 10:15    [W:0.049 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site