Re: [PATCH 1/4] RDMA: Convert sysfs device * show functions to use sysfs_emit()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 07, 2020 at 07:36:24PM -0700, Joe Perches wrote:
> Done with cocci script:
.. 
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
>  drivers/infiniband/core/sysfs.c               | 47 +++++++++++--------
>  drivers/infiniband/core/ucma.c                |  2 +-
>  drivers/infiniband/core/user_mad.c            |  4 +-
>  drivers/infiniband/core/uverbs_main.c         |  4 +-
>  drivers/infiniband/hw/bnxt_re/main.c          |  4 +-
>  drivers/infiniband/hw/cxgb4/provider.c        | 10 ++--
>  drivers/infiniband/hw/hfi1/sysfs.c            | 16 +++----
>  drivers/infiniband/hw/i40iw/i40iw_verbs.c     |  6 +--
>  drivers/infiniband/hw/mlx4/main.c             |  8 ++--
>  drivers/infiniband/hw/mlx4/sysfs.c            | 30 ++++++------
>  drivers/infiniband/hw/mlx5/main.c             | 13 ++---
>  drivers/infiniband/hw/mthca/mthca_provider.c  | 14 +++---
>  drivers/infiniband/hw/ocrdma/ocrdma_main.c    |  4 +-
>  drivers/infiniband/hw/qedr/main.c             | 10 ++--
>  drivers/infiniband/hw/qib/qib_sysfs.c         | 30 ++++++------
>  drivers/infiniband/hw/usnic/usnic_ib_sysfs.c  | 16 +++----
>  .../infiniband/hw/vmw_pvrdma/pvrdma_main.c    |  6 +--
>  drivers/infiniband/sw/rxe/rxe_verbs.c         |  2 +-
>  drivers/infiniband/ulp/ipoib/ipoib_cm.c       |  4 +-
>  drivers/infiniband/ulp/ipoib/ipoib_main.c     |  7 +--
>  drivers/infiniband/ulp/ipoib/ipoib_vlan.c     |  2 +-
>  drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c  | 17 ++++---
>  drivers/infiniband/ulp/srp/ib_srp.c           | 41 ++++++++--------
>  23 files changed, 156 insertions(+), 141 deletions(-)

I didn't notice cocci getting any thing wrong here

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Will have to wait till rc1 though

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux