Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Yang Yingliang <yangyingliang@huawei.com>
To: <linux-rdma@vger.kernel.org>, <linux-hyperv@vger.kernel.org>
Cc: <longli@microsoft.com>, <jgg@nvidia.com>, <yangyingliang@huawei.com>
Subject: [PATCH -next] RDMA/mana_ib: change mana_ib_dev_ops to static
Date: Fri, 23 Sep 2022 22:48:09 +0800	[thread overview]
Message-ID: <20220923144809.108030-1-yangyingliang@huawei.com> (raw)

mana_ib_dev_ops is only used in device.c now, change it
to static.

Fixes: 6dce3468a04c ("RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 drivers/infiniband/hw/mana/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/mana/device.c b/drivers/infiniband/hw/mana/device.c
index c0a5a37583ff..4724af751f33 100644
--- a/drivers/infiniband/hw/mana/device.c
+++ b/drivers/infiniband/hw/mana/device.c
@@ -10,7 +10,7 @@ MODULE_DESCRIPTION("Microsoft Azure Network Adapter IB driver");
 MODULE_LICENSE("GPL");
 MODULE_IMPORT_NS(NET_MANA);
 
-const struct ib_device_ops mana_ib_dev_ops = {
+static const struct ib_device_ops mana_ib_dev_ops = {
 	.owner = THIS_MODULE,
 	.driver_id = RDMA_DRIVER_MANA,
 	.uverbs_abi_ver = MANA_IB_UVERBS_ABI_VERSION,
-- 
2.25.1


             reply	other threads:[~2022-09-23 14:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23 14:48 Yang Yingliang [this message]
2022-09-23 14:43 ` [PATCH -next] RDMA/mana_ib: change mana_ib_dev_ops to static Jason Gunthorpe
2022-09-23 18:08   ` Long Li

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=20220923144809.108030-1-yangyingliang@huawei.com \
    --to=yangyingliang@huawei.com \
    --cc=jgg@nvidia.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=longli@microsoft.com \
    /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