From: Wolfgang Denk Date: Mon, 03 Oct 2011 16:34:34 +0200 Subject: [U-Boot] [PATCH 6/8] PPC: Fix eepro100_eeprom.c by renaming "debug" to "eedebug" In-Reply-To: <1317603450-7527-7-git-send-email-marek.vasut@gmail.com> References: <1317603450-7527-1-git-send-email-marek.vasut@gmail.com> <1317603450-7527-7-git-send-email-marek.vasut@gmail.com> Message-ID: <20111003143434.2CD2718D9EC1@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek Vasut, In message <1317603450-7527-7-git-send-email-marek.vasut@gmail.com> you wrote: > From: Marek Vasut Fix... > Also, squash a warning about initialized static data. > > Signed-off-by: Marek Vasut > --- > examples/standalone/eepro100_eeprom.c | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/examples/standalone/eepro100_eeprom.c b/examples/standalone/eepro100_eeprom.c > index 3c7f380..889ab55 100644 > --- a/examples/standalone/eepro100_eeprom.c > +++ b/examples/standalone/eepro100_eeprom.c > @@ -59,7 +59,7 @@ static unsigned short eeprom[256]; > static int eeprom_size = 64; > static int eeprom_addr_size = 6; > > -static int debug = 0; > +static int eedebug; It appears that there is no code anywhere that would ever change the value of debug resp. eedebug; so this should probably be cleaned up differently ? 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 C++ is the best example of second-system effect since OS/360.