* [U-Boot] [PATCH] cmd_mem.c: Update 'iteration_limit' to unsigned long
@ 2015-04-07 17:57 Tom Rini
2015-04-07 18:01 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2015-04-07 17:57 UTC (permalink / raw)
To: u-boot
With e37f1eb we now use strict_strtoul() in do_mem_mtest() and this
gives us a warning:
../include/vsprintf.h:38:5: note: expected 'long unsigned int *' but
argument is of type 'int *'
Signed-off-by: Tom Rini <trini@konsulko.com>
---
common/cmd_mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 20a875c..3f85c1a 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -999,7 +999,7 @@ static int do_mem_mtest(cmd_tbl_t *cmdtp, int flag, int argc,
{
ulong start, end;
vu_long *buf, *dummy;
- int iteration_limit = 0;
+ ulong iteration_limit = 0;
int ret;
ulong errs = 0; /* number of errors, or -1 if interrupted */
ulong pattern = 0;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] cmd_mem.c: Update 'iteration_limit' to unsigned long
2015-04-07 17:57 [U-Boot] [PATCH] cmd_mem.c: Update 'iteration_limit' to unsigned long Tom Rini
@ 2015-04-07 18:01 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-04-07 18:01 UTC (permalink / raw)
To: u-boot
On Tue, Apr 07, 2015 at 01:57:50PM -0400, Tom Rini wrote:
> With e37f1eb we now use strict_strtoul() in do_mem_mtest() and this
> gives us a warning:
> ../include/vsprintf.h:38:5: note: expected 'long unsigned int *' but
> argument is of type 'int *'
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150407/522ebff6/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-07 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 17:57 [U-Boot] [PATCH] cmd_mem.c: Update 'iteration_limit' to unsigned long Tom Rini
2015-04-07 18:01 ` Tom Rini
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.