public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the vfio tree
@ 2020-10-13  3:07 Stephen Rothwell
  2020-10-13 15:56 ` Diana Craciun OSS
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2020-10-13  3:07 UTC (permalink / raw)
  To: Alex Williamson
  Cc: Diana Craciun, Bharat Bhushan, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

Hi all,

After merging the vfio tree, today's linux-next build (x86_64
allmodconfig) failed like this:


Caused by commit

  cc0ee20bd969 ("vfio/fsl-mc: trigger an interrupt via eventfd")
  ac93ab2bf69a ("vfio/fsl-mc: Add support for device reset")

I have used the vfio tree from next-20201012 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2020-10-13  3:07 linux-next: build failure after merge of the vfio tree Stephen Rothwell
@ 2020-10-13 15:56 ` Diana Craciun OSS
  2020-10-13 19:20   ` Alex Williamson
  2020-10-13 22:16   ` Stephen Rothwell
  0 siblings, 2 replies; 11+ messages in thread
From: Diana Craciun OSS @ 2020-10-13 15:56 UTC (permalink / raw)
  To: Stephen Rothwell, Alex Williamson
  Cc: Bharat Bhushan, Linux Kernel Mailing List,
	Linux Next Mailing List

Hi,

How does it fail? What's the error?

Thanks,
Diana


On 10/13/2020 6:07 AM, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the vfio tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> 
> Caused by commit
> 
>    cc0ee20bd969 ("vfio/fsl-mc: trigger an interrupt via eventfd")
>    ac93ab2bf69a ("vfio/fsl-mc: Add support for device reset")
> 
> I have used the vfio tree from next-20201012 for today.
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2020-10-13 15:56 ` Diana Craciun OSS
@ 2020-10-13 19:20   ` Alex Williamson
  2020-10-15  0:59     ` Stephen Rothwell
  2020-10-13 22:16   ` Stephen Rothwell
  1 sibling, 1 reply; 11+ messages in thread
From: Alex Williamson @ 2020-10-13 19:20 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Diana Craciun OSS, Bharat Bhushan, Linux Kernel Mailing List,
	Linux Next Mailing List

On Tue, 13 Oct 2020 18:56:07 +0300
Diana Craciun OSS <diana.craciun@oss.nxp.com> wrote:

> Hi,
> 
> How does it fail? What's the error?
> 
> Thanks,
> Diana
> 
> 
> On 10/13/2020 6:07 AM, Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the vfio tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> > 
> > 
> > Caused by commit
> > 
> >    cc0ee20bd969 ("vfio/fsl-mc: trigger an interrupt via eventfd")
> >    ac93ab2bf69a ("vfio/fsl-mc: Add support for device reset")
> > 
> > I have used the vfio tree from next-20201012 for today.

Thanks, Stephen.  Diana has posted a 32bit build fix which I've merged,
maybe that was the error.  Also Diana's series in my branch is currently
dependent on fsl-bus support in GregKH's char-misc-next branch.  Looking
at the log from the successful build, I wonder if our branches are just
in the wrong order (vfio/next processed on line 341, char-misc-next
processed on 387).  I don't know if you regularly re-order for this
sort of thing, otherwise it should work out when Greg's branch gets
merged, but testing sooner in next would be preferred.  Thanks,

Alex


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2020-10-13 15:56 ` Diana Craciun OSS
  2020-10-13 19:20   ` Alex Williamson
@ 2020-10-13 22:16   ` Stephen Rothwell
  2020-10-14 13:43     ` Diana Craciun OSS
  1 sibling, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2020-10-13 22:16 UTC (permalink / raw)
  To: Diana Craciun OSS
  Cc: Alex Williamson, Bharat Bhushan, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 3855 bytes --]

Hi Diana,

On Tue, 13 Oct 2020 18:56:07 +0300 Diana Craciun OSS <diana.craciun@oss.nxp.com> wrote:
>
> Hi,
> 
> How does it fail? What's the error?

Sorry about that:

drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c: In function 'vfio_fsl_mc_set_irq_trigger':
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:121:8: error: implicit declaration of function 'fsl_mc_populate_irq_pool' [-Werror=implicit-function-declaration]
  121 |  ret = fsl_mc_populate_irq_pool(mc_cont,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:122:4: error: 'FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS' undeclared (first use in this function)
  122 |    FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_release':
drivers/vfio/fsl-mc/vfio_fsl_mc.c:178:9: error: implicit declaration of function 'dprc_reset_container' [-Werror=implicit-function-declaration]
  178 |   ret = dprc_reset_container(mc_cont->mc_io, 0,
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c:181:6: error: 'DPRC_RESET_OPTION_NON_RECURSIVE' undeclared (first use in this function)
  181 |      DPRC_RESET_OPTION_NON_RECURSIVE);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c:181:6: note: each undeclared identifier is reported only once for each function it appears in
drivers/vfio/fsl-mc/vfio_fsl_mc.c:191:3: error: implicit declaration of function 'fsl_mc_cleanup_irq_pool' [-Werror=implicit-function-declaration]
  191 |   fsl_mc_cleanup_irq_pool(mc_cont);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_ioctl':
drivers/vfio/fsl-mc/vfio_fsl_mc.c:316:9: error: 'DPRC_RESET_OPTION_NON_RECURSIVE' undeclared (first use in this function)
  316 |         DPRC_RESET_OPTION_NON_RECURSIVE);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_mmap_mmio':
drivers/vfio/fsl-mc/vfio_fsl_mc.c:455:36: error: 'FSL_MC_REGION_CACHEABLE' undeclared (first use in this function)
  455 |  region_cacheable = (region.type & FSL_MC_REGION_CACHEABLE) &&
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c:456:22: error: 'FSL_MC_REGION_SHAREABLE' undeclared (first use in this function)
  456 |       (region.type & FSL_MC_REGION_SHAREABLE);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_bus_notifier':
drivers/vfio/fsl-mc/vfio_fsl_mc.c:522:9: error: 'struct fsl_mc_device' has no member named 'driver_override'
  522 |   mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s",
      |         ^~
drivers/vfio/fsl-mc/vfio_fsl_mc.c:524:14: error: 'struct fsl_mc_device' has no member named 'driver_override'
  524 |   if (!mc_dev->driver_override)
      |              ^~
drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_init_device':
drivers/vfio/fsl-mc/vfio_fsl_mc.c:561:8: error: implicit declaration of function 'dprc_setup' [-Werror=implicit-function-declaration]
  561 |  ret = dprc_setup(mc_dev);
      |        ^~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c:567:8: error: implicit declaration of function 'dprc_scan_container' [-Werror=implicit-function-declaration]
  567 |  ret = dprc_scan_container(mc_dev, false);
      |        ^~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c:576:2: error: implicit declaration of function 'dprc_remove_devices' [-Werror=implicit-function-declaration]
  576 |  dprc_remove_devices(mc_dev, NULL, 0);
      |  ^~~~~~~~~~~~~~~~~~~
drivers/vfio/fsl-mc/vfio_fsl_mc.c:577:2: error: implicit declaration of function 'dprc_cleanup' [-Werror=implicit-function-declaration]
  577 |  dprc_cleanup(mc_dev);
      |  ^~~~~~~~~~~~

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2020-10-13 22:16   ` Stephen Rothwell
@ 2020-10-14 13:43     ` Diana Craciun OSS
  0 siblings, 0 replies; 11+ messages in thread
From: Diana Craciun OSS @ 2020-10-14 13:43 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Alex Williamson, Bharat Bhushan, Linux Kernel Mailing List,
	Linux Next Mailing List

Thank you. The errors indicate that, most likely, the fsl-mc-bus patches 
from char-misc-next are missing at this point. I have added the vfio 
patches on top of linux-next (which already contains the fsl-mc-bus 
patches) and built x86_64 allmodconfig. There were no errors.

Thanks,
Diana

