* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
byte-swap on big-endian. Reported by: Lennart Sorensen
This commit is contained in:
parent
807fb77c16
commit
6a0295e205
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
|
||||||
|
byte-swap on big-endian.
|
||||||
|
Reported by: Lennart Sorensen
|
||||||
|
|
||||||
2012-03-07 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-03-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/loader/i386/linux.c (prot_init_space): New variable.
|
* grub-core/loader/i386/linux.c (prot_init_space): New variable.
|
||||||
|
|
|
@ -178,7 +178,7 @@ grub_mdraid_detect (grub_disk_t disk,
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (grub_disk_read (disk, sector,
|
if (grub_disk_read (disk, sector,
|
||||||
(char *) &sb.dev_roles[sb.dev_number]
|
(char *) &sb.dev_roles[grub_le_to_cpu32 (sb.dev_number)]
|
||||||
- (char *) &sb,
|
- (char *) &sb,
|
||||||
sizeof (role), &role))
|
sizeof (role), &role))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue