Messages in this thread | | | Date | Sat, 02 Aug 2008 20:16:13 +0200 | From | Stefan Richter <> | Subject | Re: [PATCH 3/10] drivers/ieee1394: Use DIV_ROUND_UP |
| |
Julia Lawall wrote: > -#define bytes_to_quads(_b) (((_b) + sizeof(u32) - 1) / sizeof(u32)) > +#define bytes_to_quads(_b) DIV_ROUND_UP(_b, sizeof(u32)) ... > - return (dg_size + adj_max_payload - 1) / adj_max_payload; > + return DIV_ROUND_UP(dg_size, adj_max_payload);
I cut the changelog down to the necessary and committed it to linux1394-2.6.git. Thanks, -- Stefan Richter -=====-==--- =--- ---=- http://arcgraph.de/sr/
| |