]> git.ipfire.org Git - thirdparty/iproute2.git/commit
rdma: use print_XXX instead of COLOR_NONE
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 1 Jan 2024 18:46:30 +0000 (10:46 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 1 Jan 2024 18:46:30 +0000 (10:46 -0800)
commit9b578bbaded60b225dda39b7df4678831477bab7
treecf764ae38818570e0e162032ecc22aa923a658d0
parent8415b042f6fb2ab011dc82ad8a691931b6e51f8d
rdma: use print_XXX instead of COLOR_NONE

The rdma utility should be using same code pattern as rest of
iproute2. When printing, color should only be requested when
desired; if no color wanted, use the simpler print_XXX instead.

Fixes: b0a688a542cd ("rdma: Rewrite custom JSON and prints logic to use common API")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
rdma/dev.c
rdma/link.c
rdma/res-cmid.c
rdma/res-cq.c
rdma/res-qp.c
rdma/res-srq.c
rdma/res.c
rdma/stat.c
rdma/sys.c
rdma/utils.c