Merge tag 'v5.3-rc8' into rdma.git for-next
[linux-2.6-block.git] / drivers / infiniband / core / cma.c
index a68d0ccf67a431f915822b1f943800c8c3655b8c..0e3cf34619992c7fa016040aa8ffd74c0145b5bd 100644 (file)
@@ -3046,7 +3046,7 @@ static void addr_handler(int status, struct sockaddr *src_addr,
                if (status)
                        pr_debug_ratelimited("RDMA CM: ADDR_ERROR: failed to acquire device. status %d\n",
                                             status);
-       } else {
+       } else if (status) {
                pr_debug_ratelimited("RDMA CM: ADDR_ERROR: failed to resolve IP. status %d\n", status);
        }