Patchwork [U-Boot] Fix typo from 'mb_alloc' -> 'lmb_alloc'

login
register
mail settings
Submitter Matthew McClintock
Date July 18, 2011, 11:08 p.m.
Message ID <1311030485-25946-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/105364/
State Accepted
Commit 1bb5e9071f7598eb83e2015a2e9dfbdc18a4314d
Headers show

Comments

Matthew McClintock - July 18, 2011, 11:08 p.m.
From commit a28afca57df7875f3334407bc47bd66b98701534

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 common/image.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Wolfgang Denk - July 19, 2011, 8:40 a.m.
Dear Matthew McClintock,

In message <1311030485-25946-1-git-send-email-msm@freescale.com> you wrote:
> From commit a28afca57df7875f3334407bc47bd66b98701534
> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  common/image.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.


David, Jerry:  I'm disappointed that obviously neither of you bothered
to compile-test this stuff.  Please be more careful!


Best regards,

Wolfgang Denk
David A. Long - July 19, 2011, 12:36 p.m.
On Tue, 2011-07-19 at 10:40 +0200, Wolfgang Denk wrote:


> David, Jerry:  I'm disappointed that obviously neither of you bothered
> to compile-test this stuff.  Please be more careful!
> 


Sorry, looks like I have to take ownership of that mistake.  I must have
introduced that when I fixed the last whitespace issues.  Could have
sworn I'd tested it after that.

-dl

Patch

diff --git a/common/image.c b/common/image.c
index c6cd85e..5c7d4f4 100644
--- a/common/image.c
+++ b/common/image.c
@@ -1274,7 +1274,7 @@  int boot_relocate_fdt (struct lmb *lmb, char **of_flat_tree, ulong *of_size)
 			}
 		} else {
 			of_start =
-			    (void *)(ulong) mb_alloc(lmb, of_len, 0x1000);
+			    (void *)(ulong) lmb_alloc(lmb, of_len, 0x1000);
 		}
 	} else {
 		of_start =