On 10/14/2020 1:16 AM, Stephen Rothwell wrote:
> Hi Diana,
> 
> On Tue, 13 Oct 2020 18:56:07 +0300 Diana Craciun OSS <diana.craciun@oss.nxp.com> wrote:
>>
>> Hi,
>>
>> How does it fail? What's the error?
> 
> Sorry about that:
> 
> drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c: In function 'vfio_fsl_mc_set_irq_trigger':
> drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:121:8: error: implicit declaration of function 'fsl_mc_populate_irq_pool' [-Werror=implicit-function-declaration]
>    121 |  ret = fsl_mc_populate_irq_pool(mc_cont,
>        |        ^~~~~~~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:122:4: error: 'FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS' undeclared (first use in this function)
>    122 |    FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS);
>        |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_release':
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:178:9: error: implicit declaration of function 'dprc_reset_container' [-Werror=implicit-function-declaration]
>    178 |   ret = dprc_reset_container(mc_cont->mc_io, 0,
>        |         ^~~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:181:6: error: 'DPRC_RESET_OPTION_NON_RECURSIVE' undeclared (first use in this function)
>    181 |      DPRC_RESET_OPTION_NON_RECURSIVE);
>        |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:181:6: note: each undeclared identifier is reported only once for each function it appears in
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:191:3: error: implicit declaration of function 'fsl_mc_cleanup_irq_pool' [-Werror=implicit-function-declaration]
>    191 |   fsl_mc_cleanup_irq_pool(mc_cont);
>        |   ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_ioctl':
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:316:9: error: 'DPRC_RESET_OPTION_NON_RECURSIVE' undeclared (first use in this function)
>    316 |         DPRC_RESET_OPTION_NON_RECURSIVE);
>        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_mmap_mmio':
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:455:36: error: 'FSL_MC_REGION_CACHEABLE' undeclared (first use in this function)
>    455 |  region_cacheable = (region.type & FSL_MC_REGION_CACHEABLE) &&
>        |                                    ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:456:22: error: 'FSL_MC_REGION_SHAREABLE' undeclared (first use in this function)
>    456 |       (region.type & FSL_MC_REGION_SHAREABLE);
>        |                      ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_bus_notifier':
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:522:9: error: 'struct fsl_mc_device' has no member named 'driver_override'
>    522 |   mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s",
>        |         ^~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:524:14: error: 'struct fsl_mc_device' has no member named 'driver_override'
>    524 |   if (!mc_dev->driver_override)
>        |              ^~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_init_device':
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:561:8: error: implicit declaration of function 'dprc_setup' [-Werror=implicit-function-declaration]
>    561 |  ret = dprc_setup(mc_dev);
>        |        ^~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:567:8: error: implicit declaration of function 'dprc_scan_container' [-Werror=implicit-function-declaration]
>    567 |  ret = dprc_scan_container(mc_dev, false);
>        |        ^~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:576:2: error: implicit declaration of function 'dprc_remove_devices' [-Werror=implicit-function-declaration]
>    576 |  dprc_remove_devices(mc_dev, NULL, 0);
>        |  ^~~~~~~~~~~~~~~~~~~
> drivers/vfio/fsl-mc/vfio_fsl_mc.c:577:2: error: implicit declaration of function 'dprc_cleanup' [-Werror=implicit-function-declaration]
>    577 |  dprc_cleanup(mc_dev);
>        |  ^~~~~~~~~~~~
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2020-10-13 19:20   ` Alex Williamson
@ 2020-10-15  0:59     ` Stephen Rothwell
  2020-10-15  2:21       ` Alex Williamson
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2020-10-15  0:59 UTC (permalink / raw)
  To: Alex Williamson
  Cc: Diana Craciun OSS, Bharat Bhushan, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

Hi Alex,

On Tue, 13 Oct 2020 13:20:16 -0600 Alex Williamson <alex.williamson@redhat.com> wrote:
>
> Thanks, Stephen.  Diana has posted a 32bit build fix which I've merged,
> maybe that was the error.  Also Diana's series in my branch is currently
> dependent on fsl-bus support in GregKH's char-misc-next branch.  Looking
> at the log from the successful build, I wonder if our branches are just
> in the wrong order (vfio/next processed on line 341, char-misc-next
> processed on 387).  I don't know if you regularly re-order for this
> sort of thing, otherwise it should work out when Greg's branch gets
> merged, but testing sooner in next would be preferred.

I have put the vfio tree after the char-misc tree today (so hopefully
it will build).  The proper way to do this is for you and Greg to have
a shared branch with the commits you both depend on and bot merge that
branch.  That way, it doesn't matter what order the tress are merged
(by me or Linus).

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2020-10-15  0:59     ` Stephen Rothwell
@ 2020-10-15  2:21       ` Alex Williamson
  0 siblings, 0 replies; 11+ messages in thread
From: Alex Williamson @ 2020-10-15  2:21 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Diana Craciun OSS, Bharat Bhushan, Linux Kernel Mailing List,
	Linux Next Mailing List

On Thu, 15 Oct 2020 11:59:03 +1100
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Alex,
> 
> On Tue, 13 Oct 2020 13:20:16 -0600 Alex Williamson <alex.williamson@redhat.com> wrote:
> >
> > Thanks, Stephen.  Diana has posted a 32bit build fix which I've merged,
> > maybe that was the error.  Also Diana's series in my branch is currently
> > dependent on fsl-bus support in GregKH's char-misc-next branch.  Looking
> > at the log from the successful build, I wonder if our branches are just
> > in the wrong order (vfio/next processed on line 341, char-misc-next
> > processed on 387).  I don't know if you regularly re-order for this
> > sort of thing, otherwise it should work out when Greg's branch gets
> > merged, but testing sooner in next would be preferred.  
> 
> I have put the vfio tree after the char-misc tree today (so hopefully
> it will build).  The proper way to do this is for you and Greg to have
> a shared branch with the commits you both depend on and bot merge that
> branch.  That way, it doesn't matter what order the tress are merged
> (by me or Linus).

Hi Stephen,

Well that seems like the obviously correct solution in retrospect ;)
thanks for the explanation.  I'll check-in with Greg to see if his pull
request is imminent or we can share a branch.  Thanks,

Alex


^ permalink raw reply	[flat|nested] 11+ messages in thread

* linux-next: build failure after merge of the vfio tree
@ 2026-02-09  2:07 Mark Brown
  2026-02-09  2:42 ` Mark Brown
  2026-02-09  6:30 ` Leon Romanovsky
  0 siblings, 2 replies; 11+ messages in thread
From: Mark Brown @ 2026-02-09  2:07 UTC (permalink / raw)
  To: Alex Williamson, Leon Romanovsky
  Cc: Kevin Tian, Jason Gunthorpe, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 16117 bytes --]

Hi all,

After merging the vfio tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from /tmp/next/build/include/rdma/ib_addr.h:21,
                 from /tmp/next/build/include/rdma/rdma_cm.h:12,
                 from /tmp/next/build/drivers/block/rnbd/rnbd-clt-sysfs.c:22:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/block/rnbd/rnbd-clt-sysfs.o] Error 1
make[6]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/smack/smack.h:22,
                 from /tmp/next/build/security/smack/smack_netfilter.c:19:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_netfilter.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/smack/smack.h:22,
                 from /tmp/next/build/security/smack/smack_access.c:13:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_access.o] Error 1
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/selinux/include/avc.h:18,
                 from /tmp/next/build/security/selinux/avc.c:30:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/avc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers/block/rnbd] Error 2
make[5]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/smack/smack.h:22,
                 from /tmp/next/build/security/smack/smackfs.c:28:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smackfs.o] Error 1
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/selinux/include/avc.h:18,
                 from /tmp/next/build/security/selinux/selinuxfs.c:41:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/selinuxfs.o] Error 1
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/smack/smack.h:22,
                 from /tmp/next/build/security/smack/smack_lsm.c:47:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_lsm.o] Error 1
make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/smack] Error 2
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers/block] Error 2
make[4]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/lsm_audit.c:28:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [/tmp/next/build/scripts/Makefile.build:289: security/lsm_audit.o] Error 1
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/apparmor/include/audit.h:16,
                 from /tmp/next/build/security/apparmor/audit.c:15:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/audit.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/apparmor/include/audit.h:16,
                 from /tmp/next/build/security/apparmor/include/policy.h:23,
                 from /tmp/next/build/security/apparmor/include/policy_ns.h:19,
                 from /tmp/next/build/security/apparmor/include/cred.h:19,
                 from /tmp/next/build/security/apparmor/capability.c:19:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/capability.o] Error 1
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/apparmor/include/audit.h:16,
                 from /tmp/next/build/security/apparmor/task.c:19:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/task.o] Error 1
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/selinux/include/avc.h:18,
                 from /tmp/next/build/security/selinux/hooks.c:99:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/hooks.o] Error 1
make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/selinux] Error 2
In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
                 from /tmp/next/build/security/apparmor/include/audit.h:16,
                 from /tmp/next/build/security/apparmor/apparmorfs.c:30:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/apparmorfs.o] Error 1
make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/apparmor] Error 2
In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
                 from /tmp/next/build/net/devlink/core.c:11:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/core.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
                 from /tmp/next/build/net/devlink/netlink.c:10:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/netlink.o] Error 1
In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
                 from /tmp/next/build/net/devlink/dev.c:10:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/dev.o] Error 1
make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: net/devlink] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: security] Error 2
make[3]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/lib/dynamic_debug.c:40:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [/tmp/next/build/scripts/Makefile.build:289: lib/dynamic_debug.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
                 from /tmp/next/build/fs/smb/client/cifs_debug.c:25:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/cifs_debug.o] Error 1
make[6]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
                 from /tmp/next/build/fs/smb/client/connect.c:45:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/connect.o] Error 1
In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
                 from /tmp/next/build/fs/smb/client/file.c:35:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/file.o] Error 1
make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb/client] Error 2
make[5]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/fs/smb/server/transport_rdma.c:18:
/tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 2509 |                              struct dma_buf_phys_vec *phys_vec,
      |                                     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/server/transport_rdma.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb/server] Error 2
make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: lib] Error 2
make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: net] Error 2
make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: fs] Error 2
make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers] Error 2
make[2]: *** [/tmp/next/build/Makefile:2086: .] Error 2
make[1]: *** [/tmp/next/build/Makefile:248: __sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2
Command exited with non-zero status 2
9192.96user 710.88system 1:31.98elapsed 10766%CPU (0avgtext+0avgdata 1476624maxresident)k
0inputs+0outputs (2743major+125416372minor)pagefaults 0swaps

Caused by commit

  b703b31ea8cd22 (types: reuse common phys_vec type instead of DMABUF open‑coded variant)

interacting with commit:

  e6738fe6cad448 (RDMA/uverbs: Add DMABUF object type and operations)

from the rdma tree.  I have reverted the latter commit (it being the new
one), really a semantic fixup should be applied - I will try to revisit
tomorrow.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2026-02-09  2:07 Mark Brown
@ 2026-02-09  2:42 ` Mark Brown
  2026-02-09  9:46   ` Edward Srouji
  2026-02-09  6:30 ` Leon Romanovsky
  1 sibling, 1 reply; 11+ messages in thread
From: Mark Brown @ 2026-02-09  2:42 UTC (permalink / raw)
  To: Alex Williamson, Leon Romanovsky
  Cc: Kevin Tian, Jason Gunthorpe, Linux Kernel Mailing List,
	Linux Next Mailing List, Yishai Hadas, Edward Srouji

[-- Attachment #1: Type: text/plain, Size: 16717 bytes --]

On Mon, Feb 09, 2026 at 02:07:15AM +0000, Mark Brown wrote:
> Hi all,
> 
> After merging the vfio tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> In file included from /tmp/next/build/include/rdma/ib_addr.h:21,
>                  from /tmp/next/build/include/rdma/rdma_cm.h:12,
>                  from /tmp/next/build/drivers/block/rnbd/rnbd-clt-sysfs.c:22:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/block/rnbd/rnbd-clt-sysfs.o] Error 1
> make[6]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/smack/smack.h:22,
>                  from /tmp/next/build/security/smack/smack_netfilter.c:19:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_netfilter.o] Error 1
> make[5]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/smack/smack.h:22,
>                  from /tmp/next/build/security/smack/smack_access.c:13:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_access.o] Error 1
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/selinux/include/avc.h:18,
>                  from /tmp/next/build/security/selinux/avc.c:30:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/avc.o] Error 1
> make[5]: *** Waiting for unfinished jobs....
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers/block/rnbd] Error 2
> make[5]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/smack/smack.h:22,
>                  from /tmp/next/build/security/smack/smackfs.c:28:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smackfs.o] Error 1
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/selinux/include/avc.h:18,
>                  from /tmp/next/build/security/selinux/selinuxfs.c:41:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/selinuxfs.o] Error 1
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/smack/smack.h:22,
>                  from /tmp/next/build/security/smack/smack_lsm.c:47:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_lsm.o] Error 1
> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/smack] Error 2
> make[4]: *** Waiting for unfinished jobs....
> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers/block] Error 2
> make[4]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/lsm_audit.c:28:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[4]: *** [/tmp/next/build/scripts/Makefile.build:289: security/lsm_audit.o] Error 1
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/apparmor/include/audit.h:16,
>                  from /tmp/next/build/security/apparmor/audit.c:15:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/audit.o] Error 1
> make[5]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/apparmor/include/audit.h:16,
>                  from /tmp/next/build/security/apparmor/include/policy.h:23,
>                  from /tmp/next/build/security/apparmor/include/policy_ns.h:19,
>                  from /tmp/next/build/security/apparmor/include/cred.h:19,
>                  from /tmp/next/build/security/apparmor/capability.c:19:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/capability.o] Error 1
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/apparmor/include/audit.h:16,
>                  from /tmp/next/build/security/apparmor/task.c:19:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/task.o] Error 1
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/selinux/include/avc.h:18,
>                  from /tmp/next/build/security/selinux/hooks.c:99:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/hooks.o] Error 1
> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/selinux] Error 2
> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>                  from /tmp/next/build/security/apparmor/include/audit.h:16,
>                  from /tmp/next/build/security/apparmor/apparmorfs.c:30:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/apparmorfs.o] Error 1
> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/apparmor] Error 2
> In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
>                  from /tmp/next/build/net/devlink/core.c:11:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/core.o] Error 1
> make[5]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
>                  from /tmp/next/build/net/devlink/netlink.c:10:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/netlink.o] Error 1
> In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
>                  from /tmp/next/build/net/devlink/dev.c:10:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/dev.o] Error 1
> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: net/devlink] Error 2
> make[4]: *** Waiting for unfinished jobs....
> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: security] Error 2
> make[3]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/lib/dynamic_debug.c:40:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[4]: *** [/tmp/next/build/scripts/Makefile.build:289: lib/dynamic_debug.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
>                  from /tmp/next/build/fs/smb/client/cifs_debug.c:25:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/cifs_debug.o] Error 1
> make[6]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
>                  from /tmp/next/build/fs/smb/client/connect.c:45:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/connect.o] Error 1
> In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
>                  from /tmp/next/build/fs/smb/client/file.c:35:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/file.o] Error 1
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb/client] Error 2
> make[5]: *** Waiting for unfinished jobs....
> In file included from /tmp/next/build/fs/smb/server/transport_rdma.c:18:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/server/transport_rdma.o] Error 1
> make[6]: *** Waiting for unfinished jobs....
> make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb/server] Error 2
> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb] Error 2
> make[4]: *** Waiting for unfinished jobs....
> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: lib] Error 2
> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: net] Error 2
> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: fs] Error 2
> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers] Error 2
> make[2]: *** [/tmp/next/build/Makefile:2086: .] Error 2
> make[1]: *** [/tmp/next/build/Makefile:248: __sub-make] Error 2
> make: *** [Makefile:248: __sub-make] Error 2
> Command exited with non-zero status 2
> 9192.96user 710.88system 1:31.98elapsed 10766%CPU (0avgtext+0avgdata 1476624maxresident)k
> 0inputs+0outputs (2743major+125416372minor)pagefaults 0swaps
> 
> Caused by commit
> 
>   b703b31ea8cd22 (types: reuse common phys_vec type instead of DMABUF open‑coded variant)
> 
> interacting with commit:
> 
>   e6738fe6cad448 (RDMA/uverbs: Add DMABUF object type and operations)
> 
> from the rdma tree.  I have reverted the latter commit (it being the new
> one), really a semantic fixup should be applied - I will try to revisit
> tomorrow.

Actually, no - just no -next today since stuff seems to go wrong with
that revert.  I will try again tomorrow.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 484 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2026-02-09  2:07 Mark Brown
  2026-02-09  2:42 ` Mark Brown
@ 2026-02-09  6:30 ` Leon Romanovsky
  1 sibling, 0 replies; 11+ messages in thread
From: Leon Romanovsky @ 2026-02-09  6:30 UTC (permalink / raw)
  To: Mark Brown
  Cc: Alex Williamson, Kevin Tian, Jason Gunthorpe,
	Linux Kernel Mailing List, Linux Next Mailing List

On Mon, Feb 09, 2026 at 02:07:15AM +0000, Mark Brown wrote:
> Hi all,
> 
> After merging the vfio tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
> 
> In file included from /tmp/next/build/include/rdma/ib_addr.h:21,
>                  from /tmp/next/build/include/rdma/rdma_cm.h:12,
>                  from /tmp/next/build/drivers/block/rnbd/rnbd-clt-sysfs.c:22:
> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>  2509 |                              struct dma_buf_phys_vec *phys_vec,
>       |                                     ^~~~~~~~~~~~~~~~

<...>

> Caused by commit
> 
>   b703b31ea8cd22 (types: reuse common phys_vec type instead of DMABUF open‑coded variant)
> 
> interacting with commit:
> 
>   e6738fe6cad448 (RDMA/uverbs: Add DMABUF object type and operations)
> 
> from the rdma tree.  I have reverted the latter commit (it being the new
> one), really a semantic fixup should be applied - I will try to revisit
> tomorrow.

