summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2017-08-01 18:37:26 +0300
committerDarren Hart (VMware) <dvhart@infradead.org>2017-08-01 23:53:49 +0300
commitbaa5480b0509d8af06c37fff03edbb5a6815cef1 (patch)
tree306dc6c9c9125454d427db70ff8ff5b2b5eefc05 /tools/perf/scripts/python/call-graph-from-sql.py
parent95a5af1838129aeb1678775928a1d714b62b4c1a (diff)
downloadlinux-baa5480b0509d8af06c37fff03edbb5a6815cef1.tar.xz
platform/x86: dell-wmi: Fix driver interface version query
When I converted dell-wmi to the new bus infrastructure, I left the call to dell_wmi_check_descriptor_buffer() in dell_wmi_init(). This could cause two problems: - An error message when loading the driver on a system without dell-wmi. We'd try to read the event descriptor even if the WMI GUID wasn't there. - A possible race if dell-wmi was loaded manually before wmi was fully initialized. Fix it by moving the call to the probe function where it belongs. Fixes: bff589be59c5 ("platform/x86: dell-wmi: Convert to the WMI bus infrastructure") Signed-off-by: Andy Lutomirski <luto@kernel.org> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions