From: Ben Warren Date: Mon, 19 Feb 2007 16:20:58 -0500 Subject: [U-Boot-Users] [PATCH] fw_printenv - changed MTD include and fixed compiler warnings In-Reply-To: <20070219211017.0C3F6353CF6@atlas.denx.de> References: <20070219211017.0C3F6353CF6@atlas.denx.de> Message-ID: <1171920058.22834.50.camel@saruman.qstreams.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 2007-02-19 at 22:10 +0100, Wolfgang Denk wrote: > In message <1171917466.22834.48.camel@saruman.qstreams.net> you wrote: > > This user-space program was including a kernel header, which prevented > > compilation. Compiler warnings were 'fixed' by some casts. If anyone > > stores binary data in environment variables this may not work. > > IIRC this change breaks building against a 2.4 kernel tree. > > Or did you test this in a 2.4 kernel environment? Sorry, 2.6 only. I can add a test for kernel version, I guess.