Skip to contentSkip to conversation

Fix initrd length miscalcul [...]

PATCH New OTRS Notification Master 1 participant 1 message Feb 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix initrd length miscalcul [...]

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2007020642000019] was created:

<snip>

Quoted 8 lines

In message <[email protected]> you

Quoted 5 lines · wrote:

The do_bootm_linux() function was using the same variable ('len') to calculate the the dtu length and the initrd length, which meant that the initrd length was incorrect. This patch creates renames 'len' and 'data' to 'initrd_len' and 'initrd_data', thereby preventing any future confusion. It also deletes 'len' and 'data' because the dtu calculations don't actually need them.

Quoted 13 lines

I can't parse this. 'len' was used twice, but actually it wasn't used in the second case, but you renamed the only remaining use it had?

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Vor allem kein Gedanke! Nichts ist kompromittierender als ein  Gedan-
ke!            - Friedrich Wilhelm Nietzsche _Der Fall Wagner_ (1888)

</snip>

Your U-Boot support team