[PATCH/RFC 0/5] Another try for a new memtest implementation

Alexander Aring alex.aring at gmail.com
Thu Jun 6 13:52:25 EDT 2013

Hi Antony,

On Thu, Jun 06, 2013 at 11:52:45AM +0400, antonynpavlov at gmail.com wrote:
> On Tue,  4 Jun 2013 01:13:47 +0200
> Alexander Aring <alex.aring at gmail.com> wrote:
> > Hi,
> > 
> > this is a new try to get a new memtest implementation into barebox.
> > 
> I have got the new memtest command from the next branch.
> Here is my MIPS qemu-malta build log:
>   CC      commands/memtest.o
> commands/memtest.c: In function `alloc_memtest_region':
> commands/memtest.c:39: warning: implicit declaration of function `xzalloc'
> commands/memtest.c:39: warning: assignment makes pointer from integer without a cast

thanks for send this notice. I know why this happend.

We get an include from architecure specific header file "asm/mmu.h" and
some mmu.h in other architecure don't include "inside of arch specific
asm/mmu.h" headers like "malloc.h", "errno.h".

I simple forgot to handle this.

I will send a patch "for-next" to add these header files to memtest.


More information about the barebox mailing list