[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1209679138.24729.181.camel@brick>
Date: Thu, 01 May 2008 14:58:58 -0700
From: Harvey Harrison <harvey.harrison@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/4] lib: add ascii hex helper functions
On Thu, 2008-05-01 at 14:44 -0700, Joe Perches wrote:
> On Thu, 2008-05-01 at 14:35 -0700, Harvey Harrison wrote:
> > The whole point is to start to centralize everybody's private copy of
> > a hex_asc equivalent.
>
> Which should be done via some function,
> not via a char array right?
>
It's just getting a char from the array, a static inline maybe rather
than the hex_asc_hi/lo macros, but the array would still need to be
extern so the inlines could get at it. The whole point is avoiding a
function call...which is why everybody has their own static array they
can use directly in the first place.
Harvey
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists