Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757135Ab0BCBk0 (ORCPT ); Tue, 2 Feb 2010 20:40:26 -0500 Received: from mail.vyatta.com ([76.74.103.46]:56267 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753211Ab0BCBkX (ORCPT ); Tue, 2 Feb 2010 20:40:23 -0500 Date: Tue, 2 Feb 2010 17:39:56 -0800 From: Stephen Hemminger To: "Kevin Pedretti" Cc: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] seastar - SeaStar Ethernet driver (review comments addressed) Message-ID: <20100202173956.77b9cf22@nehalam> In-Reply-To: <1265159307.15726.4.camel@hawkeye.sandia.gov> References: <20100202205845.GE5246@hawkeye.sandia.gov> <1265159307.15726.4.camel@hawkeye.sandia.gov> Organization: Vyatta X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 477 Lines: 15 On Tue, 2 Feb 2010 18:08:27 -0700 "Kevin Pedretti" 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/