> -----Original Message-----
> From: linux-rdma-ow...@vger.kernel.org <linux-rdma-
> ow...@vger.kernel.org> On Behalf Of Leon Romanovsky
> Sent: Wednesday, February 20, 2019 1:22 AM
> To: David Ahern <dsah...@gmail.com>
> Cc: Leon Romanovsky <leo...@mellanox.com>; netdev
> <netdev@vger.kernel.org>; RDMA mailing list <linux-
> r...@vger.kernel.org>; Stephen Hemminger
> <step...@networkplumber.org>
> Subject: [PATCH iproute2-next v1 17/19] rdma: Unify netlink attribute
checks
> prior to prints
>
> From: Leon Romanovsky <leo...@mellanox.com>
>
> Place check if netlink attribute available in general place,
> instead of doing the same check in many paces.
>
> Signed-off-by: Leon Romanovsky <leo...@mellanox.com>
> ---
> rdma/res-cmid.c | 9 ++++-----
> rdma/res-cq.c | 22 +++++++++++-----------
> rdma/res-mr.c | 21 +++++++--------------
> rdma/res-pd.c | 20 +++++++++-----------
> rdma/res-qp.c | 10 +++++-----
> rdma/res.c | 16 +++++++++++++---
> rdma/res.h | 6 ++++--
> 7 files changed, 53 insertions(+), 51 deletions(-)
Reviewed-by: Steve Wise <sw...@opengridcomputing.com>