aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorNikolai Merinov <[email protected]>2020-03-08 09:08:59 +0100
committerIngo Molnar <[email protected]>2020-03-08 10:00:09 +0100
commitd5528d5e91041e68e8eab9792ce627705a0ed273 (patch)
tree40a60cb87371ddc1a7b16228fa3e0644a16bae27 /scripts/gdb/linux/timerlist.py
parent0347d8c28cbbfd92527bad05931a458dbd62dc79 (diff)
partitions/efi: Fix partition name parsing in GUID partition entry
GUID partition entry defined to have a partition name as 36 UTF-16LE code units. This means that on big-endian platforms ASCII symbols would be read with 0xXX00 efi_char16_t character code. In order to correctly extract ASCII characters from a partition name field we should be converted from 16LE to CPU architecture. The problem exists on all big endian platforms. [ mingo: Minor edits. ] Fixes: eec7ecfede74 ("genhd, efi: add efi partition metadata to hd_structs") Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Nikolai Merinov <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/797777312.1324734.1582544319435.JavaMail.zimbra@inango-systems.com/
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions