From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 04/17] env: move extern environment[] to environment.h
Date: Sun, 27 Nov 2011 10:31:38 +0200 [thread overview]
Message-ID: <4ED1F56A.5070003@compulab.co.il> (raw)
In-Reply-To: <201111251612.34081.vapier@gentoo.org>
Hi Mike,
On 11/25/11 23:12, Mike Frysinger wrote:
> On Thursday 17 November 2011 11:07:23 Igor Grinberg wrote:
>> --- a/tools/envcrc.c
>> +++ b/tools/envcrc.c
>>
>> #if defined(ENV_IS_EMBEDDED) && !defined(CONFIG_BUILD_ENVCRC)
>> +# include <environment.h>
>> # define CONFIG_BUILD_ENVCRC 1
>> #endif
>> ...
>> #ifdef CONFIG_BUILD_ENVCRC
>> extern unsigned int env_size;
>> -extern unsigned char environment;
>> +extern env_t environment;
>> #endif /* CONFIG_BUILD_ENVCRC */
>
> this breaks when CONFIG_BUILD_ENVCRC is defined. you include environment.h
> when it isn't defined, but then use env_t when it is defined.
Good... eh.. I mean Bad! Thanks for testing/reporting.
Can you, please, supply the error log, so I can include it in the
fix commit message?
Thanks
--
Regards,
Igor.
next prev parent reply other threads:[~2011-11-27 8:31 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 11:13 [U-Boot] [PATCH 00/17] Cleanup environment related files Igor Grinberg
2011-11-07 11:13 ` [U-Boot] [PATCH 01/17] env: clean environment.h checkpatch and code style Igor Grinberg
2011-11-07 11:13 ` [U-Boot] [PATCH 02/17] common: move extern char console_buffer[] to common.h Igor Grinberg
2011-11-07 11:13 ` [U-Boot] [PATCH 03/17] env: move extern default_environment[] to environment.h Igor Grinberg
2011-11-07 11:17 ` Stefan Roese
2011-11-17 14:12 ` Stefano Babic
2011-11-17 15:14 ` Igor Grinberg
2011-11-17 15:30 ` Stefano Babic
2011-11-17 16:07 ` [U-Boot] [PATCH v2 04/17] env: move extern environment[] " Igor Grinberg
2011-11-25 21:12 ` Mike Frysinger
2011-11-27 8:31 ` Igor Grinberg [this message]
2011-11-28 7:57 ` [U-Boot] [PATCH] tools/envcrc: fix compile breakage Igor Grinberg
2011-11-28 8:07 ` Wolfgang Denk
2011-11-28 9:04 ` Igor Grinberg
2011-11-28 15:15 ` Wolfgang Denk
2011-11-29 6:38 ` Igor Grinberg
2011-11-28 18:52 ` Mike Frysinger
2011-11-29 6:35 ` Igor Grinberg
2011-11-28 8:18 ` Wolfgang Denk
2011-11-28 8:53 ` Igor Grinberg
2011-11-29 4:25 ` Mike Frysinger
2011-11-29 6:41 ` Igor Grinberg
2011-12-05 10:48 ` Igor Grinberg
2011-12-06 21:11 ` Wolfgang Denk
2011-11-07 11:13 ` [U-Boot] [PATCH 04/17] env: move extern environment[] to environment.h Igor Grinberg
2011-11-07 11:13 ` [U-Boot] [PATCH 05/17] env: clean cmd_nvedit.c checkpatch and code style Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 06/17] env: clean env_nowhere.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 07/17] env: clean env_mgdisk.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 08/17] env: clean env_dataflash.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 09/17] env: clean env_onenand.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 10/17] env: clean env_nvram.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 11/17] env: clean env_mmc.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 12/17] env: clean env_embedded.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 13/17] env: clean env_eeprom.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 14/17] env: clean env_sf.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 15/17] env: clean env_flash.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 16/17] env: clean env_nand.c " Igor Grinberg
2011-11-07 11:14 ` [U-Boot] [PATCH 17/17] env: clean env_common.c " Igor Grinberg
2011-11-13 8:29 ` [U-Boot] [PATCH 00/17] Cleanup environment related files Igor Grinberg
2011-11-22 8:52 ` Stefano Babic
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=4ED1F56A.5070003@compulab.co.il \
--to=grinberg@compulab.co.il \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.