Subject: [PATCH V2 3/6] spi/spi-pl022: Don't allocate more sg than required.

From: [email-masked] (viresh kumar)
Date: Wed, 10 Aug 2011 17:16:09 +0530

On 08/10/2011 05:12 PM, Sergei Shtylyov wrote:
>> > -	pages = (pl022->cur_transfer->len>>  PAGE_SHIFT) + 1;
>> > +	pages = ((pl022->cur_transfer->len + (1 << PAGE_SHIFT) - 1)
>> > +			>>  PAGE_SHIFT);
>     No need for parens around the rvalue.

Oops, that was a mistake. Anyway i have send V3 for the same and this issue
is not present anymore.

-- 
viresh