lkml.org 
[lkml]   [2009]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 5/5] drivers/net: Use DIV_ROUND_CLOSEST
From
From: Julia Lawall <julia@diku.dk>
Date: Sat, 1 Aug 2009 21:51:06 +0200 (CEST)

> From: Julia Lawall <julia@diku.dk>
>
> The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
> but is perhaps more readable.

Applied.


\
 
 \ /
  Last update: 2009-08-02 21:59    [W:0.023 / U:2.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site