From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 1/2] hashtable: drop all non-reentrant versions
Date: Fri, 17 Dec 2010 21:07:52 +0100 [thread overview]
Message-ID: <20101217200752.1770DB19C@gemini.denx.de> (raw)
In-Reply-To: <1291807565-4831-1-git-send-email-vapier@gentoo.org>
Dear Mike Frysinger,
In message <1291807565-4831-1-git-send-email-vapier@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@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.
prev parent reply other threads:[~2010-12-17 20:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 11:26 [U-Boot] [RFC PATCH 1/2] hashtable: drop all non-reentrant versions Mike Frysinger
2010-12-08 11:26 ` [U-Boot] [RFC PATCH 2/2] env: re-add support for auto-completion Mike Frysinger
2010-12-17 20:10 ` Wolfgang Denk
2010-12-17 20:35 ` Mike Frysinger
2010-12-17 20:51 ` Wolfgang Denk
2010-12-17 21:51 ` [U-Boot] [PATCH v2] " Mike Frysinger
2011-01-09 16:57 ` Wolfgang Denk
2010-12-08 11:27 ` [U-Boot] [RFC PATCH 1/2] hashtable: drop all non-reentrant versions Mike Frysinger
2010-12-08 12:31 ` Joakim Tjernlund
2010-12-08 14:23 ` Wolfgang Denk
2010-12-08 14:44 ` Joakim Tjernlund
2010-12-09 1:19 ` Mike Frysinger
2010-12-17 20:07 ` Wolfgang Denk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101217200752.1770DB19C@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox