From ac6485df6927bc7fc4f17f2ab85738e94471801e Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 16 Nov 2020 03:54:37 +0000 Subject: [PATCH] ib_srpt: Port to Linux kernel v5.10 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9180 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/conftest/rdma_destroy_ah/rdma_destroy_ah.c | 1 - .../rdma_destroy_ah_with_flags/rdma_destroy_ah_with_flags.c | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/conftest/rdma_destroy_ah/rdma_destroy_ah.c b/srpt/conftest/rdma_destroy_ah/rdma_destroy_ah.c index fffc5d48b..fdbc74247 100644 --- a/srpt/conftest/rdma_destroy_ah/rdma_destroy_ah.c +++ b/srpt/conftest/rdma_destroy_ah/rdma_destroy_ah.c @@ -4,7 +4,6 @@ static int __init modinit(void) { return rdma_destroy_ah(NULL) != 0; - } module_init(modinit); diff --git a/srpt/conftest/rdma_destroy_ah_with_flags/rdma_destroy_ah_with_flags.c b/srpt/conftest/rdma_destroy_ah_with_flags/rdma_destroy_ah_with_flags.c index 1df996cf0..7616e2af7 100644 --- a/srpt/conftest/rdma_destroy_ah_with_flags/rdma_destroy_ah_with_flags.c +++ b/srpt/conftest/rdma_destroy_ah_with_flags/rdma_destroy_ah_with_flags.c @@ -3,8 +3,9 @@ static int __init modinit(void) { - return rdma_destroy_ah(NULL, 0) != 0; + rdma_destroy_ah(NULL, 0); + return 0; } module_init(modinit);