mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* 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:
1 parent
807fb77c16
commit
6a0295e205
2 files changed
+7
-1
No files matched your search
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user