[Cbe-oss-dev] [PATCH] spidernet: Replace literal with const
Jeff Garzik
jeff at garzik.org
Mon Jul 2 22:37:36 EST 2007
Linas Vepstas wrote:
> Replace literal with const; add bit definitions.
>
> Signed-off-by: Linas Vepstas <linas at austin.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)
More information about the cbe-oss-dev
mailing list