public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* 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
* 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

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 --
2026-02-09  2:07 linux-next: build failure after merge of the vfio tree Mark Brown
2026-02-09  2:42 ` Mark Brown
2026-02-09  9:46   ` Edward Srouji
2026-02-09  6:30 ` Leon Romanovsky
  -- strict thread matches above, loose matches on Subject: below --
2020-10-13  3:07 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

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