public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Cheng Xu <chengyou@linux.alibaba.com>
Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, KaiShen@linux.alibaba.com
Subject: Re: [PATCH for-next] RDMA/core: Fix missing MODULE_IMPORT_NS in ib_uverbs module
Date: Wed, 4 Mar 2026 12:42:03 +0200	[thread overview]
Message-ID: <20260304104203.GY12611@unreal> (raw)
In-Reply-To: <20260303031913.74708-1-chengyou@linux.alibaba.com>

On Tue, Mar 03, 2026 at 11:19:10AM +0800, Cheng Xu wrote:
> Compiling failed with the following messages:
> 
> <...>
>   CC [M]  drivers/infiniband/core/uverbs_std_types_dmabuf.o
>   LD [M]  drivers/infiniband/core/ib_uverbs.o
>   MODPOST Module.symvers
> ERROR: modpost: module ib_uverbs uses symbol dma_buf_move_notify from namespace DMA_BUF, but does not import it.
> ERROR: modpost: module ib_uverbs uses symbol dma_buf_phys_vec_to_sgt from namespace DMA_BUF, but does not import it.
> ERROR: modpost: module ib_uverbs uses symbol dma_buf_export from namespace DMA_BUF, but does not import it.
> ERROR: modpost: module ib_uverbs uses symbol dma_buf_free_sgt from namespace DMA_BUF, but does not import it.
> ERROR: modpost: module ib_uverbs uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
> make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1
> make[1]: *** [/opt/linux/Makefile:2051: modpost] Error 2
> make: *** [Makefile:248: __sub-make] Error 2
> 
> Add the missing MODULE_IMPORT_NS to fix it.
> 
> Fixes: 0ac6f4056c4a ("RDMA/uverbs: Add DMABUF object type and operations")
> Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
> ---
>  drivers/infiniband/core/uverbs_std_types_dmabuf.c | 2 ++
>  1 file changed, 2 insertions(+)

The same patch was already applied to Linus's master.
7c2889af8233 ("RDMA/uverbs: Import DMA-BUF module in uverbs_std_types_dmabuf file")
https://patch.msgid.link/20260225-fix-uverbs-compilation-v1-1-acf7b3d0f9fa@nvidia.com

Thanks

      reply	other threads:[~2026-03-04 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-03  3:19 [PATCH for-next] RDMA/core: Fix missing MODULE_IMPORT_NS in ib_uverbs module Cheng Xu
2026-03-04 10:42 ` Leon Romanovsky [this message]

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=20260304104203.GY12611@unreal \
    --to=leon@kernel.org \
    --cc=KaiShen@linux.alibaba.com \
    --cc=chengyou@linux.alibaba.com \
    --cc=jgg@ziepe.ca \
    --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