[U-Boot-Users] [PATCH] fw_printenv - changed MTD include and fixed compiler warnings

Ben Warren bwarren at qstreams.com
Mon Feb 19 22:20:58 CET 2007


On Mon, 2007-02-19 at 22:10 +0100, Wolfgang Denk wrote:
> In message <1171917466.22834.48.camel at 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.





More information about the U-Boot mailing list