From 7ee5bc1873593cedd8cf448a48ae9694ae08cfe3 Mon Sep 17 00:00:00 2001 From: Jianshui Yu Date: Fri, 10 Nov 2023 13:50:21 +0800 Subject: [PATCH] fix fabtest build failure on Sles15 SP4 Signed-off-by: Jianshui Yu --- fabtests/component/dmabuf-rdma/mr-reg-xe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabtests/component/dmabuf-rdma/mr-reg-xe.c b/fabtests/component/dmabuf-rdma/mr-reg-xe.c index 42ff2ab557e..cc60a41907b 100644 --- a/fabtests/component/dmabuf-rdma/mr-reg-xe.c +++ b/fabtests/component/dmabuf-rdma/mr-reg-xe.c @@ -67,7 +67,7 @@ static struct ibv_context *context; static struct ibv_pd *pd; static struct ibv_mr *mr; -void *buf; +static void *buf; static int buf_fd; static size_t buf_size = 65536; static int buf_location = MALLOC;