Re: [PATCH 2/2] ps3rom: Simplify fill_from_dev_buffer()

2008-02-25 Thread Geert Uytterhoeven
On Tue, 26 Feb 2008, FUJITA Tomonori wrote: > On Mon, 25 Feb 2008 14:24:31 +0100 (CET) > Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > > > Subject: [PATCH] ps3rom: Simplify fill_from_dev_buffer() > > > > As we no longer need to calculate the data length of the whole scatterlist, > > we can abor

Re: [PATCH 2/2] ps3rom: Simplify fill_from_dev_buffer()

2008-02-25 Thread FUJITA Tomonori
On Mon, 25 Feb 2008 14:24:31 +0100 (CET) Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > Subject: [PATCH] ps3rom: Simplify fill_from_dev_buffer() > > As we no longer need to calculate the data length of the whole scatterlist, > we can abort the loop earlier and coalesce req_len and act_len into o

[PATCH 2/2] ps3rom: Simplify fill_from_dev_buffer()

2008-02-25 Thread Geert Uytterhoeven
Subject: [PATCH] ps3rom: Simplify fill_from_dev_buffer() As we no longer need to calculate the data length of the whole scatterlist, we can abort the loop earlier and coalesce req_len and act_len into one variable, making fill_from_dev_buffer() more similar to fetch_to_dev_buffer(). Signed-off-by