On Thu, Feb 03, 2022 at 07:51:37PM +0100, Pali Rohár wrote:
> Replace %zx by %lx and cast size_t to ulong.
>
> U-Boot currently prints garbage debug output:
> size=x, ptr=18, limit=18: 4002a000
>
> With this change it prints correct debug data:
> size=18, ptr=18, limit=2000: 4002a000
>
> Signed
On Thursday 03 February 2022 14:19:41 Simon Glass wrote:
> Hi Pali,
>
> On Thu, 3 Feb 2022 at 11:51, Pali Rohár wrote:
> >
> > Replace %zx by %lx and cast size_t to ulong.
> >
> > U-Boot currently prints garbage debug output:
> > size=x, ptr=18, limit=18: 4002a000
>
> Do you mean in SPL?
Yes, t
Hi Pali,
On Thu, 3 Feb 2022 at 11:51, Pali Rohár wrote:
>
> Replace %zx by %lx and cast size_t to ulong.
>
> U-Boot currently prints garbage debug output:
> size=x, ptr=18, limit=18: 4002a000
Do you mean in SPL?
>
> With this change it prints correct debug data:
> size=18, ptr=18, limit=2000: 4
On Thu, Feb 03, 2022 at 02:28:23PM -0500, Sean Anderson wrote:
>
>
> On 2/3/22 2:25 PM, Sean Anderson wrote:
> > Hi Pali,
> >
> > On 2/3/22 1:51 PM, Pali Rohár wrote:
> >> Replace %zx by %lx and cast size_t to ulong.
> >>
> >> U-Boot currently prints garbage debug output:
> >> size=x, ptr=18, l
On 2/3/22 2:25 PM, Sean Anderson wrote:
> Hi Pali,
>
> On 2/3/22 1:51 PM, Pali Rohár wrote:
>> Replace %zx by %lx and cast size_t to ulong.
>>
>> U-Boot currently prints garbage debug output:
>> size=x, ptr=18, limit=18: 4002a000
>>
>> With this change it prints correct debug data:
>> size=18
Hi Pali,
On 2/3/22 1:51 PM, Pali Rohár wrote:
> Replace %zx by %lx and cast size_t to ulong.
>
> U-Boot currently prints garbage debug output:
> size=x, ptr=18, limit=18: 4002a000
>
> With this change it prints correct debug data:
> size=18, ptr=18, limit=2000: 4002a000
>
> Signed-off-by: Pali
Replace %zx by %lx and cast size_t to ulong.
U-Boot currently prints garbage debug output:
size=x, ptr=18, limit=18: 4002a000
With this change it prints correct debug data:
size=18, ptr=18, limit=2000: 4002a000
Signed-off-by: Pali Rohár
---
common/malloc_simple.c | 2 +-
1 file changed, 1 inse
7 matches
Mail list logo