On 14.07.2010 18:15, Michael Karcher wrote:
> Am Mittwoch, den 14.07.2010, 16:14 +0200 schrieb Carl-Daniel Hailfinger:
>
>   
>> Since we're only handling a very special case
>> (round_up_to_next_multiple_of_power_of_two_granularity) and use it only
>> one time anyway, it doesn't really make sense to provide a separate
>> function for this. Killed as per IRC discussion.
>>     
> And the single line rewritten as per further IRC discussion. IRC
> discussion result:
>
>     lenhere = min(len, (start | 0xff) - start + 1);
>
>   
>>> If you use the bitwise round-up here:
>>> Acked-by: Michael Karcher <[email protected]>
>>>       
>
> Still stands.
> Acked-by: Michael Karcher <[email protected]>
>   

Thanks, committed in r1080.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to