All of lore.kernel.org
 help / color / mirror / Atom feed
* unaligned access in part_efi.c
@ 2013-03-26 20:42 ` Marc Dietrich
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Dietrich @ 2013-03-26 20:42 UTC (permalink / raw)
  To: U-Boot-0aAXYlwwYIKGBzrmiIFOJg
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Tom Warren, Stephen Warren,
	Chang Hyun Park

Hi,

access to part->start_sect in pmbr_part_valid() (form disk/part_efi.c) and 
propably other positions/fields causes an unaligned access on ARM (tegra in my 
case) and a uboot crash. This was introduced by commit fae2bf22 [1] which 
changed le32_to_int (which is a byte access) to le32_to_cpu (which is a 32bit 
access).

I'm not sure how to fix this as I'm not very familar with this kind of 
problems. Any help?

Thanks!

Marc

[1] gpt: The leXX_to_int() calls replaced with ones defined at <compiler.h>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-27 21:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26 20:42 unaligned access in part_efi.c Marc Dietrich
2013-03-26 20:42 ` [U-Boot] " Marc Dietrich
2013-03-27 18:23 ` Stephen Warren
2013-03-27 18:23   ` [U-Boot] " Stephen Warren
     [not found]   ` <5153391A.1010201-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-27 21:46     ` Marc Dietrich
2013-03-27 21:46       ` [U-Boot] " Marc Dietrich

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.