]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
PCI: cpqphp: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 23:18:02 +0000 (16:18 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Nov 2017 00:48:57 +0000 (18:48 -0600)
commit34d773f6ca5b4b5b1961836b557d34314226aa23
treeda8d37bc2b6dedbd19a11f3d608ee6ff8f95d8b7
parentc4459a086748848b8a498282780f708c235a06a5
PCI: cpqphp: Convert timers to use timer_setup()

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.  This has the result of fixing
pushbutton_helper_thread(), which was truncating the event pointer to 32
bits.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: Quentin Lambert <lambert.quentin@gmail.com>
Cc: Aleksandr Bezzubikov <zuban32s@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
drivers/pci/hotplug/cpqphp.h
drivers/pci/hotplug/cpqphp_core.c
drivers/pci/hotplug/cpqphp_ctrl.c