diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-04 17:53:48 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-11-06 18:48:57 -0600 |
commit | c4459a086748848b8a498282780f708c235a06a5 (patch) | |
tree | 46dec98d52bd741595258bb4e7918c22d5d5f457 /drivers/pcmcia | |
parent | 05196e258a617ee14dd3255c480cbc3f0caff5ce (diff) | |
download | op-kernel-dev-c4459a086748848b8a498282780f708c235a06a5.zip op-kernel-dev-c4459a086748848b8a498282780f708c235a06a5.tar.gz |
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/pcmcia')
0 files changed, 0 insertions, 0 deletions