All of lore.kernel.org
 help / color / mirror / Atom feed
From: "antonynpavlov@gmail.com" <antonynpavlov@gmail.com>
To: Alexander Aring <alex.aring@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH/RFC 0/5] Another try for a new memtest implementation
Date: Thu, 6 Jun 2013 11:52:45 +0400	[thread overview]
Message-ID: <20130606115245.a8add6e7ee99b4354fd9df84@gmail.com> (raw)
In-Reply-To: <1370301232-12962-1-git-send-email-alex.aring@gmail.com>

On Tue,  4 Jun 2013 01:13:47 +0200
Alexander Aring <alex.aring@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
commands/memtest.c:42: error: `EINVAL' undeclared (first use in this function)
commands/memtest.c:42: error: (Each undeclared identifier is reported only once
commands/memtest.c:42: error: for each function it appears in.)
commands/memtest.c: In function `request_memtest_regions':
commands/memtest.c:57: warning: implicit declaration of function `container_of'
commands/memtest.c:57: error: syntax error before "typeof"
commands/memtest.c:57: error: syntax error before "typeof"
commands/memtest.c:64: warning: implicit declaration of function `PAGE_ALIGN_DOWN'
commands/memtest.c:71: error: continue statement not within a loop
commands/memtest.c: At top level:
commands/memtest.c:79: error: syntax error before "for"
commands/memtest.c:79: error: syntax error before '->' token
commands/memtest.c:79: warning: type defaults to `int' in declaration of `prefetch'
commands/memtest.c:79: warning: function declaration isn't a prototype
commands/memtest.c:79: error: conflicting types for 'prefetch'
include/linux/list.h:18: error: previous definition of 'prefetch' was here
commands/memtest.c:79: warning: type defaults to `int' in declaration of `r'
commands/memtest.c:79: error: invalid type argument of `->'
commands/memtest.c:79: error: syntax error before "typeof"
commands/memtest.c:88: warning: type defaults to `int' in declaration of `end'
commands/memtest.c:88: error: invalid type argument of `->'
commands/memtest.c:88: error: initializer element is not constant
commands/memtest.c:88: warning: data definition has no type or storage class
commands/memtest.c:89: warning: type defaults to `int' in declaration of `size'
commands/memtest.c:89: error: `start' undeclared here (not in a function)
commands/memtest.c:89: warning: data definition has no type or storage class
commands/memtest.c:90: warning: type defaults to `int' in declaration of `r_prev'
commands/memtest.c:90: error: initializer element is not constant
commands/memtest.c:90: warning: data definition has no type or storage class
commands/memtest.c:91: error: syntax error before "if"
commands/memtest.c:94: warning: type defaults to `int' in declaration of `ret'
commands/memtest.c:94: error: `list' undeclared here (not in a function)
commands/memtest.c:94: error: initializer element is not constant
commands/memtest.c:94: warning: data definition has no type or storage class
commands/memtest.c:95: error: syntax error before "if"
commands/memtest.c:102: warning: type defaults to `int' in declaration of `start'
commands/memtest.c:102: warning: implicit declaration of function `PAGE_ALIGN'
commands/memtest.c:102: error: invalid type argument of `->'
commands/memtest.c:102: error: initializer element is not constant
commands/memtest.c:102: warning: data definition has no type or storage class
commands/memtest.c:103: warning: type defaults to `int' in declaration of `end'
commands/memtest.c:103: error: redefinition of 'end'
commands/memtest.c:88: error: previous definition of 'end' was here
commands/memtest.c:103: error: invalid type argument of `->'
commands/memtest.c:103: error: initializer element is not constant
commands/memtest.c:103: warning: data definition has no type or storage class
commands/memtest.c:104: warning: type defaults to `int' in declaration of `size'
commands/memtest.c:104: error: redefinition of 'size'
commands/memtest.c:89: error: previous definition of 'size' was here
commands/memtest.c:104: error: initializer element is not constant
commands/memtest.c:104: warning: data definition has no type or storage class
commands/memtest.c:105: warning: type defaults to `int' in declaration of `r_prev'
commands/memtest.c:105: error: redefinition of 'r_prev'
commands/memtest.c:90: error: previous definition of 'r_prev' was here
commands/memtest.c:105: error: initializer element is not constant
commands/memtest.c:105: warning: data definition has no type or storage class
commands/memtest.c:106: error: syntax error before "if"
commands/memtest.c:109: warning: type defaults to `int' in declaration of `ret'
commands/memtest.c:109: error: redefinition of 'ret'
commands/memtest.c:94: error: previous definition of 'ret' was here
commands/memtest.c:109: error: initializer element is not constant
commands/memtest.c:109: warning: data definition has no type or storage class
commands/memtest.c:110: error: syntax error before "if"
commands/memtest.c:118: warning: type defaults to `int' in declaration of `end'
commands/memtest.c:118: error: redefinition of 'end'
commands/memtest.c:103: error: previous definition of 'end' was here
commands/memtest.c:118: error: redefinition of 'end'
commands/memtest.c:103: error: previous definition of 'end' was here
commands/memtest.c:118: error: `bank' undeclared here (not in a function)
commands/memtest.c:118: error: initializer element is not constant
commands/memtest.c:118: warning: data definition has no type or storage class
commands/memtest.c:119: warning: type defaults to `int' in declaration of `size'
commands/memtest.c:119: error: redefinition of 'size'
commands/memtest.c:104: error: previous definition of 'size' was here
commands/memtest.c:119: error: redefinition of 'size'
commands/memtest.c:104: error: previous definition of 'size' was here
commands/memtest.c:119: error: initializer element is not constant
commands/memtest.c:119: warning: data definition has no type or storage class
commands/memtest.c:120: error: syntax error before "if"
commands/memtest.c:123: warning: type defaults to `int' in declaration of `ret'
commands/memtest.c:123: error: redefinition of 'ret'
commands/memtest.c:109: error: previous definition of 'ret' was here
commands/memtest.c:123: error: redefinition of 'ret'
commands/memtest.c:109: error: previous definition of 'ret' was here
commands/memtest.c:123: error: initializer element is not constant
commands/memtest.c:123: warning: data definition has no type or storage class
commands/memtest.c:124: error: syntax error before "if"
commands/memtest.c: In function `__do_memtest':
commands/memtest.c:139: error: syntax error before "typeof"
commands/memtest.c:139: error: syntax error before "typeof"
commands/memtest.c:149: warning: implicit declaration of function `printf'
commands/memtest.c: At top level:
commands/memtest.c:152: error: syntax error before "return"
commands/memtest.c: In function `do_memtest':
commands/memtest.c:165: warning: implicit declaration of function `simple_strtoul'
commands/memtest.c:214: error: syntax error before "typeof"
commands/memtest.c:214: error: syntax error before "typeof"
commands/memtest.c:221: warning: implicit declaration of function `free'
commands/memtest.c: At top level:
commands/memtest.c:224: error: syntax error before "if"
commands/memtest.c:232: error: syntax error before string constant
commands/memtest.c:232: warning: type defaults to `int' in declaration of `printf'
commands/memtest.c:232: warning: function declaration isn't a prototype
commands/memtest.c:232: warning: data definition has no type or storage class
make[1]: *** [commands/memtest.o] Error 1
make: *** [commands] Error 2


-- 
-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2013-06-06  7:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-03 23:13 [PATCH/RFC 0/5] Another try for a new memtest implementation Alexander Aring
2013-06-03 23:13 ` [PATCH 1/5] common: fix codestyle in ALIGN macros Alexander Aring
2013-06-03 23:13 ` [PATCH 2/5] common: add ALIGN_DOWN macro Alexander Aring
2013-06-03 23:13 ` [PATCH 3/5] memtest: remove memtest command Alexander Aring
2013-06-03 23:13 ` [PATCH 4/5] common: add memtest.c with mem_test routine Alexander Aring
2013-06-03 23:13 ` [PATCH 5/5] commands: add new memtest command Alexander Aring
2013-06-05 21:15 ` [PATCH/RFC 0/5] Another try for a new memtest implementation Sascha Hauer
2013-06-06  7:52 ` antonynpavlov [this message]
2013-06-06 17:52   ` Alexander Aring

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=20130606115245.a8add6e7ee99b4354fd9df84@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=alex.aring@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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.