lists.openwall.net   lists  /  announce  john-users  owl-users  popa3d-users  /  xvendor  oss-security  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4 
Open Source and information security mailing list archives
 
Order Openwall GNU/*/Linux 2.0 on a CD with delivery worldwide
[<prev] [next>] [<thread-prev] [month] [year] [list]
Date:	Mon, 02 Jul 2007 08:37:36 -0400
From:	Jeff Garzik <jeff@...zik.org>
To:	Linas Vepstas <linas@...tin.ibm.com>
Subject: Re: [PATCH] spidernet: Replace literal with const

Linas Vepstas wrote:
> Replace literal with const; add bit definitions.
> 
> Signed-off-by: Linas Vepstas <linas@...tin.ibm.com>
> 
> ----
> 
> On Wed, Jun 13, 2007 at 04:12:00PM -0400, Jeff Garzik wrote:
>> A follow-up patch needs to remove the above magic numbers (==numeric 
>> constants), replacing them with named constants
> 
> Here it is. Lightly stres-tested (about 1/2 hour), as this patch
> tests some additonal bits.
> 
>  drivers/net/spider_net.c |    2 +-
>  drivers/net/spider_net.h |   19 +++++++++++++++++++
>  2 files changed, 20 insertions(+), 1 deletion(-)

applied to #upstream (2.6.23)


-
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

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux