Messages in this thread | | | Date | Tue, 27 Nov 2007 10:11:25 +0100 | From | Haavard Skinnemoen <> | Subject | Re: [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/
| |