Re: [PATCH] seastar - SeaStar Ethernet driver (review commentsaddressed)

From: Stephen Hemminger
Date: Tue Feb 02 2010 - 20:40:36 EST


On Tue, 2 Feb 2010 18:08:27 -0700
"Kevin Pedretti" <ktpedre@xxxxxxxxxx> wrote:

> +
> +/* Rounds up to the nearest quadbyte */
> +#define ROUNDUP4(val) ((val + (4-1)) & ~(4-1))

kernel.h has ALIGN(val, 4) which is same thing.

--
--
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/