lkml.org 
[lkml]   [2017]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Bluetooth: Convert timers to use timer_setup()
From
Date
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@holtmann.org>
> Cc: Gustavo Padovan <gustavo@padovan.org>
> Cc: Johan Hedberg <johan.hedberg@gmail.com>
> Cc: linux-bluetooth@vger.kernel.org
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Kees Cook <keescook@chromium.org>
> ---
> 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

\
 
 \ /
  Last update: 2017-10-06 20:38    [W:0.031 / U:1.508 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site