]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
rdma: fix minor style issue
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 25 Sep 2025 16:36:24 +0000 (09:36 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 26 Sep 2025 17:51:24 +0000 (10:51 -0700)
Replace 'const char*' with 'const char *' to be consistent.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
rdma/res-qp.c

index a47225dff945f9cb7ad8eea78920919034cd0676..231ae99cdac38d5ab5df9904ad6a4b03f63a8189 100644 (file)
@@ -90,7 +90,7 @@ static int res_qp_line(struct rd *rd, const char *name, int idx,
 {
        uint32_t lqpn, rqpn = 0, rq_psn = 0, sq_psn;
        uint8_t type, state, path_mig_state = 0;
-       const charsub_type = NULL;
+       const char *sub_type = NULL;
        uint32_t port = 0, pid = 0;
        uint32_t pdn = 0;
        char *comm = NULL;