mbox series

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

Message ID cover.1560957168.git.dledford@redhat.com (mailing list archive)
Headers show
Series RDMA/netlink: cleanups | expand

Message

Doug Ledford June 19, 2019, 3:16 p.m. UTC
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(-)