Re: [PATCH] Bluetooth: Convert timers to use timer_setup()
From: Marcel Holtmann
Date: Fri Oct 06 2017 - 14:38:52 EST
Hi Kees,
> 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. As already done in hci_qca, add
> struct hci_uart pointer to priv structure.
>
> Cc: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> Cc: Gustavo Padovan <gustavo@xxxxxxxxxxx>
> Cc: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> Cc: linux-bluetooth@xxxxxxxxxxxxxxx
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> This requires commit 686fef928bba ("timer: Prepare to change timer
> callback argument type") in v4.14-rc3, but should be otherwise
> stand-alone.
> ---
> drivers/bluetooth/bluecard_cs.c | 7 +++----
> drivers/bluetooth/hci_bcsp.c | 10 ++++++----
> drivers/bluetooth/hci_h5.c | 10 ++++++----
> drivers/bluetooth/hci_qca.c | 17 ++++++++---------
> 4 files changed, 23 insertions(+), 21 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel