Re: [PATCH/RFC] SPI core: turn transfers to be linked list

From: Vitaly Wool
Date: Thu Dec 22 2005 - 17:11:51 EST


David Brownell wrote:

And in case transfers is an array, we should either be apriory aware of whether the chaining will take place or allocate an array large enough to hold additional transfers. Neither of these look good to me, and having a linked list of transfers will definitely solve this problem.



Well, that's the guts of the good example I was hoping you would share.
I'll be posting a refresh of this code soonish; maybe you can provide a complete patch, changing all the code over to use list-not-array?


Let's agree upon that I'll proovide the complete patch as soon as you repost all the patches from the very beginning (with the updates you've made).
It's a little bit hard to track all that stuff now, I mean patches, patches to patches, etc. :)

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