On Tue, 28 Sep 2010 19:31:30 +0200
Wolfgang Denk <[email protected]> wrote:
> > +__attribute__((weak))
> > +int arch_memory_test_advance(u32 *vstart, u32 *size, phys_addr_t
> > *phys_offset)
> > +{
> > + return 1;
> > +}
>
> Unused arguments?
>
> Don't you get compiler warnings for these?
Such warnings are not part of -Wall, which is a good thing, as
the arguments may be there to satisfy an interface (esp. with function
pointers or conditional compilation) and not because this instance of
the function actually needs them. This seems to be the case here.
-Scott
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot