summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-10-27 00:48:34 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-10-27 21:30:27 +0300
commitbe0e97526455fefe3b7668b7fdf6cd247bf13318 (patch)
tree323482160e18140f9585ec0027be30e612470b6e /tools/perf/scripts/python/export-to-sqlite.py
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
downloadlinux-be0e97526455fefe3b7668b7fdf6cd247bf13318.tar.xz
ACPI: dock: fix enum-conversion warning
gcc points out a type mismatch: drivers/acpi/dock.c: In function 'hot_remove_dock_devices': drivers/acpi/dock.c:234:53: warning: implicit conversion from 'enum <anonymous>' to 'enum dock_callback_type' [-Wenum-conversion] 234 | dock_hotplug_event(dd, ACPI_NOTIFY_EJECT_REQUEST, false); This is harmless because 'false' still has the correct numeric value, but passing DOCK_CALL_HANDLER documents better what is going on and avoids the warning. Fixes: 37f908778f20 ("ACPI / dock: Walk list in reverse order during removal of devices") Fixes: f09ce741a03a ("ACPI / dock / PCI: Drop ACPI dock notifier chain") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions