lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100202173956.77b9cf22@nehalam>
Date:	Tue, 2 Feb 2010 17:39:56 -0800
From:	Stephen Hemminger <shemminger@...tta.com>
To:	"Kevin Pedretti" <ktpedre@...dia.gov>
Cc:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] seastar - SeaStar Ethernet driver (review comments
 addressed)

On Tue, 2 Feb 2010 18:08:27 -0700
"Kevin Pedretti" <ktpedre@...dia.gov> 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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