summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-05-28 09:31:47 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-07 12:46:46 -0300
commit008d8e10054b3548cf9781083c26809486d7c07c (patch)
treef18f9b636c7276b15bbd0cf73503d852198a1609 /tools/perf/scripts/python
parentfc993494134bfa76084529dda99ea8fcf23bec73 (diff)
downloadlinux-008d8e10054b3548cf9781083c26809486d7c07c.tar.gz
linux-008d8e10054b3548cf9781083c26809486d7c07c.zip
[media] staging: atomisp: Fix calling efivar_entry_get() with unaligned arguments
efivar_entry_get has certain alignment requirements and the atomisp platform code was not honoring these, causing an oops by triggering the WARN_ON in arch/x86/platform/efi/efi_64.c: virt_to_phys_or_null_size(). This commit fixes this by using the members of the efivar struct embedded in the efivar_entry struct we kzalloc as arguments to efivar_entry_get(), which is how all the other callers of efivar_entry_get() do this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions