1
0
Fork 0
remarkable-uboot/disk
Hector Palacios 61fcc7d275 part_efi: fix protective mbr struct allocation
The calloc() call was allocating space for the sizeof the struct
pointer rather than for the struct contents.
Besides, since this buffer is passed to mmc for writing and some
platforms may use cache, the legacy_mbr struct should be cache-aligned.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
2014-02-24 10:56:07 -05:00
..
Makefile kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
part.c sandbox: block driver using host file/device as backing store 2014-01-08 17:24:03 -07:00
part_amiga.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
part_amiga.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_dos.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
part_dos.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_efi.c part_efi: fix protective mbr struct allocation 2014-02-24 10:56:07 -05:00
part_iso.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_iso.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_mac.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
part_mac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00