]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:46:30 +0000 (11:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 10:19:07 +0000 (11:19 +0100)
commitbbdafde7c22018a4a84db98b11eb8f8ab26d7731
treebbd4ef13d19d1c443390e738273640f9f86844c9
parent7b5edfd278b04bd158c14554dd494ec00aa9e275
RDMA: Switch to use hrtimer_setup()

hrtimer_setup() takes the callback function pointer as argument and
initializes the timer completely.

Replace hrtimer_init() and the open coded initialization of
hrtimer::function with the new setup mechanism.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://lore.kernel.org/all/37bd6895bb946f6d785ab5fe32f1a6f4b9e77c26.1738746904.git.namcao@linutronix.de
drivers/infiniband/hw/hfi1/init.c
drivers/infiniband/sw/rdmavt/qp.c