]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/hfi1: Decouple IRQ name from type
authorGrzegorz Andrejczuk <grzegorz.andrejczuk@intel.com>
Mon, 6 Jan 2020 13:42:16 +0000 (08:42 -0500)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 10 Jan 2020 14:57:17 +0000 (10:57 -0400)
commit13d2a8384bd9b2dc3f737b19e3d74c845590e6eb
tree702394801a1bb74e2073cb0810c44708cfed353b
parent62661038c33b96ed949e751780a69f4d3608bad0
IB/hfi1: Decouple IRQ name from type

IRQ name was connected to IRQ type, this is not sufficient and it would be
better to use name as argument to msix_request_irq instead of assigning it
to variables when function is called.

Index argument was required to generate name and now it can be removed.

To generate name correctly helpers function were added and updated.

Link: https://lore.kernel.org/r/20200106134216.119356.44478.stgit@awfm-01.aw.intel.com
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Grzegorz Andrejczuk <grzegorz.andrejczuk@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/msix.c
drivers/infiniband/hw/hfi1/msix.h