On Wed, 2012-09-05 at 22:56 +0530, Naresh Kumar Inna wrote:
> On 9/5/2012 10:01 PM, Stephen Hemminger wrote:
> > On Wed,  5 Sep 2012 18:03:59 +0530
> > Naresh Kumar Inna <[email protected]> wrote:
> > 
> >> +#define CSIO_ROUNDUP(__v, __r)            (((__v) + (__r) - 1) / (__r))
> > 
> > This is similar to existing round_up() in kernel.h could you use that?
> > 
> I will replace it with round_up() if it serves the same purpose. Thanks.

Stephen is probably thinking of DIV_ROUND_UP().  round_up() does
something different.

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to