[U-Boot] [RFC PATCH 1/2] hashtable: drop all non-reentrant versions
Wolfgang Denk
wd at denx.de
Fri Dec 17 21:07:52 CET 2010
Dear Mike Frysinger,
In message <1291807565-4831-1-git-send-email-vapier at gentoo.org> you wrote:
> The non-reentrant versions of the hashtable functions operate on a single
> shared hashtable. So if two different people try using these funcs for
> two different purposes, they'll cause problems for the other.
>
> Avoid this by converting all existing hashtable consumers over to the
> reentrant versions and then punting the non-reentrant ones.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> common/cmd_nvedit.c | 18 +++++++++---------
> common/env_common.c | 6 ++++--
> common/env_dataflash.c | 2 +-
> common/env_eeprom.c | 2 +-
> common/env_flash.c | 4 ++--
> common/env_mmc.c | 2 +-
> common/env_nand.c | 4 ++--
> common/env_nvram.c | 2 +-
> common/env_onenand.c | 2 +-
> common/env_sf.c | 4 ++--
> include/environment.h | 8 ++++++++
> include/search.h | 18 +-----------------
> lib/hashtable.c | 40 ++--------------------------------------
> 13 files changed, 35 insertions(+), 77 deletions(-)
Apllied to "next", thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I still miss my ex-wife, but my aim is getting better.
More information about the U-Boot
mailing list