Thread (20 messages) 20 messages, 3 authors, 2012-09-05

Re: [V2 PATCH 6/9] csiostor: Chelsio FCoE offload driver submission (headers part 1).

From: Ben Hutchings <hidden>
Date: 2012-09-05 23:07:17
Also in: linux-scsi

On Wed, 2012-09-05 at 22:56 +0530, Naresh Kumar Inna wrote:
On 9/5/2012 10:01 PM, Stephen Hemminger wrote:
quoted
On Wed,  5 Sep 2012 18:03:59 +0530
Naresh Kumar Inna [off-list ref] wrote:
quoted
+#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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help