aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-06-20 14:31:41 -0700
committerDarren Hart (VMware) <[email protected]>2018-06-22 16:24:40 -0700
commit6fb741076a9fc53355e56dff2e2b46782b3a46d3 (patch)
treec0731ea102bcbd668d8bd708de7ab08bd3c7f999 /tools/perf/scripts/python/event_analyzing_sample.py
parentf193f7985f48a40885ce2e270c4cea9697650cc1 (diff)
platform/x86: wmi: Do not mix pages and kmalloc
The probe handler_data was being allocated with __get_free_pages() for no reason I could find. The error path was using kfree(). Since other things are happily using kmalloc() in the probe path, switch to kmalloc() entirely. This fixes the error path mismatch and will avoid issues with CONFIG_HARDENED_USERCOPY_PAGESPAN=y. Reported-by: Mihai DonČ›u <[email protected]> Signed-off-by: Kees Cook <[email protected]> Acked-by: Mario Limonciello <[email protected]> Cc: [email protected] Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions