Re: [PATCH 15/15] drivers/ide/ide-cd.c: Use DIV_ROUND_CLOSEST

From: David Miller
Date: Sun Aug 02 2009 - 16:19:25 EST


From: Borislav Petkov <petkovbb@xxxxxxxxxxxxxx>
Date: Sun, 2 Aug 2009 15:51:22 +0200

> On Sun, Aug 02, 2009 at 10:49:54AM +0200, Julia Lawall wrote:
>> From: Julia Lawall <julia@xxxxxxx>
>>
>> The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
>> but is perhaps more readable.
>>
...
>> Signed-off-by: Julia Lawall <julia@xxxxxxx>
>
> Acked-by: Borislav Petkov <petkovbb@xxxxxxxxx>

Applied to ide-next-2.6, thanks.
--
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/