Thanks for the report. I had forgotten to merge Alex's
common_phys_vec_via_vfio tag. This is corrected now.

Thanks




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: linux-next: build failure after merge of the vfio tree
  2026-02-09  2:42 ` Mark Brown
@ 2026-02-09  9:46   ` Edward Srouji
  0 siblings, 0 replies; 11+ messages in thread
From: Edward Srouji @ 2026-02-09  9:46 UTC (permalink / raw)
  To: Mark Brown, Alex Williamson, Leon Romanovsky
  Cc: Kevin Tian, Jason Gunthorpe, Linux Kernel Mailing List,
	Linux Next Mailing List, Yishai Hadas


On 2/9/2026 4:42 AM, Mark Brown wrote:
> On Mon, Feb 09, 2026 at 02:07:15AM +0000, Mark Brown wrote:
>> Hi all,
>>
>> After merging the vfio tree, today's linux-next build (x86_64 allmodconfig)
>> failed like this:
>>
>> In file included from /tmp/next/build/include/rdma/ib_addr.h:21,
>>                   from /tmp/next/build/include/rdma/rdma_cm.h:12,
>>                   from /tmp/next/build/drivers/block/rnbd/rnbd-clt-sysfs.c:22:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drivers/block/rnbd/rnbd-clt-sysfs.o] Error 1
>> make[6]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/smack/smack.h:22,
>>                   from /tmp/next/build/security/smack/smack_netfilter.c:19:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_netfilter.o] Error 1
>> make[5]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/smack/smack.h:22,
>>                   from /tmp/next/build/security/smack/smack_access.c:13:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_access.o] Error 1
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/selinux/include/avc.h:18,
>>                   from /tmp/next/build/security/selinux/avc.c:30:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/avc.o] Error 1
>> make[5]: *** Waiting for unfinished jobs....
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers/block/rnbd] Error 2
>> make[5]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/smack/smack.h:22,
>>                   from /tmp/next/build/security/smack/smackfs.c:28:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smackfs.o] Error 1
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/selinux/include/avc.h:18,
>>                   from /tmp/next/build/security/selinux/selinuxfs.c:41:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/selinuxfs.o] Error 1
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/smack/smack.h:22,
>>                   from /tmp/next/build/security/smack/smack_lsm.c:47:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/smack/smack_lsm.o] Error 1
>> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/smack] Error 2
>> make[4]: *** Waiting for unfinished jobs....
>> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers/block] Error 2
>> make[4]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/lsm_audit.c:28:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[4]: *** [/tmp/next/build/scripts/Makefile.build:289: security/lsm_audit.o] Error 1
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/apparmor/include/audit.h:16,
>>                   from /tmp/next/build/security/apparmor/audit.c:15:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/audit.o] Error 1
>> make[5]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/apparmor/include/audit.h:16,
>>                   from /tmp/next/build/security/apparmor/include/policy.h:23,
>>                   from /tmp/next/build/security/apparmor/include/policy_ns.h:19,
>>                   from /tmp/next/build/security/apparmor/include/cred.h:19,
>>                   from /tmp/next/build/security/apparmor/capability.c:19:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/capability.o] Error 1
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/apparmor/include/audit.h:16,
>>                   from /tmp/next/build/security/apparmor/task.c:19:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/task.o] Error 1
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/selinux/include/avc.h:18,
>>                   from /tmp/next/build/security/selinux/hooks.c:99:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/selinux/hooks.o] Error 1
>> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/selinux] Error 2
>> In file included from /tmp/next/build/include/linux/lsm_audit.h:25,
>>                   from /tmp/next/build/security/apparmor/include/audit.h:16,
>>                   from /tmp/next/build/security/apparmor/apparmorfs.c:30:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: security/apparmor/apparmorfs.o] Error 1
>> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: security/apparmor] Error 2
>> In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
>>                   from /tmp/next/build/net/devlink/core.c:11:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/core.o] Error 1
>> make[5]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
>>                   from /tmp/next/build/net/devlink/netlink.c:10:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/netlink.o] Error 1
>> In file included from /tmp/next/build/net/devlink/devl_internal.h:17,
>>                   from /tmp/next/build/net/devlink/dev.c:10:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:289: net/devlink/dev.o] Error 1
>> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: net/devlink] Error 2
>> make[4]: *** Waiting for unfinished jobs....
>> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: security] Error 2
>> make[3]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/lib/dynamic_debug.c:40:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[4]: *** [/tmp/next/build/scripts/Makefile.build:289: lib/dynamic_debug.o] Error 1
>> make[4]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
>>                   from /tmp/next/build/fs/smb/client/cifs_debug.c:25:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/cifs_debug.o] Error 1
>> make[6]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
>>                   from /tmp/next/build/fs/smb/client/connect.c:45:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/connect.o] Error 1
>> In file included from /tmp/next/build/fs/smb/client/smbdirect.h:14,
>>                   from /tmp/next/build/fs/smb/client/file.c:35:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/client/file.o] Error 1
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb/client] Error 2
>> make[5]: *** Waiting for unfinished jobs....
>> In file included from /tmp/next/build/fs/smb/server/transport_rdma.c:18:
>> /tmp/next/build/include/rdma/ib_verbs.h:2509:37: error: 'struct dma_buf_phys_vec' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>>   2509 |                              struct dma_buf_phys_vec *phys_vec,
>>        |                                     ^~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: fs/smb/server/transport_rdma.o] Error 1
>> make[6]: *** Waiting for unfinished jobs....
>> make[5]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb/server] Error 2
>> make[4]: *** [/tmp/next/build/scripts/Makefile.build:546: fs/smb] Error 2
>> make[4]: *** Waiting for unfinished jobs....
>> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: lib] Error 2
>> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: net] Error 2
>> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: fs] Error 2
>> make[3]: *** [/tmp/next/build/scripts/Makefile.build:546: drivers] Error 2
>> make[2]: *** [/tmp/next/build/Makefile:2086: .] Error 2
>> make[1]: *** [/tmp/next/build/Makefile:248: __sub-make] Error 2
>> make: *** [Makefile:248: __sub-make] Error 2
>> Command exited with non-zero status 2
>> 9192.96user 710.88system 1:31.98elapsed 10766%CPU (0avgtext+0avgdata 1476624maxresident)k
>> 0inputs+0outputs (2743major+125416372minor)pagefaults 0swaps
>>
>> Caused by commit
>>
>>    b703b31ea8cd22 (types: reuse common phys_vec type instead of DMABUF open‑coded variant)
>>
>> interacting with commit:
>>
>>    e6738fe6cad448 (RDMA/uverbs: Add DMABUF object type and operations)
>>
>> from the rdma tree.  I have reverted the latter commit (it being the new
>> one), really a semantic fixup should be applied - I will try to revisit
>> tomorrow.
> Actually, no - just no -next today since stuff seems to go wrong with
> that revert.  I will try again tomorrow.

The latter commit needs to be adjusted - not reverted.
As the first commit that came from VFIO suggests, "struct phys_vec" is 
used instead of "struct dma_buf_phys_vec".
Similarly, need to replace the usage of this struct in the latter patch 
(this should be the only adjustment).


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-02-09  9:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-13  3:07 linux-next: build failure after merge of the vfio tree Stephen Rothwell
2020-10-13 15:56 ` Diana Craciun OSS
2020-10-13 19:20   ` Alex Williamson
2020-10-15  0:59     ` Stephen Rothwell
2020-10-15  2:21       ` Alex Williamson
2020-10-13 22:16   ` Stephen Rothwell
2020-10-14 13:43     ` Diana Craciun OSS
  -- strict thread matches above, loose matches on Subject: below --
2026-02-09  2:07 Mark Brown
2026-02-09  2:42 ` Mark Brown
2026-02-09  9:46   ` Edward Srouji
2026-02-09  6:30 ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox