• Kees Cook's avatar
    PCI: pciehp: Convert timers to use timer_setup() · c4459a08
    Kees Cook authored
    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: default avatarKees Cook <keescook@chromium.org>
    Signed-off-by: default avatarBjorn 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>
    c4459a08
pciehp_hpc.c 23.6 KB