]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
block/floppy: Convert callback to pass timer_list
authorKees Cook <keescook@chromium.org>
Thu, 5 Oct 2017 00:49:29 +0000 (17:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Nov 2017 03:10:35 +0000 (20:10 -0700)
commitb1bf42105aad7c976907665923bc53ce2244e494
tree6d8902d88f504e15a7d3375790e2838acf7925d0
parent37cb8e1f8e10c6e9bd2a1b95cdda0620a21b0551
block/floppy: Convert callback to pass timer_list

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: Kees Cook <keescook@chromium.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/floppy.c