[PATCH v1 0/2] RDMA/netlink: cleanups

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

 



In order to make it easier to add new netlink attributes into the policy
array in the future while avoiding duplication, sort the array on the
attribute name.  While at it, audit the policy settings for strings and
make a few cleanups.

v0->v1: The first patch didn't contain the whitespace fixes, which made
the second patch much noisier than it should be.  Move all of the
whitespace and sorting changes to patch 1 with no functional changes,
and make patch 2 only have functional changes.

Doug Ledford (2):
  RDMA/netlink: Resort policy array
  RDMA/netlink: Audit policy settings for netlink attributes

 drivers/infiniband/core/nldev.c  | 159 ++++++++++++++++---------------
 include/uapi/rdma/rdma_netlink.h |   1 +
 2 files changed, 81 insertions(+), 79 deletions(-)

-- 
2.21.0




[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