aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2017-05-28 09:31:47 -0300
committerMauro Carvalho Chehab <[email protected]>2017-06-07 12:46:46 -0300
commit008d8e10054b3548cf9781083c26809486d7c07c (patch)
treef18f9b636c7276b15bbd0cf73503d852198a1609 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentfc993494134bfa76084529dda99ea8fcf23bec73 (diff)
[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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions