mbox series

[-next,0/4] RDMA: Simplify multiple create*_workqueue() invocations

Message ID 20240823101840.515398-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series RDMA: Simplify multiple create*_workqueue() invocations | expand

Message

Jinjie Ruan Aug. 23, 2024, 10:18 a.m. UTC
This patch series follows the SCSI patches of Bart, simplifies snprintf()
to format a workqueue name code by passing the format string and arguments
to alloc_workqueue().

Jinjie Ruan (4):
  RDMA/qib: Simplify an alloc_ordered_workqueue() invocation
  RDMA/mad: Simplify an alloc_ordered_workqueue() invocation
  RDMA/mlx4: Simplify an alloc_ordered_workqueue() invocation
  RDMA/mad: Simplify an alloc_ordered_workqueue() invocation

 drivers/infiniband/core/mad.c           |  5 ++---
 drivers/infiniband/hw/mlx4/alias_GUID.c |  4 +---
 drivers/infiniband/hw/mlx4/mad.c        | 10 +++-------
 drivers/infiniband/hw/qib/qib_init.c    |  9 +++------
 4 files changed, 9 insertions(+), 19 deletions(-)

Comments

Jason Gunthorpe Aug. 23, 2024, 2:39 p.m. UTC | #1
On Fri, Aug 23, 2024 at 06:18:36PM +0800, Jinjie Ruan wrote:
> This patch series follows the SCSI patches of Bart, simplifies snprintf()
> to format a workqueue name code by passing the format string and arguments
> to alloc_workqueue().
> 
> Jinjie Ruan (4):
>   RDMA/qib: Simplify an alloc_ordered_workqueue() invocation
>   RDMA/mad: Simplify an alloc_ordered_workqueue() invocation
>   RDMA/mlx4: Simplify an alloc_ordered_workqueue() invocation
>   RDMA/mad: Simplify an alloc_ordered_workqueue() invocation
> 
>  drivers/infiniband/core/mad.c           |  5 ++---
>  drivers/infiniband/hw/mlx4/alias_GUID.c |  4 +---
>  drivers/infiniband/hw/mlx4/mad.c        | 10 +++-------
>  drivers/infiniband/hw/qib/qib_init.c    |  9 +++------
>  4 files changed, 9 insertions(+), 19 deletions(-)

Applied to for-next

Thanks,
Jason