diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-05 03:53:48 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-11-07 03:48:57 +0300 |
commit | c4459a086748848b8a498282780f708c235a06a5 (patch) | |
tree | 46dec98d52bd741595258bb4e7918c22d5d5f457 /drivers/irqchip/irq-atmel-aic.c | |
parent | 05196e258a617ee14dd3255c480cbc3f0caff5ce (diff) | |
download | linux-c4459a086748848b8a498282780f708c235a06a5.tar.xz |
PCI: pciehp: 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 fixes what appears to be a bug
in passing the wrong pointer to the timer handler (address of ctrl pointer
instead of ctrl pointer).
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Mayurkumar Patel <mayurkumar.patel@intel.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/irqchip/irq-atmel-aic.c')
0 files changed, 0 insertions, 0 deletions