linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 for-next 0/7] RDMA/core: Correct some coding-style issues
@ 2021-04-07  8:15 Weihang Li
  2021-04-07  8:15 ` [PATCH v2 for-next 1/7] RDMA/core: Print the function name by __func__ instead of an fixed string Weihang Li
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Weihang Li @ 2021-04-07  8:15 UTC (permalink / raw)
  To: dledford, jgg; +Cc: leon, linux-rdma, linuxarm, Weihang Li

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/1617697184-48683-1-git-send-email-liweihang@huawei.com/

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(-)

-- 
2.8.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-04-13  3:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07  8:15 [PATCH v2 for-next 0/7] RDMA/core: Correct some coding-style issues Weihang Li
2021-04-07  8:15 ` [PATCH v2 for-next 1/7] RDMA/core: Print the function name by __func__ instead of an fixed string Weihang Li
2021-04-07  8:15 ` [PATCH v2 for-next 2/7] RDMA/core: Remove the redundant return statements Weihang Li
2021-04-07  8:15 ` [PATCH v2 for-next 3/7] RDMA/core: Add necessary spaces Weihang Li
2021-04-07  8:15 ` [PATCH v2 for-next 4/7] RDMA/core: Remove redundant spaces Weihang Li
2021-04-07  8:15 ` [PATCH v2 for-next 5/7] RDMA/core: Correct format of braces Weihang Li
2021-04-07  8:15 ` [PATCH v2 for-next 6/7] RDMA/core: Correct format of block comments Weihang Li
2021-04-07  8:15 ` [PATCH v2 for-next 7/7] RDMA/core: Remove redundant BUG_ON Weihang Li
2021-04-12 17:51   ` Jason Gunthorpe
2021-04-13  3:46     ` liweihang
2021-04-07 12:26 ` [PATCH v2 for-next 0/7] RDMA/core: Correct some coding-style issues Leon Romanovsky
2021-04-12 17:59 ` Jason Gunthorpe
2021-04-13  2:37   ` liweihang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).