On Mon, Sep 17, 2018 at 02:35:43PM -0700, Bart Van Assche wrote: > The purpose of sg_alloc_table() is to allocate and initialize an > sg-list. Use that function instead of open-coding it. Hmm. This looks correct, but what is the point if we don't plan on using chained sg-lists?