summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-lg2ff.c
diff options
context:
space:
mode:
authorNitesh Narayan Lal <nitesh@redhat.com>2021-09-03 11:24:29 -0400
committerThomas Gleixner <tglx@linutronix.de>2021-12-10 20:47:39 +0100
commit7451e9ea8e2055af39afe7ff39a5f68d8ec6b98d (patch)
treebb5b9e8de03ef417fbe4334a7f3029796ef09dd6 /drivers/hid/hid-lg2ff.c
parent2d1e72f235d665aa699fb821f6da6e8bde84cbde (diff)
net/mlx5: Use irq_set_affinity_and_hint()
The driver uses irq_set_affinity_hint() to update the affinity_hint mask that is consumed by the userspace to distribute the interrupts and to apply the provided mask as the affinity for the mlx5 interrupts. However, irq_set_affinity_hint() applying the provided cpumask as an affinity for the interrupt is an undocumented side effect. To remove this side effect irq_set_affinity_hint() has been marked as deprecated and new interfaces have been introduced. Hence, replace the irq_set_affinity_hint() with the new interface irq_set_affinity_and_hint() where the provided mask needs to be applied as the affinity and affinity_hint pointer needs to be set and replace with irq_update_affinity_hint() where only affinity_hint needs to be updated. Signed-off-by: Nitesh Narayan Lal <nitesh@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Link: https://lore.kernel.org/r/20210903152430.244937-14-nitesh@redhat.com
Diffstat (limited to 'drivers/hid/hid-lg2ff.c')
0 files changed, 0 insertions, 0 deletions