Skip to content
  • Kees Cook's avatar
    block/floppy: Convert callback to pass timer_list · b1bf4210
    Kees Cook authored
    
    
    In preparation for unconditionally passing the struct timer_list pointer to
    all timer callbacks, switch to passing in the timer pointer explicitly.
    Calculate the drive from the offset of the timer in the timer list.
    
    Cc: Jiri Kosina <jikos@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Ming Lei <tom.leiming@gmail.com>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Geliang Tang <geliangtang@gmail.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    b1bf4210