From: Tom Talpey <tom@talpey.com>
To: Jason Gunthorpe <jgg@nvidia.com>,
Leon Romanovsky <leonro@nvidia.com>,
Bernard Metzler <bmt@zurich.ibm.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: [PATCH] Add missing ib_uverbs dependency from SoftiWARP
Date: Wed, 7 Sep 2022 09:45:07 -0400 [thread overview]
Message-ID: <4e7574d7-960f-9f92-e92f-630287f1903f@talpey.com> (raw)
When loading the siw module, ib_uverbs is needed so that consumers may
access it. However, siw references only inline functions in ib_uverbs.h,
so the kernel linker can not detect this, and the module is not loaded
automatically. Add a module dependency to ensure ib_uverbs is present.
Signed-off-by: Tom Talpey <tom@talpey.com>
---
drivers/infiniband/sw/siw/siw_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/infiniband/sw/siw/siw_main.c
b/drivers/infiniband/sw/siw/siw_main.c
index dacc174604bf..372b37b18bac 100644
--- a/drivers/infiniband/sw/siw/siw_main.c
+++ b/drivers/infiniband/sw/siw/siw_main.c
@@ -628,3 +628,4 @@ module_init(siw_init_module);
module_exit(siw_exit_module);
MODULE_ALIAS_RDMA_LINK("siw");
+MODULE_SOFTDEP("ib_uverbs");
--
2.34.1
next reply other threads:[~2022-09-07 13:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-07 13:45 Tom Talpey [this message]
2022-09-07 13:51 ` [PATCH] Add missing ib_uverbs dependency from SoftiWARP Jason Gunthorpe
2022-09-07 13:57 ` Bernard Metzler
2022-09-07 13:57 ` Tom Talpey
2022-09-07 14:06 ` Jason Gunthorpe
2022-09-07 15:24 ` Tom Talpey
2022-09-07 16:48 ` Jason Gunthorpe
2022-09-07 17:54 ` Tom Talpey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4e7574d7-960f-9f92-e92f-630287f1903f@talpey.com \
--to=tom@talpey.com \
--cc=bmt@zurich.ibm.com \
--cc=jgg@nvidia.com \
--cc=leonro@nvidia.com \
--cc=linux-rdma@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox