Skip to content

RDMA/core: Correct some coding-style issues

Weihang Li linux-rdma 2 versions – Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 5 repliesApplied
  2. v16 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Remove a BUG_ON in #3 and put the changes into a new patch.
- Drop the parts about spaces around xx_for_each_xx() from #4 because some
clang formatter prefer current style.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7RDMA/core: Print the function name by __func__ instead of an fixed stringdrivers/infiniband/core/ucma.c drivers/infiniband/core/umem.c drivers/infiniband/core/user_mad.c+15 -190 replies
2/7RDMA/core: Remove the redundant return statementsdrivers/infiniband/core/mad.c drivers/infiniband/core/sysfs.c+0 -30 replies
3/7RDMA/core: Add necessary spacesdrivers/infiniband/core/cm.c drivers/infiniband/core/cm_msgs.h drivers/infiniband/core/ucma.c+5 -50 replies
4/7RDMA/core: Remove redundant spacesdrivers/infiniband/core/cm.c drivers/infiniband/core/mad.c drivers/infiniband/core/mad_rmpp.c +3 more+45 -460 replies
5/7RDMA/core: Correct format of bracesdrivers/infiniband/core/cache.c drivers/infiniband/core/cm.c drivers/infiniband/core/cma.c +2 more+25 -280 replies
6/7RDMA/core: Correct format of block commentsdrivers/infiniband/core/cm.c drivers/infiniband/core/iwpm_msg.c drivers/infiniband/core/mad.c +1 more+8 -40 replies
7/7RDMA/core: Remove redundant BUG_ONdrivers/infiniband/core/iwcm.c+0 -12 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLeon Romanovsky
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 for-next 0/7] RDMA/core: Correct some coding-style issues

Do some cleanups according to the coding-style of kernel.

Changes since v1:
- Remove a BUG_ON in #3 and put the changes into a new patch.
- Drop the parts about spaces around xx_for_each_xx() from #4 because some
clang formatter prefer current style.
- Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

Weihang Li (1):
RDMA/core: Remove redundant BUG_ON

Wenpeng Liang (6):
RDMA/core: Print the function name by __func__ instead of an fixed
string
RDMA/core: Remove the redundant return statements RDMA/core: Add necessary spaces
RDMA/core: Remove redundant spaces
RDMA/core: Correct format of braces
RDMA/core: Correct format of block comments

 drivers/infiniband/core/cache.c      |  3 ++-
 drivers/infiniband/core/cm.c         | 39 ++++++++++++++++----------------
 drivers/infiniband/core/cm_msgs.h    |  4 ++--
 drivers/infiniband/core/cma.c        | 21 ++++++++++--------
 drivers/infiniband/core/iwcm.c       |  1 -
 drivers/infiniband/core/iwpm_msg.c   |  3 ++-
 drivers/infiniband/core/mad.c        | 43 ++++++++++++++++--------------------
 drivers/infiniband/core/mad_rmpp.c   | 10 ++++-----
 drivers/infiniband/core/sysfs.c      | 13 +++++------
 drivers/infiniband/core/ucma.c       |  8 +++----
 drivers/infiniband/core/umem.c       |  4 ++--
 drivers/infiniband/core/user_mad.c   | 30 +++++++++++--------------
 drivers/infiniband/core/uverbs_cmd.c | 22 +++++++++---------
 drivers/infiniband/core/verbs.c      |  3 ++-
 14 files changed, 98 insertions(+), 106 deletions(-)
Signature · 1 line
2.8.1