DKMS make.log for mlnx-ofed-kernel-5.1 for kernel 5.4.0-67-generic (x86_64) Tue Mar 16 19:20:34 UTC 2021 backports_applied does not exist. running ofed_patch.sh /var/lib/dkms/mlnx-ofed-kernel/5.1/build/ofed_scripts/ofed_patch.sh --kernel-version=5.4.0-67-generic mkdir -p /var/lib/dkms/mlnx-ofed-kernel/5.1/build/patches touch /var/lib/dkms/mlnx-ofed-kernel/5.1/build/patches/quiltrc /var/lib/dkms/mlnx-ofed-kernel/5.1/build/kernel_patches/fixes directory does not exist getting backport dir for kernel version 5.4.0-67-generic found backport dir backports Applying patches for backports kernel: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0001-BACKPORT-drivers-infiniband-core-addr.c.patch patching file drivers/infiniband/core/addr.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0002-BACKPORT-drivers-infiniband-core-cache.c.patch patching file drivers/infiniband/core/cache.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0003-BACKPORT-drivers-infiniband-core-cgroup.c.patch patching file drivers/infiniband/core/cgroup.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0004-BACKPORT-drivers-infiniband-core-cm.c.patch patching file drivers/infiniband/core/cm.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0005-BACKPORT-drivers-infiniband-core-cma.c.patch patching file drivers/infiniband/core/cma.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0006-BACKPORT-drivers-infiniband-core-cma_configfs.c.patch patching file drivers/infiniband/core/cma_configfs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0007-BACKPORT-drivers-infiniband-core-core_priv.h.patch patching file drivers/infiniband/core/core_priv.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0008-BACKPORT-drivers-infiniband-core-cq.c.patch patching file drivers/infiniband/core/cq.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0009-BACKPORT-drivers-infiniband-core-device.c.patch patching file drivers/infiniband/core/device.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0010-BACKPORT-drivers-infiniband-core-fmr_pool.c.patch patching file drivers/infiniband/core/fmr_pool.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0011-BACKPORT-drivers-infiniband-core-iwcm.c.patch patching file drivers/infiniband/core/iwcm.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0012-BACKPORT-drivers-infiniband-core-iwpm_util.c.patch patching file drivers/infiniband/core/iwpm_util.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0013-BACKPORT-drivers-infiniband-core-mad.c.patch patching file drivers/infiniband/core/mad.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0014-BACKPORT-drivers-infiniband-core-mad_rmpp.c.patch patching file drivers/infiniband/core/mad_rmpp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0015-BACKPORT-drivers-infiniband-core-netlink.c.patch patching file drivers/infiniband/core/netlink.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0016-BACKPORT-drivers-infiniband-core-nldev.c.patch patching file drivers/infiniband/core/nldev.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0017-BACKPORT-drivers-infiniband-core-rdma_core.c.patch patching file drivers/infiniband/core/rdma_core.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0018-BACKPORT-drivers-infiniband-core-restrack.c.patch patching file drivers/infiniband/core/restrack.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0019-BACKPORT-drivers-infiniband-core-roce_gid_mgmt.c.patch patching file drivers/infiniband/core/roce_gid_mgmt.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0021-BACKPORT-drivers-infiniband-core-sa_query.c.patch patching file drivers/infiniband/core/sa_query.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0022-BACKPORT-drivers-infiniband-core-sysfs.c.patch patching file drivers/infiniband/core/sysfs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0023-BACKPORT-drivers-infiniband-core-ucma.c.patch patching file drivers/infiniband/core/ucma.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0024-BACKPORT-drivers-infiniband-core-ud_header.c.patch patching file drivers/infiniband/core/ud_header.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0025-BACKPORT-drivers-infiniband-core-umem.c.patch patching file drivers/infiniband/core/umem.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0026-BACKPORT-drivers-infiniband-core-user_mad.c.patch patching file drivers/infiniband/core/user_mad.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0027-BACKPORT-drivers-infiniband-core-uverbs.h.patch patching file drivers/infiniband/core/uverbs.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0028-BACKPORT-drivers-infiniband-core-uverbs_cmd.c.patch patching file drivers/infiniband/core/uverbs_cmd.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0029-BACKPORT-drivers-infiniband-core-uverbs_ioctl.c.patch patching file drivers/infiniband/core/uverbs_ioctl.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0030-BACKPORT-drivers-infiniband-core-uverbs_main.c.patch patching file drivers/infiniband/core/uverbs_main.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0031-BACKPORT-drivers-infiniband-core-uverbs_uapi.c.patch patching file drivers/infiniband/core/uverbs_uapi.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0032-BACKPORT-drivers-infiniband-core-verbs.c.patch patching file drivers/infiniband/core/verbs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0033-BACKPORT-include-rdma-ib_addr.h.patch patching file include/rdma/ib_addr.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0034-BACKPORT-include-rdma-ib_pack.h.patch patching file include/rdma/ib_pack.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0035-BACKPORT-include-rdma-ib_verbs.h.patch patching file include/rdma/ib_verbs.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0037-BACKPORT-drivers-infiniband-core-trace.c.patch patching file drivers/infiniband/core/trace.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0037-BACKPORT-drivers-infiniband-debug-memtrack.c.patch patching file drivers/infiniband/debug/memtrack.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0039-BACKPORT-block-blk-mq-rdma.c.patch patching file block/blk-mq-rdma.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0039-BACKPORT-include-rdma-ib_umem.h.patch patching file include/rdma/ib_umem.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0041-BACKPORT-include-rdma-rdma_netlink.h.patch patching file include/rdma/rdma_netlink.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0041-BACKPORT-include-rdma-uverbs_ioctl.h.patch patching file include/rdma/uverbs_ioctl.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0042-BACKPORT-include-trace-events-ib_umad.h.patch patching file include/trace/events/ib_umad.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0043-BACKPORT-include-trace-events-ib_mad.h.patch patching file include/trace/events/ib_mad.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0044-BACKPORT-drivers-infiniband-core-cma_trace.h.patch patching file drivers/infiniband/core/cma_trace.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0046-BACKPORT-drivers-infiniband-hw-mlx5-Makefile.patch patching file drivers/infiniband/hw/mlx5/Makefile /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0047-BACKPORT-drivers-infiniband-hw-mlx5-cq.c.patch patching file drivers/infiniband/hw/mlx5/cq.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0048-BACKPORT-drivers-infiniband-hw-mlx5-ib_virt.c.patch patching file drivers/infiniband/hw/mlx5/ib_virt.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0049-BACKPORT-drivers-infiniband-hw-mlx5-main.c.patch patching file drivers/infiniband/hw/mlx5/main.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0050-BACKPORT-drivers-infiniband-hw-mlx5-mlx5_ib.h.patch patching file drivers/infiniband/hw/mlx5/mlx5_ib.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0051-BACKPORT-drivers-infiniband-hw-mlx5-mr.c.patch patching file drivers/infiniband/hw/mlx5/mr.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0052-BACKPORT-drivers-infiniband-hw-mlx5-qp.c.patch patching file drivers/infiniband/hw/mlx5/qp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0053-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-Mak.patch patching file drivers/net/ethernet/mellanox/mlx5/core/Makefile /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0054-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-acc.patch patching file drivers/net/ethernet/mellanox/mlx5/core/accel/tls.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0055-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-acc.patch patching file drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0056-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-all.patch patching file drivers/net/ethernet/mellanox/mlx5/core/alloc.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0057-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-cmd.patch patching file drivers/net/ethernet/mellanox/mlx5/core/cmd.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0058-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-crd.patch patching file drivers/net/ethernet/mellanox/mlx5/core/crdump.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0059-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-dev.patch patching file drivers/net/ethernet/mellanox/mlx5/core/dev.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0060-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-dev.patch patching file drivers/net/ethernet/mellanox/mlx5/core/devlink.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0061-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-dia.patch patching file drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0062-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-dia.patch patching file drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0063-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-dia.patch patching file drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0064-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-dia.patch patching file drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0065-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en..patch patching file drivers/net/ethernet/mellanox/mlx5/core/en.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0066-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/fs.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0067-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/health.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0068-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/health.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0069-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/params.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0070-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0071-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0072-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0073-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0074-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0075-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0076-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0077-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0078-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0079-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0080-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0081-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0082-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0083-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0084-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0085-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0086-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0087-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0088-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0089-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0090-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0091-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0092-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0093-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0094-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_diag.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0095-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0096-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_fs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0097-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0098-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_main.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0099-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_rx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0100-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0101-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_stats.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0102-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_stats.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0103-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_sysfs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0104-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_tc.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0105-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_tx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0106-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0107-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-eq..patch patching file drivers/net/ethernet/mellanox/mlx5/core/eq.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0108-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fpg.patch patching file drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0109-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fpg.patch patching file drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0111-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fpg.patch patching file drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0112-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fpg.patch patching file drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0113-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fs_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/fs_core.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0114-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fs_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/fs_core.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0115-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fs_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0116-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fw..patch patching file drivers/net/ethernet/mellanox/mlx5/core/fw.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0117-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-hea.patch patching file drivers/net/ethernet/mellanox/mlx5/core/health.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0118-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-ipo.patch patching file drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0119-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-ipo.patch patching file drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0120-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-ipo.patch patching file drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0121-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-ipo.patch patching file drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0122-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lag.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lag.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0123-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lag.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0124-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lag.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lag_mp.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0125-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0126-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0127-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0128-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0129-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0130-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0131-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0132-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/pci_vsc.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0133-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0134-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-mai.patch patching file drivers/net/ethernet/mellanox/mlx5/core/main.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0135-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-med.patch patching file drivers/net/ethernet/mellanox/mlx5/core/meddev/sf.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0136-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-mlx.patch patching file drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0137-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-pag.patch patching file drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0138-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-pci.patch patching file drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0139-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-sri.patch patching file drivers/net/ethernet/mellanox/mlx5/core/sriov.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0140-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-sri.patch patching file drivers/net/ethernet/mellanox/mlx5/core/sriov_sysfs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0141-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-ste.patch patching file drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0142-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-ste.patch patching file drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0143-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-uar.patch patching file drivers/net/ethernet/mellanox/mlx5/core/uar.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0144-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-wq..patch patching file drivers/net/ethernet/mellanox/mlx5/core/wq.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0145-BACKPORT-include-linux-mlx5-driver.h.patch patching file include/linux/mlx5/driver.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0146-BACKPORT-include-linux-mlx5-fs.h.patch patching file include/linux/mlx5/fs.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0148-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0149-BACKPORT-include-linux-mlx5-eswitch.h.patch patching file include/linux/mlx5/eswitch.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0150-BACKPORT-include-rdma-ib_umem_odp.h.patch patching file include/rdma/ib_umem_odp.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0151-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0152-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0153-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0154-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0155-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0156-BACKPORT-drivers-net-ethernet-mellanox-mlxfw-mlxfw.h.patch patching file drivers/net/ethernet/mellanox/mlxfw/mlxfw.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0157-BACKPORT-drivers-infiniband-hw-mlx5-devx.c.patch patching file drivers/infiniband/hw/mlx5/devx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0158-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-lib.patch patching file drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0159-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-esw.patch patching file drivers/net/ethernet/mellanox/mlx5/core/eswitch.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0160-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0161-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-fpg.patch patching file drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0161-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-med.patch patching file drivers/net/ethernet/mellanox/mlx5/core/meddev/mdev.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0162-BACKPORT-drivers-infiniband-ulp-ipoib-ipoib.h.patch patching file drivers/infiniband/ulp/ipoib/ipoib.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0163-BACKPORT-drivers-infiniband-ulp-ipoib-ipoib_cm.c.patch patching file drivers/infiniband/ulp/ipoib/ipoib_cm.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0164-BACKPORT-drivers-infiniband-ulp-ipoib-ipoib_ethtool..patch patching file drivers/infiniband/ulp/ipoib/ipoib_ethtool.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0165-BACKPORT-drivers-infiniband-ulp-ipoib-ipoib_ib.c.patch patching file drivers/infiniband/ulp/ipoib/ipoib_ib.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0166-BACKPORT-drivers-infiniband-ulp-ipoib-ipoib_main.c.patch patching file drivers/infiniband/ulp/ipoib/ipoib_main.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0167-BACKPORT-drivers-infiniband-ulp-ipoib-ipoib_multicas.patch patching file drivers/infiniband/ulp/ipoib/ipoib_multicast.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0168-BACKPORT-drivers-infiniband-ulp-ipoib-ipoib_netlink..patch patching file drivers/infiniband/ulp/ipoib/ipoib_netlink.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0169-BACKPORT-drivers-infiniband-ulp-ipoib-ipoib_vlan.c.patch patching file drivers/infiniband/ulp/ipoib/ipoib_vlan.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0171-BACKPORT-drivers-net-ethernet-mellanox-mlxfw-mlxfw_m.patch patching file drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0172-BACKPORT-drivers-net-ethernet-mellanox-mlxfw-mlxfw_f.patch patching file drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0172-BACKPORT-drivers-net-ethernet-mellanox-mlxfw-mlxfw_m.patch patching file drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0173-BACKPORT-include-linux-mdev.h.patch patching file include/linux/mdev.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0174-BACKPORT-drivers-vfio-mdev-mdev_private.h.patch patching file drivers/vfio/mdev/mdev_private.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0175-BACKPORT-drivers-vfio-mdev-mdev_sysfs.c.patch patching file drivers/vfio/mdev/mdev_sysfs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0176-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_rep.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0177-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-esw.patch patching file drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0178-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-ste.patch patching file drivers/net/ethernet/mellanox/mlx5/core/steering/dr_dbg.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0179-BACKPORT-drivers-infiniband-core-umem_odp.c.patch patching file drivers/infiniband/core/umem_odp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0180-BACKPORT-drivers-infiniband-hw-mlx5-doorbell.c.patch patching file drivers/infiniband/hw/mlx5/doorbell.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0181-BACKPORT-drivers-infiniband-hw-mlx5-odp.c.patch patching file drivers/infiniband/hw/mlx5/odp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0182-BACKPORT-drivers-infiniband-hw-mlx5-srq.c.patch patching file drivers/infiniband/hw/mlx5/srq.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0183-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-dia.patch patching file drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0184-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0184-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_rep.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0185-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_tc.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0185-BACKPORT-include-linux-nvme.h.patch patching file include/linux/nvme.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0186-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0186-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-esw.patch patching file drivers/net/ethernet/mellanox/mlx5/core/eswitch.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0186-BACKPORT-include-linux-nvme-rdma.h.patch patching file include/linux/nvme-rdma.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0187-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0187-BACKPORT-include-linux-nvme-fc-driver.h.patch patching file include/linux/nvme-fc-driver.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0188-BACKPORT-include-linux-lightnvm.h.patch patching file include/linux/lightnvm.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0189-BACKPORT-drivers-nvme-host-nvme.h.patch patching file drivers/nvme/host/nvme.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0190-BACKPORT-drivers-nvme-host-core.c.patch patching file drivers/nvme/host/core.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0191-BACKPORT-drivers-nvme-host-pci.c.patch patching file drivers/nvme/host/pci.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0192-BACKPORT-drivers-nvme-host-fabrics.c.patch patching file drivers/nvme/host/fabrics.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0193-BACKPORT-drivers-nvme-host-rdma.c.patch patching file drivers/nvme/host/rdma.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0194-BACKPORT-drivers-nvme-host-fc.c.patch patching file drivers/nvme/host/fc.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0195-BACKPORT-drivers-nvme-host-lightnvm.c.patch patching file drivers/nvme/host/lightnvm.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0196-BACKPORT-drivers-nvme-host-multipath.c.patch patching file drivers/nvme/host/multipath.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0197-BACKPORT-drivers-nvme-host-tcp.c.patch patching file drivers/nvme/host/tcp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0198-BACKPORT-drivers-nvme-target-nvmet.h.patch patching file drivers/nvme/target/nvmet.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0199-BACKPORT-drivers-nvme-target-core.c.patch patching file drivers/nvme/target/core.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0200-BACKPORT-drivers-nvme-target-admin-cmd.c.patch patching file drivers/nvme/target/admin-cmd.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0201-BACKPORT-drivers-nvme-target-configfs.c.patch patching file drivers/nvme/target/configfs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0202-BACKPORT-drivers-nvme-target-rdma.c.patch patching file drivers/nvme/target/rdma.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0203-BACKPORT-drivers-nvme-target-rdma_offload.c.patch patching file drivers/nvme/target/rdma_offload.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0204-BACKPORT-drivers-nvme-target-fc.c.patch patching file drivers/nvme/target/fc.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0205-BACKPORT-drivers-nvme-target-fcloop.c.patch patching file drivers/nvme/target/fcloop.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0206-BACKPORT-drivers-nvme-target-io-cmd-bdev.c.patch patching file drivers/nvme/target/io-cmd-bdev.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0207-BACKPORT-drivers-nvme-target-io-cmd-file.c.patch patching file drivers/nvme/target/io-cmd-file.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0208-BACKPORT-drivers-nvme-target-loop.c.patch patching file drivers/nvme/target/loop.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0209-BACKPORT-drivers-nvme-target-tcp.c.patch patching file drivers/nvme/target/tcp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0212-BACKPORT-drivers-infiniband-ulp-iser-iscsi_iser.c.patch patching file drivers/infiniband/ulp/iser/iscsi_iser.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0212-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0213-BACKPORT-drivers-infiniband-ulp-iser-iscsi_iser.h.patch patching file drivers/infiniband/ulp/iser/iscsi_iser.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0213-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-dia.patch patching file drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0214-BACKPORT-drivers-infiniband-ulp-iser-iser_initiator..patch patching file drivers/infiniband/ulp/iser/iser_initiator.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0215-BACKPORT-drivers-infiniband-ulp-iser-iser_memory.c.patch patching file drivers/infiniband/ulp/iser/iser_memory.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0216-BACKPORT-drivers-infiniband-ulp-srp-ib_srp.c.patch patching file drivers/infiniband/ulp/srp/ib_srp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0216-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0217-BACKPORT-drivers-infiniband-ulp-srp-ib_srp.h.patch patching file drivers/infiniband/ulp/srp/ib_srp.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0217-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0218-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_txrx.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0218-BACKPORT-drivers-scsi-scsi_priv.h.patch patching file drivers/scsi/scsi_priv.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0219-BACKPORT-drivers-scsi-scsi_transport_srp.c.patch patching file drivers/scsi/scsi_transport_srp.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0221-BACKPORT-drivers-infiniband-ulp-isert-ib_isert.c.patch patching file drivers/infiniband/ulp/isert/ib_isert.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0222-BACKPORT-drivers-infiniband-ulp-isert-ib_isert.h.patch patching file drivers/infiniband/ulp/isert/ib_isert.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0223-BACKPORT-include-target-iscsi-iscsi_target_core.h.patch patching file include/target/iscsi/iscsi_target_core.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0224-BACKPORT-include-target-iscsi-iscsi_transport.h.patch patching file include/target/iscsi/iscsi_transport.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0225-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en-.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en/rep/bond.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0227-BACKPORT-drivers-nvme-host-nvfs-dma.h.patch patching file drivers/nvme/host/nvfs-dma.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0227-BACKPORT-net-sunrpc-xprtrdma-backchannel.c.patch patching file net/sunrpc/xprtrdma/backchannel.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0228-BACKPORT-drivers-nvme-host-nvfs-rdma.h.patch patching file drivers/nvme/host/nvfs-rdma.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0228-BACKPORT-net-sunrpc-xprtrdma-frwr_ops.c.patch patching file net/sunrpc/xprtrdma/frwr_ops.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0229-BACKPORT-net-sunrpc-xprtrdma-module.c.patch patching file net/sunrpc/xprtrdma/module.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0230-BACKPORT-drivers-infiniband-core-lag.c.patch patching file drivers/infiniband/core/lag.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0230-BACKPORT-net-sunrpc-xprtrdma-rpc_rdma.c.patch patching file net/sunrpc/xprtrdma/rpc_rdma.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0231-BACKPORT-include-rdma-lag.h.patch patching file include/rdma/lag.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0231-BACKPORT-net-sunrpc-xprtrdma-svc_rdma_backchannel.c.patch patching file net/sunrpc/xprtrdma/svc_rdma_backchannel.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0232-BACKPORT-net-sunrpc-xprtrdma-svc_rdma_recvfrom.c.patch patching file net/sunrpc/xprtrdma/svc_rdma_recvfrom.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0233-BACKPORT-net-sunrpc-xprtrdma-svc_rdma_rw.c.patch patching file net/sunrpc/xprtrdma/svc_rdma_rw.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0234-BACKPORT-net-sunrpc-xprtrdma-svc_rdma_sendto.c.patch patching file net/sunrpc/xprtrdma/svc_rdma_sendto.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0235-BACKPORT-net-sunrpc-xprtrdma-svc_rdma_transport.c.patch patching file net/sunrpc/xprtrdma/svc_rdma_transport.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0236-BACKPORT-net-sunrpc-xprtrdma-transport.c.patch patching file net/sunrpc/xprtrdma/transport.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0237-BACKPORT-net-sunrpc-xprtrdma-verbs.c.patch patching file net/sunrpc/xprtrdma/verbs.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0238-BACKPORT-net-sunrpc-xprtrdma-xprt_rdma.h.patch patching file net/sunrpc/xprtrdma/xprt_rdma.h /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0246-BACKPORT-drivers-infiniband-core-peer_mem.c.patch patching file drivers/infiniband/core/peer_mem.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0247-BACKPORT-drivers-net-ethernet-mellanox-mlx5-core-en_.patch patching file drivers/net/ethernet/mellanox/mlx5/core/en_common.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0248-BACKPORT-net-sunrpc-xprtrdma-svc_rdma.c.patch patching file net/sunrpc/xprtrdma/svc_rdma.c /var/lib/dkms/mlnx-ofed-kernel/5.1/build/backports/0249-BACKPORT-include-linux-sunrpc-svc_rdma.h.patch patching file include/linux/sunrpc/svc_rdma.h Created configure.mk.kernel: # Current working directory CWD=/var/lib/dkms/mlnx-ofed-kernel/5.1/build BACKPORT_INCLUDES= # Kernel level KVERSION=5.4.0-67-generic ARCH=x86_64 MODULES_DIR=/lib/modules/5.4.0-67-generic/updates KSRC=/lib/modules/5.4.0-67-generic/build KSRC_OBJ=/lib/modules/5.4.0-67-generic/build KLIB_BUILD=/lib/modules/5.4.0-67-generic/build prefix=/usr AUTOCONF_H=/var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/generated/autoconf.h WITH_MAKE_PARAMS= CFLAGS_RETPOLINE= CONFIG_COMPAT_VERSION= CONFIG_COMPAT_KOBJECT_BACKPORT= CONFIG_MEMTRACK= CONFIG_DEBUG_INFO=y CONFIG_INFINIBAND=m CONFIG_INFINIBAND_CORE_DUMMY= CONFIG_INFINIBAND_IPOIB=m CONFIG_INFINIBAND_IPOIB_CM=y CONFIG_IPOIB_ALL_MULTI= CONFIG_IPOIB_VERSION= CONFIG_INFINIBAND_SRP= CONFIG_INFINIBAND_SRP_DUMMY= CONFIG_RDMA_RXE= CONFIG_RDMA_RXE_DUMMY= CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_INFINIBAND_USER_ACCESS_UCM=m CONFIG_INFINIBAND_ADDR_TRANS=y CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y CONFIG_INFINIBAND_USER_MEM=y CONFIG_MLXFW=m CONFIG_MLX5_ACCEL=y CONFIG_MLX5_EN_TLS=y CONFIG_MLX5_TLS=y CONFIG_MLX5_FPGA_TLS=y CONFIG_MLX5_EN_ARFS=y CONFIG_MLX5_EN_RXNFC=y CONFIG_MLX5_IPSEC=y CONFIG_MLX5_EN_IPSEC=y CONFIG_MLX5_FPGA_IPSEC=y CONFIG_MLX5_FPGA=y CONFIG_MLX5_FPGA_TOOLS=m CONFIG_MLX5_CORE=m CONFIG_MLX5_CORE_EN=y CONFIG_MLX5_CORE_EN_DCB=y CONFIG_MLX5_MPFS=y CONFIG_MLX5_ESWITCH=y CONFIG_MLX5_CLS_ACT=y CONFIG_MLX5_TC_CT=y CONFIG_MLX5_SW_STEERING=y CONFIG_MLX5_CORE_IPOIB=y CONFIG_MLX5_EN_SPECIAL_SQ=y CONFIG_MLX5_MDEV=y CONFIG_VFIO_MDEV=m CONFIG_VFIO_MDEV_DEVICE=m CONFIG_MLX5_INFINIBAND=m CONFIG_MLX5_DEBUG=y CONFIG_BACKPORT_LRO=m CONFIG_INFINIBAND_IPOIB_DEBUG=y CONFIG_INFINIBAND_ISERT= CONFIG_INFINIBAND_ISERT_DUMMY= CONFIG_INFINIBAND_ISER= CONFIG_INFINIBAND_ISER_DUMMY= CONFIG_SCSI_ISCSI_ATTRS= CONFIG_ISCSI_TCP= CONFIG_INFINIBAND_MADEYE= CONFIG_NVME_CORE= CONFIG_NVME_HOST_WITHOUT_FC= CONFIG_BLK_DEV_NVME= CONFIG_NVME_FABRICS= CONFIG_NVME_FC= CONFIG_NVME_RDMA= CONFIG_NVME_TCP= CONFIG_NVME_MULTIPATH= CONFIG_NVME_HOST_DUMMY= CONFIG_NVME_TARGET= CONFIG_NVME_TARGET_LOOP= CONFIG_NVME_TARGET_RDMA= CONFIG_NVME_TARGET_TCP= CONFIG_NVME_TARGET_FC= CONFIG_NVME_TARGET_FCLOOP= CONFIG_NVME_TARGET_DUMMY= CONFIG_SUNRPC_XPRT_RDMA= CONFIG_SUNRPC_XPRT_RDMA_DUMMY= CONFIG_SCSI_SRP_ATTRS= CONFIG_INFINIBAND_IPOIB_DEBUG_DATA= CONFIG_INFINIBAND_SDP_SEND_ZCOPY= CONFIG_INFINIBAND_SDP_RECV_ZCOPY= CONFIG_INFINIBAND_SDP_DEBUG= CONFIG_INFINIBAND_SDP_DEBUG_DATA= CONFIG_INFINIBAND_ON_DEMAND_PAGING=y CONFIG_INFINIBAND_WQE_FORMAT= CONFIG_INFINIBAND_PA_MR= CONFIG_MLNX_BLOCK_REQUEST_MODULE= CONFIG_BF_DEVICE_EMULATION= CONFIG_BF_POWER_FAILURE_EVENT= CONFIG_GPU_DIRECT_STORAGE= CONFIG_ENABLE_MLX5_FS_DEBUGFS= Created /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/generated/autoconf.h: #ifndef __OFED_BUILD__ #include_next #define CONFIG_INFINIBAND 1 #define CONFIG_INFINIBAND_IPOIB 1 #define CONFIG_INFINIBAND_IPOIB_CM 1 #define CONFIG_INFINIBAND_USER_MAD 1 #define CONFIG_INFINIBAND_USER_ACCESS 1 #define CONFIG_INFINIBAND_USER_ACCESS_UCM 1 #define CONFIG_INFINIBAND_ADDR_TRANS 1 #define CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS 1 #define CONFIG_INFINIBAND_USER_MEM 1 /* CONFIG_SUNRPC_XPRT_RDMA is not set */ /* CONFIG_SUNRPC_XPRT_RDMA_DUMMY is not set */ #define CONFIG_INFINIBAND_IPOIB_DEBUG 1 #define CONFIG_MLXFW 1 #define CONFIG_MLX5_ACCEL 1 #define CONFIG_MLX5_EN_ARFS 1 #define CONFIG_MLX5_EN_RXNFC 1 #define CONFIG_MLX5_EN_TLS 1 #define CONFIG_MLX5_TLS 1 #define CONFIG_MLX5_FPGA_TLS 1 #define CONFIG_MLX5_IPSEC 1 #define CONFIG_MLX5_EN_IPSEC 1 #define CONFIG_MLX5_FPGA_IPSEC 1 #define CONFIG_MLX5_FPGA 1 #define CONFIG_MLX5_CORE 1 #define CONFIG_MLX5_CORE_EN 1 #define CONFIG_MLX5_CORE_EN_DCB 1 #define CONFIG_MLX5_MPFS 1 #define CONFIG_MLX5_ESWITCH 1 #define CONFIG_MLX5_CLS_ACT 1 #define CONFIG_MLX5_TC_CT 1 #define CONFIG_MLX5_SW_STEERING 1 #define CONFIG_MLX5_CORE_IPOIB 1 #define CONFIG_MLX5_EN_SPECIAL_SQ 1 #define CONFIG_MLX5_MDEV 1 #define CONFIG_VFIO_MDEV 1 #define CONFIG_VFIO_MDEV_DEVICE 1 #define CONFIG_MLX5_INFINIBAND 1 #define CONFIG_MLX5_DEBUG 1 #define CONFIG_INFINIBAND_ON_DEMAND_PAGING 1 #else #undef CONFIG_COMPAT_VERSION #undef CONFIG_MEMTRACK #undef CONFIG_DEBUG_INFO #undef CONFIG_INFINIBAND #undef CONFIG_INFINIBAND_CORE_DUMMY #undef CONFIG_INFINIBAND_IPOIB #undef CONFIG_INFINIBAND_IPOIB_CM #undef CONFIG_IPOIB_ALL_MULTI #undef CONFIG_INFINIBAND_SRP #undef CONFIG_INFINIBAND_SRP_DUMMY #undef CONFIG_CONFIG_RDMA_RXE #undef CONFIG_CONFIG_RDMA_RXE_DUMMY #undef CONFIG_INFINIBAND_USER_MAD #undef CONFIG_INFINIBAND_USER_ACCESS #undef CONFIG_INFINIBAND_USER_ACCESS_UCM #undef CONFIG_INFINIBAND_ADDR_TRANS #undef CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS #undef CONFIG_INFINIBAND_USER_MEM #undef CONFIG_MLXFW #undef CONFIG_MLX5_ACCEL #undef CONFIG_MLX5_EN_TLS #undef CONFIG_MLX5_TLS #undef CONFIG_MLX5_FPGA_TLS #undef CONFIG_MLX5_EN_ARFS #undef CONFIG_MLX5_EN_RXNFC #undef CONFIG_MLX5_IPSEC #undef CONFIG_MLX5_EN_IPSEC #undef CONFIG_MLX5_FPGA_IPSEC #undef CONFIG_MLX5_FPGA #undef CONFIG_MLX5_FPGA_TOOLS #undef CONFIG_MLX5_CORE #undef CONFIG_MLX5_CORE_EN #undef CONFIG_MLX5_CORE_EN_DCB #undef CONFIG_MLX5_MPFS #undef CONFIG_MLX5_ESWITCH #undef CONFIG_MLX5_CLS_ACT #undef CONFIG_MLX5_TC_CT #undef CONFIG_MLX5_SW_STEERING #undef CONFIG_MLX5_CORE_IPOIB #undef CONFIG_MLX5_EN_SPECIAL_SQ #undef CONFIG_MLX5_MDEV #undef CONFIG_VFIO_MDEV #undef CONFIG_VFIO_MDEV_DEVICE #undef CONFIG_MLX5_DEBUG #undef CONFIG_MLX5_INFINIBAND #undef CONFIG_BACKPORT_LRO #undef CONFIG_INFINIBAND_IPOIB_DEBUG #undef CONFIG_INFINIBAND_ISER #undef CONFIG_INFINIBAND_ISER_DUMMY #undef CONFIG_INFINIBAND_ISERT #undef CONFIG_INFINIBAND_ISERT_DUMMY #undef CONFIG_INFINIBAND_MADEYE #undef CONFIG_NVME_CORE #undef CONFIG_NVME_HOST_WITHOUT_FC #undef CONFIG_BLK_DEV_NVME #undef CONFIG_NVME_FABRICS #undef CONFIG_NVME_FC #undef CONFIG_NVME_RDMA #undef CONFIG_NVME_TCP #undef CONFIG_NVME_MULTIPATH #undef CONFIG_NVME_HOST_DUMMY #undef CONFIG_NVME_TARGET #undef CONFIG_NVME_TARGET_LOOP #undef CONFIG_NVME_TARGET_RDMA #undef CONFIG_NVME_TARGET_TCP #undef CONFIG_NVME_TARGET_FC #undef CONFIG_NVME_TARGET_FCLOOP #undef CONFIG_NVME_TARGET_DUMMY #undef CONFIG_SUNRPC_XPRT_RDMA #undef CONFIG_SUNRPC_XPRT_RDMA_DUMMY #undef CONFIG_SCSI_SRP_ATTRS #undef CONFIG_INFINIBAND_IPOIB_DEBUG_DATA #undef CONFIG_INFINIBAND_SDP_SEND_ZCOPY #undef CONFIG_INFINIBAND_SDP_RECV_ZCOPY #undef CONFIG_INFINIBAND_SDP_DEBUG #undef CONFIG_INFINIBAND_SDP_DEBUG_DATA #undef CONFIG_BF_DEVICE_EMULATION #undef CONFIG_BF_POWER_FAILURE_EVENT #undef CONFIG_ENABLE_MLX5_FS_DEBUGFS #undef CONFIG_INFINIBAND #define CONFIG_INFINIBAND 1 #undef CONFIG_INFINIBAND_CORE_DUMMY #undef CONFIG_INFINIBAND_IPOIB #define CONFIG_INFINIBAND_IPOIB 1 #undef CONFIG_INFINIBAND_IPOIB_CM #define CONFIG_INFINIBAND_IPOIB_CM 1 #undef CONFIG_IPOIB_ALL_MULTI #undef CONFIG_INFINIBAND_SRP #undef CONFIG_INFINIBAND_SRP_DUMMY #undef CONFIG_RDMA_RXE #undef CONFIG_RDMA_RXE_DUMMY #undef CONFIG_INFINIBAND_USER_MAD #define CONFIG_INFINIBAND_USER_MAD 1 #undef CONFIG_INFINIBAND_USER_ACCESS #define CONFIG_INFINIBAND_USER_ACCESS 1 #undef CONFIG_INFINIBAND_USER_ACCESS_UCM #define CONFIG_INFINIBAND_USER_ACCESS_UCM 1 #undef CONFIG_INFINIBAND_ADDR_TRANS #define CONFIG_INFINIBAND_ADDR_TRANS 1 #undef CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS #define CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS 1 #undef CONFIG_INFINIBAND_USER_MEM #define CONFIG_INFINIBAND_USER_MEM 1 /* CONFIG_SUNRPC_XPRT_RDMA is not set */ /* CONFIG_SUNRPC_XPRT_RDMA_DUMMY is not set */ #undef CONFIG_INFINIBAND_IPOIB_DEBUG #define CONFIG_INFINIBAND_IPOIB_DEBUG 1 #undef CONFIG_INFINIBAND_ISERT #undef CONFIG_INFINIBAND_ISERT_DUMMY #undef CONFIG_INFINIBAND_ISER #undef CONFIG_INFINIBAND_ISER_DUMMY #undef CONFIG_SCSI_ISCSI_ATTRS #undef CONFIG_ISCSI_TCP #undef CONFIG_MLXFW #define CONFIG_MLXFW 1 #undef CONFIG_MLX5_ACCEL #define CONFIG_MLX5_ACCEL 1 #undef CONFIG_MLX5_EN_TLS #define CONFIG_MLX5_EN_TLS 1 #undef CONFIG_MLX5_TLS #define CONFIG_MLX5_TLS 1 #undef CONFIG_MLX5_FPGA_TLS #define CONFIG_MLX5_FPGA_TLS 1 #undef CONFIG_MLX5_EN_ARFS #define CONFIG_MLX5_EN_ARFS 1 #undef CONFIG_MLX5_EN_RXNFC #define CONFIG_MLX5_EN_RXNFC 1 #undef CONFIG_MLX5_IPSEC #define CONFIG_MLX5_IPSEC 1 #undef CONFIG_MLX5_EN_IPSEC #define CONFIG_MLX5_EN_IPSEC 1 #undef CONFIG_MLX5_FPGA_IPSEC #define CONFIG_MLX5_FPGA_IPSEC 1 #undef CONFIG_MLX5_FPGA #define CONFIG_MLX5_FPGA 1 #undef CONFIG_MLX5_FPGA_TOOLS #undef CONFIG_MLX5_CORE #define CONFIG_MLX5_CORE 1 #undef CONFIG_MLX5_CORE_EN #define CONFIG_MLX5_CORE_EN 1 #undef CONFIG_MLX5_CORE_EN_DCB #define CONFIG_MLX5_CORE_EN_DCB 1 #undef CONFIG_MLX5_MPFS #define CONFIG_MLX5_MPFS 1 #undef CONFIG_MLX5_ESWITCH #define CONFIG_MLX5_ESWITCH 1 #undef CONFIG_MLX5_CLS_ACT #define CONFIG_MLX5_CLS_ACT 1 #undef CONFIG_MLX5_TC_CT #define CONFIG_MLX5_TC_CT 1 #undef CONFIG_MLX5_SW_STEERING #define CONFIG_MLX5_SW_STEERING 1 #undef CONFIG_MLX5_CORE_IPOIB #define CONFIG_MLX5_CORE_IPOIB 1 #undef CONFIG_MLX5_EN_SPECIAL_SQ #define CONFIG_MLX5_EN_SPECIAL_SQ 1 #undef CONFIG_MLX5_MDEV #define CONFIG_MLX5_MDEV 1 #undef CONFIG_VFIO_MDEV #define CONFIG_VFIO_MDEV 1 #undef CONFIG_VFIO_MDEV_DEVICE #define CONFIG_VFIO_MDEV_DEVICE 1 #undef CONFIG_MLX5_INFINIBAND #define CONFIG_MLX5_INFINIBAND 1 #undef CONFIG_MLX5_DEBUG #define CONFIG_MLX5_DEBUG 1 #undef CONFIG_INFINIBAND_IPOIB_DEBUG_DATA #undef CONFIG_INFINIBAND_SDP_SEND_ZCOPY #undef CONFIG_INFINIBAND_SDP_RECV_ZCOPY #undef CONFIG_INFINIBAND_SDP_DEBUG #undef CONFIG_INFINIBAND_SDP_DEBUG_DATA #undef CONFIG_NVME_CORE #undef CONFIG_NVME_HOST_WITHOUT_FC #undef CONFIG_BLK_DEV_NVME #undef CONFIG_NVME_FABRICS #undef CONFIG_NVME_FC #undef CONFIG_NVME_RDMA #undef CONFIG_NVME_TCP #undef CONFIG_NVME_MULTIPATH #undef CONFIG_NVME_HOST_DUMMY #undef CONFIG_NVME_TARGET #undef CONFIG_NVME_TARGET_LOOP #undef CONFIG_NVME_TARGET_RDMA #undef CONFIG_NVME_TARGET_TCP #undef CONFIG_NVME_TARGET_FC #undef CONFIG_NVME_TARGET_FCLOOP #undef CONFIG_NVME_TARGET_DUMMY #undef CONFIG_INFINIBAND_MADEYE #undef CONFIG_INFINIBAND_ON_DEMAND_PAGING #define CONFIG_INFINIBAND_ON_DEMAND_PAGING 1 #undef CONFIG_INFINIBAND_WQE_FORMAT #undef CONFIG_INFINIBAND_PA_MR #undef CONFIG_MLNX_BLOCK_REQUEST_MODULE #undef CONFIG_BF_DEVICE_EMULATION #undef CONFIG_BF_POWER_FAILURE_EVENT #undef CONFIG_GPU_DIRECT_STORAGE #undef CONFIG_ENABLE_MLX5_FS_DEBUGFS #endif ./configure --with-linux-obj=/lib/modules/5.4.0-67-generic/build --with-linux=/lib/modules/5.4.0-67-generic/build --with-njobs=16 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking dependency style of gcc... none checking for ar... ar checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for ranlib... ranlib checking for ld... ld checking for objdump... objdump checking for strip... strip checking size of unsigned long long... 8 ---> size SIZEOF ---> size SIZEOF 8 /usr/src/linux-headers-5.4.0-66-generic /usr/src/linux-headers-5.4.0-66-generic checking for Linux sources... /usr/src/linux-headers-5.4.0-67-generic checking for /usr/src/linux-headers-5.4.0-67-generic... yes checking for Linux objects dir... /usr/src/linux-headers-5.4.0-67-generic checking for /boot/kernel.h... no checking for /var/adm/running-kernel.h... no checking for /usr/src/linux-headers-5.4.0-67-generic/.config... yes checking for /usr/src/linux-headers-5.4.0-67-generic/include/generated/autoconf.h... yes checking for /usr/src/linux-headers-5.4.0-67-generic/include/linux/kconfig.h... yes checking for build ARCH... ARCH=, SRCARCH=x86 checking for cross compilation... no checking if Linux was built with CONFIG_XEN... yes checking get value of CONFIG_XEN_INTERFACE_VERSION... XEN_INTERFACE_VERSION in not defined in autoconf.h checking that modules can be built at all... yes checking for Linux release... 5.4.0-67-generic checking for MLNX release... 5.4.0_67_generic_ checking that RedHat kernel... no checking if Linux was built with CONFIG_SUSE_KERNEL... no checking name of module symbol version file... Module.symvers checking if Linux was built with CONFIG_MODULES... yes checking if Linux was built with CONFIG_MODVERSIONS... yes checking if Linux was built with CONFIG_KALLSYMS... yes checking if has kvfree... checking if has is_tcf_police... checking if has is_tcf_tunnel_set && is_tcf_tunnel_release... checking if has netdev_notifier_info_to_dev... checking if has udp_tunnel_drop_rx_info... checking if mm has register_netdevice_notifier_rh... checking if linux/netdevice.h has unregister_netdevice_notifier_net... checking if struct netdev_net_notifier exists... checking if linux/pagemap.h has release_pages ... checking if linux/mm.h has get_user_pages_longterm... checking if get_user_pages uses gup flags... checking if get_user_pages has 7 params... checking if string.h has memchr_inv... checking if string.h has memcpy_and_pad... checking if ip6_fib.h has ip6_rt_put... checking if net_namespace.h has possible_net_t... checking if map_lock has mmap_read_lock... no no no no no yes yes yes yes yes yes yes yes yes yes yes checking if net_namespace.h has pernet_operations_id... checking if rtble has direct dst... checking if mm has get_user_pages_remote with 7 parameters... checking if mm has get_user_pages_remote with 8 parameters... checking if mm has get_user_pages_remote with 8 parameters with locked... checking if kernel has ktime_get_ns... checking if if_vlan.h has __vlan_get_protocol... checking if page_ref.h has page_ref_count/add/sub/inc... checking if struct net_device_ops has ndo_get_phys_port_name... checking if struct ifla_vf_info has min_tx_rate... checking if devlink has devlink_flash_update_status_notify... checking if devlink has devlink_info_version_fixed_put... checking if devlink has devlink_health_reporter_state_update... checking if devlink_health_reporter_ops.recover has extack parameter... checking if devlink has devlink_param_driverinit_value_get... checking if devlink enum has DEVLINK_PARAM_GENERIC_ID_MAX... checking if devlink struct devlink_port exist... no no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if devlink_port_attrs_set has 7 parameters... checking if devlink_port_attrs_set has 5 parameters... checking if devlink enum has DEVLINK_PARAM_GENERIC_ID_ENABLE_ROCE... checking if devlink enum devlink_port_flavour exist... checking if devlink enum has DEVLINK_PORT_FLAVOUR_VIRTUAL... checking if struct devlink_param exist in net/devlink.h... checking if devlink has devlink_reload_disable... checking if devlink has devlink_reload_enable... checking if devlink has devlink_net... checking if struct devlink_ops has reload_up/down... checking if devlink_ops.reload_down has 3 params... checking if struct devlink_ops has info_get... checking if devlink has devlink_health_reporter & devlink_fmsg... checking if devlink has devlink_fmsg_binary_put... checking if devlink has devlink_fmsg_binary_pair_put... checking if struct devlink_ops has eswitch_mode_get/set... checking if struct devlink_ops.eswitch_mode_set has extack... no no no no no yes yes yes yes yes yes yes yes yes yes yes yes checking if struct devlink_ops has eswitch_ipsec_mode_set/get... checking if struct devlink_ops has eswitch_encap_mode_set/get... checking if struct devlink_ops defines eswitch_encap_mode_set/get with enum arg... checking if struct devlink_ops has eswitch_inline_mode_get/set... checking if struct devlink_ops has flash_update... checking if devlink has devlink_port_attrs_pci_pf_set... checking if struct ifla_vf_info has vlan_proto... checking if IP6_ECN_set_ce has 2 parameters... checking if dev_open has 2 parameters... checking if napi_gro_flush has 2 parameters... checking if netdev_master_upper_dev_link gets 4 parameters... checking if uapi ethtool.h has IPV6_USER_FLOW... checking if struct ethtool_ops has supported_coalesce_params... checking if struct ethtool_ops has get/set_rxfh... checking if struct ethtool_ops has get_rxfh_indir_size... checking if struct ethtool_ops_ext has get_rxfh_indir_size... checking if struct ethtool_ops has get/set_rxfh_indir... no no no no yes yes yes yes yes yes yes yes yes yes yes yes yes checking if ethtool has set_phys_id... checking if struct ethtool_ops has get/set_tunable... checking if exist struct ethtool_ops_ext... checking if struct ethtool_ops_ext has get/set_rxfh_indir... checking if ethtool.h has __ethtool_get_link_ksettings... checking if struct net_device has neigh_priv_len... checking if struct net_device has dev_port... checking if struct net_device has min/max... checking if struct net_device has needs_free_netdev... checking if struct net_device has close_list... checking if struct net_device has lower_level... checking if ktls related structs exists... checking if struct tlsdev_ops has tls_dev_resync_rx... checking if struct tlsdev_ops has tls_dev_resync... checking if memzero_explicit exists... checking if barrier_data exists... checking if skb_frag_off_add exists... no no no no yes yes yes yes yes yes yes yes yes yes yes yes yes checking if struct netdev_xdp exists... checking if struct net_device_ops has ndo_xdp... checking if struct net_device_ops has ndo_xdp_xmit... checking if struct net_device_ops has ndo_xdp_flush... checking if struct net_device_ops has ndo_xsk_wakeup... checking if struct net_device_ops_extended has ndo_xdp... checking if struct tc_cls_flower_offload exists... checking if struct tc_block_offload exists... checking if struct flow_block_offload exists... checking if struct flow_block_offload hash unlocked_driver_cb... checking if struct netlink_ext_ack exists... checking if tc_cls_common_offload has extack... checking if struct tc_block_offload has extack... checking if file include/linux/rhashtable-types.h exists... checking if struct ptp_clock_info exists... checking if struct ptp_clock_info has n_pins... checking if struct ptp_clock_info has gettimex64... no no no no no no no yes yes yes yes yes yes yes yes yes yes checking if struct ptp_clock_info has gettime... checking if struct ptp_clock_info has adjfine... checking if pci.h pci_enable_msix_range... checking if pci.h pci_bus_addr_t... checking if pci.h pci_sriov_get_totalvfs... checking if mm.h has page_is_pfmemalloc... checking if mm.h has want_init_on_alloc... checking if struct page has pfmemalloc... checking if netdevice.h has select_queue_fallback_t... checking if skbuff.h has skb_set_hash... checking if skbuff.h has skb_frag_off... checking if skbuff.h has napi_alloc_skb... checking if skbuff.h has skb_transport_header_was_set... checking if skbuff.h has build_skb... checking if skbuff.h has dev_alloc_pages... checking if skbuff.h has dev_alloc_page... checking if gfp.h has gfpflags_allow_blocking... no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if gfp.h has __alloc_pages_node... checking if gfp.h has __GFP_DIRECT_RECLAIM... checking if skbuff.h has skb_vlan_pop... checking if skbuff.h has skb_pull_inline... checking if sockios.h has SIOCGHWTSTAMP... checking if ipv6_chk_addr accepts a const second parameter... checking if skbuff.h skb_flow_dissect... checking if netdevice.h dev_change_flags has 3 parameters... checking if uaccess.h access_ok has 3 parameters... checking if mm.h put_user_pages_dirty_lock has 3 parameters... checking if mm.h put_user_pages_dirty_lock has 2 parameters... checking if skbuff.h skb_flow_dissect_flow_keys has 3 parameters... checking if ip.h inet_get_local_port_range has 3 parameters... checking if netdevice.h has enum NAPI_STATE_MISSED... checking if pci.h has enum pcie_link_width... checking if flow_dissector.h exist... checking if flow_dissector.h has FLOW_DISSECTOR_KEY_ENC_IP... no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if flow_dissector.h has dissector_uses_key... checking if flow_dissector.h has FLOW_DISSECTOR_KEY_ENC_KEYID... checking if pci.h has enum pci_bus_speed... checking if struct ifla_vf_info has linkstate... checking if pci.h enum pci_dev_flags has PCI_DEV_FLAGS_ASSIGNED... checking if switchdev.h has struct switchdev_ops... checking if switchdev.h has switchdev_port_same_parent_id... checking if netdevice.h has netif_keep_dst... checking if struct sk_buff has xmit_more... checking if struct sk_buff has decrypted... checking if struct sk_buff has encapsulation... checking if struct sk_buff has struct sock sk... checking if secpath_set returns struct sec_path *... checking if eth_get_headlen has 3 params... checking if eth_get_headlen has 2 params... checking if struct sk_buff has csum_level... checking if struct skbuff.h has skb_inner_transport_header... no no yes yes yes no no yes yes yes yes yes yes yes yes yes yes checking if struct skbuff.h has napi_consume_skb... checking if struct skbuff.h has skb_inner_transport_offset... checking if struct skbuff.h has skb_inner_network_header... checking if if_vlan.h has vlan_dev_get_egress_qos_mask... checking if if_vlan.h has vlan_get_encap_level... checking if netdevice.h has netdev_set_num_tc... checking if netdevice.h has netdev_get_num_tc... checking if netdevice.h has netdev_rx_handler_register... checking if ndo_select_queue has accel_priv... checking if ndo_select_queue has accel_priv... checking if ndo_select_queue has a second net_device parameter... checking if setapp returns int... checking if getapp returns int... checking if getnumtcs returns int... checking if include/trace/trace_events.h exists... checking if include/net/vxlan.h exists... checking if include/linux/bits.h exists... no no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if include/linux/build_bug.h exists... checking if include/net/bonding.h exists... checking if include/net/devlink.h exists... checking if include/net/switchdev.h exists... checking if tc_vlan.h has is_tcf_vlan... checking if tc_vlan.h has tcf_vlan_push_prio... checking if flow_dissector.h enum flow_dissector_key_keyid has FLOW_DISSECTOR_KEY_VLAN... checking if flow_dissector.h enum flow_dissector_key_keyid has FLOW_DISSECTOR_KEY_CVLAN... checking if flow_dissector.h enum flow_dissector_key_keyid has FLOW_DISSECTOR_KEY_IP... checking if flow_dissector.h enum flow_dissector_key_keyid has FLOW_DISSECTOR_KEY_TCP... checking if flow_dissector.h enum flow_dissector_key_keyid has FLOW_DISSECTOR_KEY_MPLS... checking if flow_dissector.h enum flow_dissector_key_keyid has FLOW_DISSECTOR_KEY_ENC_IP... checking if etherdevice.h has ether_addr_copy... checking if etherdevice.h has eth_random_addr... checking if netdev_extended has hw_features... checking if netdev_extended has dev_port... checking if netdevice.h has set_netdev_hw_features... yes no yes yes yes yes yes yes yes no yes yes yes yes yes yes yes checking if netdev_update_features exists... checking if struct net_device_ops has *ndo_set_features... checking if struct net_device_ops has *ndo_set_tx_maxrate... checking if struct net_device_ops_extended has *ndo_set_tx_maxrate... checking if struct net_device_ops_extended has *ndo_chane_mtu_extended... checking if struct net_device_ops has *ndo_chane_mtu_rh74... checking if struct net_device_extended has min/max_mtu... checking if struct net_device_ops has *ndo_setup_tc... checking if struct net_device_ops_extended has has *ndo_setup_tc_rh... checking if ndo_setup_tc takes 4 parameters... checking if ndo_setup_tc takes chain_index... checking if ndo_setup_tc takes tc_setup_type... checking if pkt_cls.h has tcf_exts_to_list... checking if pkt_cls.h has tc_setup_flow_action... checking if pkt_cls.h has tc_setup_flow_action with rtnl_held... checking if pkt_cls.h has tcf_queue_work... checking if pkt_cls.h has tcf_exts_init... no no no no no no no no no no no yes yes yes yes yes yes checking if pkt_cls.h has tcf_exts_get_dev... checking if pkt_cls.h has __tc_indr_block_cb_register... checking if pkt_cls.h has TC_CLSMATCHALL_STATS... checking if have __flow_indr_block_cb_register... checking if have flow_cls_offload_flow_rule... checking if have flow_block_cb_setup_simple... checking if have flow_block_cb_alloc... checking if have flow_setup_cb_t... checking if have netif_is_gretap... checking if have netif_is_vxlan... checking if net/tc_act/tc_mirred.h exists... checking if tc_mirred.h has is_tcf_mirred_redirect... checking if tc_mirred.h has is_tcf_mirred_egress_redirect... checking if tc_mirred.h has is_tcf_mirred_mirror... checking if tc_mirred.h has is_tcf_mirred_egress_mirror... checking if tc_mirred.h has tcf_mirred_ifindex... checking if tc_mirred.h has tcf_mirred_dev... no no no no no yes yes no yes yes yes yes yes yes yes yes yes checking if net/ipv6_stubs.h exists... checking if tc_gact.h has is_tcf_gact_goto_chain... checking if tc_gact.h has is_tcf_gact_shot... checking if tc_gact.h has is_tcf_gact_ok... checking if tc_gact.h has __is_tcf_gact_act with 3 variables... checking if tc_gact.h has __is_tcf_gact_act with 2 variables... checking if tc_skbedit.h has is_tcf_skbedit_mark... checking if struct net_device_ops has *ndo_get_iflink... checking if struct net_device_ops has *ndo_fix_features... checking if struct net_device_ops has *ndo_rx_flow_steer... checking if net_device_ops has *ndo_get_stats64 that returns void... checking if struct rtnl_link_stats64 is defined... checking if struct net_device_ops has *ndo_get_stats64... checking if netdevice.h has netdev_stats_to_stats64... checking if struct net_device_ops ndo_vlan_rx_add_vid has 3 parameters ... checking if struct net_device_ops ndo_vlan_rx_add_vid has 2 parameters and returns int... checking if struct net_device_ops has ndo_get_port_parent_id... no no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if net_device_ops_extended has ndo_get_phys_port_id... checking if struct net_device_ops_ext exist... checking if struct net_device_ops_extended exist... checking if net_device_ops has ndo_set_vf_spoofchk... checking if net_device_ops has ndo_set_vf_trust... checking if net_device_ops_extended has ndo_set_vf_trust... checking if struct net_device_ops has ndo_set_vf_vlan... checking if struct net_device_ops_extended has ndo_set_vf_vlan... checking if net_device_ops_ext has ndo_set_features... checking if net_device_ops_ext has ndo_fix_features... checking if net_device_ops_ext has ndo_set_vf_spoofchk... checking if net_device_ops has ndo_set_vf_link_state... checking if net_device_ops_ext has ndo_set_vf_link_state... checking if netdevice.h has netif_set_real_num_tx_queues... checking if netdevice.h has enum netdev_lag_tx_type... checking if netdev_get_xmit_slave exists... checking if net/lag.h exists... no no no no no no no no no no yes yes yes yes yes yes yes checking if ethtool_ext has set_phys_id... checking if struct ethtool_ops has get/set_channels... checking if struct ethtool_ops has get/set_msglevel... checking if struct ethtool_ops has get/set_link_ksettings... checking if ethtool supports 25G,50G,100G link speeds... checking if struct ethtool_ops has get/set_priv_flags... checking if ethtool supports 50G-pre-lane link modes... checking if struct ethtool_ops has get/set_settings... checking if struct ethtool_ops has get/set_flags... checking if struct ethtool_ops has get/set_tso... checking if struct ethtool_ops has get/set_sg... checking if struct ethtool_ops has get/set_tx_csum... checking if struct ethtool_ops has get/set_rx_csum... checking if struct ethtool_ops_ext has get/set_channels... checking if struct ethtool_ops has get_ts_info... checking if struct ethtool_ops_ext has get_ts_info... checking if struct ethtool_flow_ext has h_dest... no no no no no no no no no yes yes yes yes yes yes yes yes checking if TCA_VLAN_ACT_MODIFY exists... checking if ETH_MIN_MTU exists... checking if ETH_MAX_MTU exists... checking if pci.h has pci_vfs_assigned... checking if pci.h struct pci_driver has sriov_configure... checking if __vlan_hwaccel_put_tag has 3 parameters... checking if struct net_device has hw_features... checking if if_vlan.h has vlan_features_check... checking if vxlan.h has vxlan_features_check... checking if vxlan.h has vxlan_vni_field... checking if struct net_device has hw_enc_features... checking if struct net_device has mpls_features... checking if struct net_device has rx_cpu_rmap... checking if netdevice.h has IFF_UNICAST_FLT... checking if netdevice.h has IFF_RXFH_CONFIGURED... checking if netdevice.h has IFF_LIVE_ADDR_CHANGE... checking if netdevice.h has dev_uc_del... yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if netdevice.h has dev_mc_del... checking if netdevice.h has netdev_for_each_mc_addr... checking if netdevice.h has netdev_for_each_lower_dev... checking if irqdesc.h has irq_desc_get_irq_data... checking if irq.h irq_data has member affinity... checking if interrupt.h has irq_set_affinity_hint... checking if pci_dev has pcie_mpss... checking if uapi/linux/if_ether.h exist... checking if ifla_vf_info has spoofchk... checking if ifla_vf_info has trust... checking if if_link.h has IFLA_VF_IB_NODE_PORT_GUID... checking if kthread.h has struct kthread_work... checking if kthread.h has kthread_queue_work... checking if linux/time64.h exists... checking if linux/timecounter.h exists... checking if linux/timecounter.h has timecounter_adjtime... checking if linux/clocksource.h has timecounter_adjtime... no yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if netdevice.h has napi_schedule_irqoff... checking if ethtool.h enum ethtool_stringset has ETH_SS_RSS_HASH_FUNCS... checking if pkt_cls.h enum enum tc_fl_command has TC_CLSFLOWER_STATS... checking if struct tc_cls_flower_offload has stats field... checking if netdevice.h has napi_complete_done... checking if linux/inetdevice.h inet_confirm_addr has 5 parameters... checking if linux/inetdevice.h has for_ifa define... checking if netdevice.h has netdev_rss_key_fill... checking if netdevice.h has netdev_port_same_parent_id... checking if netdevice.h has struct netdev_phys_item_id... checking if cyclecounter_cyc2ns has 4 parameters... checking if netdevice.h struct net_device_ops has ndo_features_check... checking if netdevice.h struct net_device_ops has ndo_gso_check... checking if netdev_features.h has NETIF_F_HW_TLS_RX... checking if netdev_features.h has NETIF_F_RXFCS... checking if netdev_features.h has NETIF_F_HW_VLAN_STAG_RX... checking if netdev_features.h has NETIF_F_RXALL... no no no yes yes yes yes no no yes yes yes yes yes yes yes yes checking if netdev_features.h has NETIF_F_GRO_HW... checking if netdevice.h has NETIF_IS_LAG_MASTER... checking if netdevice.h has NETIF_IS_LAG_PORT... checking if netdev_features.h has NETIF_IS_BOND_MASTER... checking if if_vlan.h has vlan_gro_receive... checking if if_vlan.h has vlan_hwaccel_rx... checking if ktime.h ktime is union and has tv64... checking if skbuff.h skb_shared_info has UNION tx_flags... checking if vxlan have ndo_add_vxlan_port... checking if ndo_add_vxlan_port have udp_tunnel_info... checking if struct net_device_ops_extended has ndo_udp_tunnel_add... checking if vxlan.h has vxlan_gso_check... checking if dst.h has skb_dst_update_pmtu... checking if ipv6_stub has ipv6_dst_lookup_flow... checking if dst.h has dst_neigh_lookup... checking if netlink.h netlink_dump_control has dump... checking if netlink.h has nla_nest_start_noflag... no no no no no no yes yes no yes yes yes yes yes yes yes yes checking if netlink.h has nlmsg_validate_deprecated ... checking if netlink.h has nlmsg_parse_deprecated ... checking if netlink.h has nla_parse_deprecated ... checking if netlink.h nla_parse takes 6 parameters... checking if net/netlink.h has nla_put_u64_64bit... checking if netlink.h netlink_skb_parms has sk... checking if netlink.h has netlink_capable... checking if netlink.h netlink_kernel_cfg has input... checking if netlink_kernel_create has 3 parameters... checking if netlink.h has struct netlink_ext_ack... checking if netlink.h struct netlink_skb_parms has portid... checking if struct dcbnl_rtnl_ops has ieee_getmaxrate/ieee_setmaxrate... checking if dcbnl.h dcbnl_rtnl_ops getnumtcs returns int... checking if ethtool.h has get_module_eeprom... checking if ethtool.h has get/set_fecparam... checking if ethtool.h has set_dump... checking if ethtool.h has get_module_eeprom... yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if skbuff.h skb_add_rx_frag has 5 params... checking if skbuff.h has skb_put_zero... checking if skbuff.h has skb_clear_hash... checking if skbuff.h struct sk_buff has member l4_rxhash... checking if skbuff.h struct sk_buff has member rxhash... checking if skbuff.h struct sk_buff has member sw_hash... checking if addrconf.h has addrconf_ifid_eui48... checking if addrconf.h has addrconf_addr_eui48... checking if addrconf.h has ipv6_stub... checking if addrconf.h ipv6_dst_lookup takes net... checking if include/net/dcbnl.h struct dcbnl_rtnl_ops has *ieee_getqcn... checking if dcbnl.h has struct ieee_qcn... checking if dcbnl.h has struct ieee_pfc... checking if netdevice.h has netdev_master_upper_dev_get... checking if netdevice.h has netdev_master_upper_dev_get_rcu... checking if netdevice.h has netdev_for_each_all_upper_dev_rcu... checking if netdevice.h has netdev_walk_all_upper_dev_rcu... no no no no no no yes yes yes yes yes yes yes yes yes yes yes checking if netdevice.h has netdev_walk_all_lower_dev_rcu... checking if netdevice.h has netdev_has_upper_dev_all_rcu... checking if netdevice.h has netdev_notifier_changeupper_info... checking if build_bug.h has static_assert... checking if ip_fib.h fib_nh_notifier_info exists... checking if register_fib_notifier has 4 params... checking if function fib_info_nh exists in file net/nexthop.h... checking if linux/lockdep.h has lockdep_assert_held_exclusive... checking if linux/lockdep.h has lockdep_assert_held_write... checking if ip_fib.h fib_res_put exists... checking if ip_fib.h fib_lookup has 4 params... checking if fib_nh has fib_nh_dev... checking if struct inet6_ifaddr has member if_list... checking if inet6_hashtables.h __inet6_lookup_established has 7 params... checking if workqueue.h has __cancel_delayed_work... checking if workqueue.h has WQ_SYSFS... checking if workqueue.h has WQ_NON_REENTRANT... no no no yes yes no no yes yes yes yes yes yes yes yes yes yes checking if workqueue.h has alloc_workqueue... checking if workqueue.h has WQ_HIGHPRI... checking if workqueue.h has WQ_MEM_RECLAIM... checking if workqueue.h has WQ_UNBOUND... checking if workqueue.h has WQ_UNBOUND_MAX_ACTIVE... checking if vm_fault_t exist in mm_types.h... checking if struct mm_struct has member atomic_pinned_vm... checking if struct mm_struct has member pinned_vm... checking if uapi/linux/if_bonding.h exists... checking if sock.h has sk_clone_lock... checking if sock.h sk_wait_data has 3 parameters... checking if sock.h sk_data_ready has 2 parameters... checking if proc_fs.h has PDE_DATA... checking if route.h struct rtable has member rt_gw_family... checking if device.h struct class has member ns_type... checking if route.h struct rtable has member rt_uses_gateway... checking if Linux was built with symbol unpin_user_pages_dirty_lock exported... no checking if Linux was built with symbol compat_ptr_ioctl exported... yes checking if Linux was built with symbol get_net_ns_by_fd exported... yes checking if Linux was built with symbol flow_rule_match_cvlan exported... yes checking if Linux was built with symbol devlink_params_publish exported... yes checking if Linux was built with symbol split_page exported... yes checking if Linux was built with symbol ip6_dst_hoplimit exported... yes checking if Linux was built with symbol udp4_hwcsum exported... yes checking if Linux was built with symbol __ip_dev_find exported... yes checking if Linux was built with symbol inet_confirm_addr exported... yes checking if route.h has ip4_dst_hoplimit... no no yes yes yes yes yes no yes yes yes yes yes yes yes yes yes checking if ipv6.h has ip6_make_flowinfo... checking if Linux was built with symbol irq_to_desc exported... yes checking if Linux was built with symbol dev_pm_qos_update_user_latency_tolerance exported... yes checking if pm_qos.h has DEV_PM_QOS_RESUME_LATENCY... checking if pm_qos.h has DEV_PM_QOS_LATENCY_TOLERANCE... checking if pm_qos.h has PM_QOS_LATENCY_TOLERANCE_NO_CONSTRAINT... checking if ptp_clock_kernel.h ptp_clock_register has 2 params... checking if sock.h has skwq_has_sleeper... checking if sock.h has sk_rx_queue_get... checking if net.h sock_create_kern has 5 params... checking if pci.h pci_physfn... checking if pci.h has pci_pool_zalloc... checking if pci.h has pcie_relaxed_ordering_enabled... checking if linux/printk.h exists... checking if printk.h has print_hex_dump_debug... checking if struct netdevice.h has NETIF_F_RXHASH... checking if netdev_features.h has NETIF_F_GSO_IPXIP6... checking if netdev_features.h has ... checking if struct netdev_features.h has NETIF_F_RXHASH... yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if struct netdev_features.h has NETIF_F_GSO_UDP_TUNNEL... checking if struct netdev_features.h has NETIF_F_GSO_UDP_TUNNEL_CSUM... checking if struct netdev_features.h has NETIF_F_GSO_GRE_CSUM... checking if struct netdev_features.h has NETIF_F_GSO_PARTIAL... checking if iova.h has struct iova_rcache... checking if if_vlan.h has is_vlan_dev... checking if if_vlan.h has is_vlan_dev get const... checking if struct net_device_ops has *ndo_bridge_setlink... checking if struct net_device_ops has *ndo_bridge_setlink... checking if struct net_device_ops has *ndo_bridge_getlink... checking if struct net_device_ops has *ndo_bridge_getlink... checking if include/linux/rtnetlink.h has ndo_dflt_bridge_getlink... checking if include/linux/rtnetlink.h has ndo_dflt_bridge_getlink... checking if include/linux/rtnetlink.h has ndo_dflt_bridge_getlink... checking if include/linux/rtnetlink.h has ndo_dflt_bridge_getlink... checking if struct net_device_ops has *ndo_set_vf_mac... checking if struct net_device_ops has *ndo_get_vf_stats... no no no no yes yes yes yes yes no yes yes yes yes yes yes yes checking if struct net_device_ops has *ndo_set_vf_guid... checking if ndo_tx_timeout get 2 params... checking if struct net_device_ops has *ndo_get_vf_guid... checking if if_link.h struct has struct ifla_vf_stats... checking if if_link.h struct has struct ifla_vf_guid... checking if pci.h has pci_num_vf... checking if pci.h has pci_irq_get_node... checking if pci.h has pci_irq_get_affinity... checking if Linux was built with symbol elfcorehdr_addr exported... yes checking if Linux was built with symbol fib_lookup exported... no checking if Linux was built with symbol idr_get_next_ul exported... yes checking if Linux was built with symbol idr_get_next exported... yes checking if idr struct has idr_rt... checking if idr_remove return value exists... checking if idr.h has idr_for_each_entry... checking if idr.h has idr_preload_end... checking if idr.h has idr_alloc... checking if idr.h has ida_is_empty... checking if idr.h has idr_is_empty... checking if idr.h has ida_simple_get... checking if xarray is defined... no no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if nospec.h has array_index_nospec... checking if idr.h has ida_alloc... checking if idr.h has ida_alloc_max... checking if random.h has prandom_u32... checking if timekeeping.h has ktime_get_real_ns... checking if scsi_transfer_length is defind... checking if string.h has strnicmp... checking if string.h has kfree_const... checking if string.h has strscpy_pad... checking if alloc_etherdev_mq is defined... checking if netif_set_real_num_rx_queues is defined... checking if struct dcbnl_rtnl_ops has get/set ets and dcbnl defined... checking if struct dcbnl_rtnl_ops has dcbnl_get/set buffer... checking if list.h hlist_for_each_entry has 3 params... checking if device.h has dev_vprintk_emit... checking if device.h struct class has dev_groups... checking if device.h struct class has class_groups... no yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if mm.h struct vm_operations_struct has .fault... checking if device.h class devnode gets umode_t... checking if device.h CLASS_ATTR_STRING... checking if device.h struct device has dma_ops... checking if device.h(ppc) has get_dma_offset... checking if device.h(ppc) has struct dev_arch_dmadata... checking if device.h(ppc) has struct dev_archdata with dma_data union and dma_offset in it... checking if file.h has fdget... checking if file.h has get_unused_fd_flags... checking if flow.h has flowi4, flowi6 - AF specific instances... checking if pat.h has pat_enabled as a function... checking if icmpv6.h icmpv6_send has 4 parameters... checking if dst_ops.h update_pmtu has 4 parameters... checking if rtnetlink.h rtnl_link_ops newlink has 4 paramters... checking if rtnetlink.h rtnl_link_ops newlink has 5 paramters... checking if linux/ipv6.h has ipv6_mod_enabled... checking if ipv6.h has ipv6_addr_copy... no no no no yes yes no yes yes yes yes yes yes yes yes yes yes checking if net/flow_keys.h exists... checking if asm/memtype.h exists... checking if asm/pat.h exists... checking if netdevice.h has netif_tx_queue_stopped... checking if netdevice.h has netif_trans_update... checking if include/linux/inet_lro.h exists... checking if netdevice.h has netif_xmit_stopped... checking if netdevice.h has netdev_xmit_more... checking if netdevice.h has netdev_get_tx_queue... checking if netdevice.h alloc_netdev_mqs has 5 params... checking if netdevice.h alloc_netdev_mq has 4 params... checking if mm.h get_user_pages has 8 params... checking if mm.h has FOLL_LONGTERM... checking if mm.h has kvzalloc... checking if mm.h has mmget... checking if sched/mm.h has mmget_not_zero... checking if mm.h has mmget_not_zero... no no no no no no yes yes yes no yes yes yes yes yes yes yes checking if mm.h has mmgrab... checking if mm.h has kvmalloc_array... checking if mm.h has kvmalloc_node... checking if mm.h has kvmalloc... checking if mm.h has kvzalloc_node... checking if mm.h has kvcalloc... checking if mm_types.h struct page has _count... checking if configfs.h default_groups is list_head... checking if include/linux/irq_poll.h exists... checking if slab.h has kmalloc_array... checking if kernel.h has reciprocal_scale... checking if linux/dma-mapping.h has struct dma_attrs... checking if linux/proc_fs.h has struct proc_ops... checking if struct blk_mq_ops has map_queue... checking if linux/blk-mq.h has blk_mq_freeze_queue_wait_timeout... checking if linux/blk-mq.h has blk_mq_freeze_queue_wait... checking if struct blk_mq_ops has map_queues... no no no no yes yes yes yes yes yes yes yes yes yes yes yes yes checking if include/linux/blk-mq-pci.h exists... checking if dma-mapping.h has DMA_ATTR_NO_WARN... checking if dma-mapping.h has dma_zalloc_coherent function... checking if dma-mapping.h has dma_alloc_attrs takes unsigned long attrs... checking if filter.h has struct xdp_buff... checking if filter.h struct xdp_buff has data_hard_start... checking if net/xdp.h has struct xdp_frame... checking if net/xdp_sock.h has xsk_umem_release_addr_rq... checking if net/xdp_sock.h has xsk_umem_adjust_offset... checking if net/xdp_sock.h has xsk_umem_consume_tx get 2 params... checking if filter.h has xdp_set_data_meta_invalid... checking if scsi.h has SG_MAX_SEGMENTS... checking if scsi_device.h has enum scsi_scan_mode... checking if scsi_device.h has blist_flags_t... checking if iscsi_transport.h struct iscsit_transport has member rdma_shutdown... checking if iscsi_transport.h struct iscsit_transport has member iscsit_get_rx_pdu... checking if iscsi_target_core.h struct iscsi_conn has member login_sockaddr... no yes yes no yes yes yes yes yes yes yes yes yes yes yes yes yes checking if iscsi_target_core.h struct iscsi_conn has member local_sockaddr... checking if blk_queue_virt_boundary exist... checking if linux/blkdev.h has blk_rq_is_passthrough... checking if target_put_sess_cmd has 1 parameter... checking if scsi_device.h has scsi_change_queue_depth... checking if scsi_host.h struct scsi_host_template has member track_queue_depth... checking if blk-mq.h has blk_mq_unique_tag... checking if scsi_host.h struct Scsi_Host has member nr_hw_queues... checking if scsi_host.h struct Scsi_Host has member max_segment_size... checking if scsi_host.h struct Scsi_Host has member virt_boundary_mask... checking if iscsi_target_core and iscsi_target_stat.h are under include/... checking if iscsi_target_core.h has iscsit_find_cmd_from_itt... checking if scsi_cmnd.h struct scsi_cmnd has member prot_flags... checking if scsi_transport_iscsi.h struct iscsi_transport has member check_protection... checking if iscsi_transport.h struct iscsit_transport has member iscsit_get_sup_prot_ops... checking if target_core_base.h struct se_cmd has member prot_checks... checking if target_core_fabric.h has target_reverse_dma_direction function... yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if types.h has cycle_t... checking if linux/clocksource.h has cycle_t... checking if scsi_device.h struct scsi_device has member state_mutex... checking if net_namespace.h has register_net_sysctl... checking if netlink.h has netlink_ns_capable... checking if scsi_host.h struct scsi_host_template has member use_blk_tags... checking if scsi_host.h struct scsi_host_template has member change_queue_type... checking if scsi_host.h struct scsi_host_template has member use_host_wide_tags... checking if target_core_base.h se_cmd transport_complete_callback has three params... checking if target_core_base.h se_cmd supports compare_and_write... checking if uapi/linux/lightnvm.h has struct nvm_user_vio... checking if blkdev.h struct request has rq_flags... checking if blk-mq.h blk_mq_requeue_request has 2 parameters... checking if blkdev.h has blk_mq_quiesce_queue... checking if blk-mq.h has BLK_MQ_F_NO_SCHED... checking if blkdev.h has blk_rq_nr_phys_segments... checking if blkdev.h has blk_rq_payload_bytes... no no no no no yes yes yes yes yes yes yes yes yes yes yes yes checking if blkdev.h has req_op... checking if blkdev.h has blk_rq_nr_discard_segments... checking if pci_ids.h has PCI_CLASS_STORAGE_EXPRESS... checking if linux/blk_types.h has REQ_OP_DRV_OUT... checking if linux/blk_types.h has blk_mq_req_flags_t... checking if linux/cgroup_rdma.h exists... checking if linux/pci-p2pdma.h exists... checking if trace/events/rdma_core.h exists... checking if pci-p2pdma.h has pci_p2pdma_unmap_sg... checking if linux/sched/signal.h exists... checking if linux/sched.h exists... checking if linux/sched/mm.h exists... checking if memalloc_noio_save defined... checking if linux/sched/task.h exists... checking if net/ip_tunnels.h has struct ip_tunnel_info... checking if linux/hashtable.h exists... checking if linux/bpf_trace exists... no yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if linux/bpf_trace has trace_xdp_exception... checking if linux/bpf.h exists... checking if Linux was built with symbol tcf_exts_num_actions exported... yes checking if Linux was built with symbol netpoll_poll_dev exported... yes checking if Linux was built with symbol bpf_prog_inc exported... yes checking if Linux was built with symbol __put_task_struct exported... yes checking if Linux was built with symbol get_pid_task exported... yes checking if Linux was built with symbol get_task_pid exported... yes checking if Linux was built with symbol get_task_comm exported... no checking if Linux was built with symbol __get_task_comm exported... yes checking if linux/bpf.h has bpf_prog_sub... checking if linux/bpf.h bpf_prog_aux has feild id... checking if bpf_prog_add\bfs_prog_inc functions return struct... checking if linux/bpf.h has XDP_REDIRECT... checking if struct tc_cls_flower_offload has common... checking if struct tc_to_netdev has egress_dev... checking if struct tc_cls_flower_offload has egress_dev... checking if struct flow_cls_offload exists... checking if flow_rule_match_meta exists... checking if FLOW_ACTION_POLICE exists... checking if FLOW_ACTION_CT exists... checking if FLOW_ACTION_PRIORITY exists... checking if NUM_FLOW_ACTIONS exists... checking if flow_indr_dev_register exist... checking if flow_stats_update has 5 parameters... no no no no no yes yes yes yes yes yes yes yes yes yes yes yes checking if struct tc_to_netdev has tc... checking if ndo_has_offload_stats gets net_device... checking if net_device_ops_extended has ndo_has_offload_stats... checking if ndo_get_offload_stats defined... checking if struct net_device_ops_extended has ndo_get_offload_stats... checking if struct mlx5e_netdev_ops has ndo_tx_timeout get 2 params... checking if ib_umem_notifier_invalidate_range_start has parameter blockable... checking if netdevice.h has struct netdev_notifier_info... checking if netdevice.h has field upper_info in struct netdev_notifier_changeupper_info... checking if net/tc_act/tc_tunnel_key.h exists... checking if net/tc_act/tc_tunnel_key.h has tcf_tunnel_info... checking if net/tc_act/tc_pedit.h has tcf_pedit_nkeys... checking if net/tc_act/tc_pedit.h struct tcf_pedit has member tcfp_keys_ex... checking if scsi_device.h has function scsi_internal_device_block... checking if libiscsi.h has iscsi_eh_cmd_timed_out... checking if linux/sed-opal.h exists... checking if bio.h bio_init has 3 parameters... no no no no no no no no yes yes yes yes yes yes yes yes yes checking if blk_types.h has REQ_IDLE... checking if blkdev.h has __blkdev_issue_zeroout... checking if compiler.h has const __read_once_size... checking if configfs_item_operations drop_link returns int... checking if argument 3 of config_group_init_type_name should const... checking if linux/nvme-fc-driver.h exists... checking if linux/blk-mq.h has blk_freeze_queue_start... checking if linux/blk-mq.h blk_mq_complete_request has 2 parameters... checking if linux/blk-mq.h blk_mq_ops init_request has 4 parameters... checking if linux/blk-mq.h blk_mq_ops exit_request has 3 parameters... checking if linux/blk-mq.h blk_mq_tag_set has member map... checking if linux/blk-mq.h blk_mq_tag_set has member ops is const... checking if linux/blkdev.h has blk_queue_max_write_zeroes_sectors... checking if linux/pci.h has pci_free_irq... checking if linux/security.h has register_lsm_notifier... checking if linux/security.h has register_blocking_lsm_notifier... checking if linux/cdev.h has cdev_set_parent... no no no no yes yes yes yes yes yes yes yes yes yes yes yes yes checking if linux/atomic.h has __atomic_add_unless... checking if linux/atomic.h has atomic_fetch_add_unless... checking if linux/net_tstamp.h has HWTSTAMP_FILTER_NTP_ALL... checking if net/pkt_cls.h has tcf_exts_stats_update... checking if struct tcf_exts has actions as array... checking if net/pkt_cls.h has tc_cls_can_offload_and_chain0... checking if linux/tc_act/tc_csum.h has TCA_CSUM_UPDATE_FLAG_IPV4HDR... checking if net/tc_act/tc_sum.h has is_tcf_csum... checking if struct tc_action_ops has id... checking if struct tcf_common exists... checking if tcf_hash helper functions have tcf_hashinfo parameter... checking if uapi/linux/nvme_ioctl.h has NVME_IOCTL_RESCAN... checking if refcount.h exists... checking if firmware.h has request_firmware_direct... checking if nodemask.h has N_MEMORY... checking if topology.h has numa_mem_id... checking if uapi/linux/netlink.h exists... no no yes yes yes no yes yes yes yes yes yes yes yes yes yes yes checking if linux/xz.h exists... checking if linux/pr.h exists... checking if linux/t10-pi.h exists... checking if pm.h struct dev_pm_info has member set_latency_tolerance... checking if linux/blk-mq.h blk_mq_alloc_request has 3 parameters... checking if blkdev.h has REQ_TYPE_DRV_PRIV... checking if blkdev.h blk_add_request_payload has 4 parameters... checking if linux/blk_types.h has REQ_OP_FLUSH... checking if linux/blk_types.h has REQ_OP_DISCARD... checking if linux/blk_types.h has blk_status_t... checking if bio.h struct bio_integrity_payload has member bip_iter... checking if blkdev.h has BLK_INTEGRITY_DEVICE_CAPABLE... checking if blkdev.h has BLK_MAX_WRITE_HINTS... checking if blkdev.h has blk_rq_append_bio... checking if blkdev.h has blk_init_request_from_bio... checking if device.h has device_remove_file_self... checking if genhd.h has device_add_disk... no no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if genhd.h has device_add_disk 3 args... checking if linux/blk-mq.h has blk_mq_unquiesce_queue... checking if linux/blk-mq.h has blk_mq_alloc_request_hctx... checking if linux/lightnvm.h exists... checking if pci.h struct pci_error_handlers has reset_notify... checking if scsi.h has SCSI_MAX_SG_SEGMENTS... checking if linux/scatterlist.h sg_alloc_table_chained has 4 parameters... checking if linux/scatterlist.h has sgl_free... checking if linux/scatterlist.h has sgl_alloc... checking if linux/scatterlist.h has sg_page_iter... checking if linux/scatterlist.h has sg_zero_buffer... checking if linux/uuid.h has uuid_gen... checking if linux/uuid.h has uuid_is_null... checking if linux/uuid.h has uuid_be_to_bin... checking if linux/uuid.h has uuid_equal... checking if linux/inet.h inet_pton_with_scope... checking if uapi/linux/nvme_ioctl.h exists... no no no no yes yes yes yes yes no yes yes yes yes yes yes yes checking if blkdev.h has QUEUE_FLAG_WC_FUA... checking if linux/scatterlist.h sg_alloc_table_chained has 3 parameters... checking if linux/blk-mq.h has blk_mq_tagset_busy_iter... checking if struct request_queue has q_usage_counter... checking if string.h has memdup_user_nul... checking if radix-tree.h has struct radix_tree_node... checking if radix-tree.h has radix_tree_next_chunk... checking if radix-tree.h hasradix_tree_is_internal_node... checking if radix-tree.h has radix_tree_iter_delete... checking if radix-tree.h has radix_tree_iter_lookup... checking if blkdev.h has blk_queue_write_cache... checking if linux/blk-mq.h has blk_mq_all_tag_busy_iter... checking if linux/blk-mq.h has blk_mq_update_nr_hw_queues... checking if linux/blk-mq.h has blk_mq_map_queues... checking if etherdevice.h has alloc_etherdev_mqs, alloc_etherdev_mqs, num_tc... checking if netdevice.h has netdev_set_tc_queue... checking if netdevice.h has netif_is_rxfh_configured... no no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if netdevice.h has enum tc_setup_type... checking if netdevice.h has TC_SETUP_QDISC_MQPRIO... checking if netdevice.h has TC_SETUP_FT... checking if pr_debug_ratelimited is defined... checking if pr_debug_ratelimited is defined... checking if iscsit_set_unsolicited_dataout is defined... checking if mmu_notifier.h has mmu_notifier_call_srcu... checking if mmu_notifier.h has mmu_notifier_synchronize... checking if mmu_notifier.h has mmu_notifier_range_blockable... checking if struct mmu_notifier_ops has free_notifier ... checking if ib_umem_notifier_invalidate_range_start get struct mmu_notifier_range ... checking if mmu_notifier.h has mmu_notifier_unregister_no_release... checking if have mmu interval notifier... checking if struct mmu_notifier_ops has invalidate_page... checking if include/linux/sizes.h exists... checking if blk_mq_end_request accepts blk_status_t as second parameter... checking if linux/blk_types.h has REQ_INTEGRITY... no no no no no no no yes yes yes yes yes yes yes yes yes yes checking if linux/bio.h bio_endio has 1 parameter... checking if blkdev.h has __blkdev_issue_discard... checking if linux/bio.h submit_bio has 1 parameter... checking if struct bio has member bi_iter... checking if struct bio has member bi_disk... checking if struct bio has member bi_error... checking if struct ifla_vf_stats has member tx_broadcast... checking if struct ifla_vf_stats has rx_dropped and tx_dropped... checking if linux/moduleparam.h has member param_ops_ullong... checking if fs.h has stream_open... checking if vfs_getattr has 4 params... checking if linux/fs.h has struct kiocb definition... checking if linux/blk_types.h has struct bio_aux... checking if linux/pci.h has pci_irq_vector, pci_free_irq_vectors, pci_alloc_irq_vectors... checking if pci.h struct pci_error_handlers has reset_prepare... checking if pci.h struct pci_error_handlers has reset_done... checking if linux/io-64-nonatomic-lo-hi.h exists... no no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if pci.h has pci_request_mem_regions... checking if pci.h has pci_release_mem_regions... checking if pci.h pcie_get_minimum_link... checking if pci.h pcie_print_link_status... checking if pci.h pci_upstream_bridge... checking if pnv-pci.h has pnv_pci_set_p2p... checking if pnv-pci.h has pnv_pci_enable_tunnel... checking if rbtree.h has struct rb_root_cached... checking if rbtree.h has rb_first_postorder... checking if Linux was built with symbol interval_tree_insert exported... yes checking if INTERVAL_TREE takes rb_root... checking if timer.h has timer_setup... checking if dmapool.h has dma_pool_zalloc... checking if trace_seq.h has trace_seq_buffer_ptr... checking if act_apt.h tc_setup_cb_egdev_register... checking if act_api.h has tcf_action_stats_update... checking if include/linux/once.h exists... checking if linux/blk_types.h has blk_path_error... no no no no no yes no yes yes yes yes yes yes yes yes yes yes checking if slab.h has kcalloc_node... checking if slab.h has kmalloc_array_node... checking if kref.h has kref_get_unless_zero... checking if kref.h has kref_read... checking if linux/inet.h has inet_addr_is_any... checking if linux/blkdev.h has bdev_write_zeroes_sectors... checking if linux/blkdev.h has blk_queue_flag_set... checking if include/linux/blk-mq-pci.h has blk_mq_pci_map_queues... checking if ndo_add_slave has 3 parameters... checking if netdev_master_upper_dev_link gets 5 parameters... checking if linux/blkdev.h has BLK_EH_DONE... checking if netdevice.h has netdev_reg_state... checking if struct xfrmdev_ops has member xdo_dev_state_advance_esn... checking if interrupt.h has irq_calc_affinity_vectors with 3 args... checking if linux/overflow.h exists... checking if linux/rtnetlink.h has net_rwsem... checking if linux/net/ip6_route.h rt6_lookup takes 6 params... yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if type __poll_t is defined... checking if net/xdp.h has xdp_convert_buff_to_frame... checking if net/netlink.h NLA_S32 is defined... checking if net/xdp.h exists... checking if net/xdp.h has convert_to_xdp_frame... checking if net/xdp.h has xdp_rxq_info_reg_mem_model... checking if net/geneve.h exists... checking if net/page_pool.h exists... checking if net/page_pool.h has page_pool_release_page... checking if net/page_pool.h has page_pool_nid_changed... checking if net/tls.h exists... checking if uapi/linux/tls.h exists... checking if net/tls.h has tls_offload_context_tx... checking if net/tls.h has tls_offload_context_rx... checking if net/tls.h has tls_offload_rx_resync_request... checking if net/tls.h has tls_driver_ctx... checking if net/tls.h has tls_offload_rx_force_resync_request... no no yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if smp_load_acquire is defined... checking if Linux was built with symbol idr_preload exported... yes checking if Linux was built with symbol radix_tree_iter_delete exported... yes checking if Linux was built with symbol kobj_ns_grab_current exported... yes checking if linux/blk_types.h has REQ_DRV... checking if blk_alloc_queue_node has 3 args... checking if have blk_queue_make_request... checking if have put_unaligned_le24... checking for include/linux/part_stat.h... checking if pci.h has pci_enable_atomic_ops_to_root... checking if pci.h has pci_cfg_access_lock... checking if string.h has kstrtobool... checking if struct blk_mq_ops has poll... checking if struct iscsi_session has discovery_sess... checking if select_queue_fallback_t has third parameter... checking if t10_pi_ref_tag() exists... checking if blkdev.h has QUEUE_FLAG_PCI_P2PDMA... checking if mm.h has mmget_still_valid... checking if linux/sched.h has mmget_still_valid... checking if linux/mm.h has mmget_still_valid... no no no no yes yes no yes yes yes yes yes yes yes yes yes yes checking if mm.h has is_pci_p2pdma_page... checking if t10-pi.h has t10_pi_prepare... checking if struct request_queue has integrity... checking if linux/bio.h has bip_get_seed... checking if t10-pi.h has enum t10_dif_type... checking if struct blk_integrity has sector_size... checking if need expose current_link_speed/width in sysfs... checking if uapi/linux/pkt_cls.h has TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT... checking if uapi/linux/pkt_cls.h has TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST... checking if uapi/linux/pkt_cls.h has TCA_FLOWER_KEY_SCTP_SRC_MASK... checking if uapi/linux/pkt_cls.h has TCA_FLOWER_KEY_MPLS_TTL... checking if uapi/linux/pkt_cls.h has TCA_FLOWER_KEY_CVLAN_ID... checking if TCA_TUNNEL_KEY_ENC_TOS exists... checking if TCA_TUNNEL_KEY_ENC_DST_PORT exists... checking if linux/blk-mq.h has struct blk_mq_queue_map... checking if linux/blk-mq.h has busy_tag_iter_fn return bool... checking if linux/blk-mq.h has poll_fn 1 arg... no no no no yes yes yes yes yes yes yes yes yes yes yes yes yes checking if struct Qdisc_ops has ingress_block_set net/sch_generic.h ... checking if uuid.h has guid_parse... checking if bitmap.h has bitmap_kzalloc... checking if bitmap.h has bitmap_free... checking if bitmap.h has bitmap_from_arr32... checking if dma-mapping.h struct dma_map_ops has cache_sync... checking if dma-mapping.h struct dma_map_ops has map_resource... checking if dma_map_ops has unmap_resource get long attrs... checking if dma-mapping.h has dma_map_page_attrs... checking if dma-mapping.h has set_dma_ops... checking if tc_cls_common_offload has handle... checking if built in flower supports multi mask per prio... checking if blk-mq.h has enum hctx_type... checking if blk-mq.h has blk_mq_complete_request_sync... checking if scsi/scsi_transport_fc.h has FC_PORT_ROLE_NVME_TARGET... checking if linux/blk_types.h has REQ_HIPRI... checking if struct blk_mq_ops has commit_rqs... no yes no yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking if struct irq_affinity has priv... checking if fs.h has IOCB_NOWAIT... checking if dma-attrs.h has struct dma_attrs... checking if linux/blk-mq.h has blk_mq_delay_kick_requeue_list... checking if linux/blk_types.h has op_is_write... checking if dma_map_bvec exist... checking if linux/scatterlist.h sg_alloc_table_chained has nents_first_chunk parameter... checking if linux/blk-mq-rdma.h has blk_mq_rdma_map_queues with map... checking if linux/blk-mq.h has request_to_qc_t... checking if linux/blk-mq.h has blk_mq_request_completed... checking if blkdev.h has enum mq_rq_state... checking if linux/blk-mq.h has blk_mq_tagset_wait_completed_request... checking if linux/net.h has kernel_getsockname 2 parameters... checking if uapi/linux/eventpoll.h exists... checking if *xpo_secure_port returns void... checking if svc_fill_write_vector existing in svc.h... checking if *send_request has 'struct rpc_rqst *req' as a param... no yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes checking for rpc_reply_expected... checking for xprt_request_get_cong... checking for "xpt_remotebuf" inside "struct svc_xprt"... checking for "xpo_prep_reply_hdr" inside "struct svc_xprt_ops"... checking for "free_slot" inside "struct rpc_xprt_ops"... checking for "set_retrans_timeout" inside "struct rpc_xprt_ops"... checking for "wait_for_reply_request" inside "struct rpc_xprt_ops"... checking for "queue_lock" inside "struct rpc_xprt"... checking if 'struct rpc_xprt_ops *ops' field is const inside 'struct rpc_xprt'... checking if 'struct svc_xprt_ops *xcl_ops' field is const inside 'struct svc_xprt_class'... checking if xprt_wait_for_buffer_space has xprt as a parameter... checking for "recv_lock" inside "struct rpc_xprt"... checking if Linux was built with symbol xprt_reconnect_delay exported... yes checking for "bc_num_slots" inside "struct rpc_xprt_ops"... checking for "bc_up" inside "struct rpc_xprt_ops"... checking if linux/sysctl.h has SYSCTL_ZERO... checking if defined XDRBUF_SPARSE_PAGES... checking if xdr_init_encode has rqst as a parameter... no no no no yes yes yes yes yes yes yes yes yes yes yes yes yes checking if xdr_init_decode has rqst as a parameter... checking if xdr_stream_remaining as defined... checking if sg_alloc_table_chained has 4 params... checking if Linux was built with symbol xprt_pin_rqst exported... yes checking if Linux was built with symbol nvm_alloc_dev exported... yes checking for trace/events/rpcrdma.h... checking if blkdev.h struct request_queue has timeout_work... checking if netdevice.h has __netdev_tx_sent_queue... checking if synchronize_net done when updating netdev queues... checking if flow_dissector.h enum flow_dissector_key_keyid has FLOW_DISSECTOR_KEY_ENC_OPTS... checking if flow_dissector.h enum flow_dissector_key_keyid has FLOW_DISSECTOR_KEY_META... checking if netif_is_geneve exists... checking if linux/blkdev.h has req_bvec... checking if linux/blkdev.h has QUEUE_FLAG_QUIESCED... checking if pci-p2pdma.h has pci_p2pdma_map_sg_attrs... checking if uapi/linux/nvme_ioctl.h has struct nvme_passthru_cmd64... checking if rculist.h list_for_each_entry_rcu has 4 params... checking if linux/blk_types.h has op_is_sync... checking if linux/suspend.h has pm_suspend_via_firmware... yes yes yes yes no yes yes yes yes yes yes yes yes yes no yes yes checking if linux/dma-mapping.h has dma_max_mapping_size... checking if struct request_queue has backing_dev_info... checking if linux/skbuff.h has skb_queue_empty_lockless... checking if linux/pci.h has pcie_aspm_enabled... checking if include/linux/units.h exists... checking if blkdev.h struct request has mq_hctx... checking if linux/blkdev.h has bio_integrity_bytes... checking if linux/compat.h has in_compat_syscall... checking if linux/compat.h has compat_uptr_t... checking if include/net/esp.h has esp_output_fill_trailer... checking if ptp_find_pin_unlocked is defined... no no no yes yes yes yes yes yes yes yes yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands CC: gcc LD: ld CFLAGS: -g -O2 EXTRA_KCFLAGS: -include /var/lib/dkms/mlnx-ofed-kernel/5.1/build/compat/config.h Type 'make' to build kernel modules. Building kernel modules Kernel version: 5.4.0-67-generic Modules directory: /lib/modules/5.4.0-67-generic/extra/mlnx-ofa_kernel Kernel build: /lib/modules/5.4.0-67-generic/build Kernel sources: /lib/modules/5.4.0-67-generic/build env CWD=/var/lib/dkms/mlnx-ofed-kernel/5.1/build BACKPORT_INCLUDES= \ make -C /lib/modules/5.4.0-67-generic/build M="/var/lib/dkms/mlnx-ofed-kernel/5.1/build" \ V=0 KBUILD_NOCMDDEP=1 \ CONFIG_COMPAT_VERSION= \ CONFIG_COMPAT_KOBJECT_BACKPORT= \ CONFIG_MEMTRACK= \ CONFIG_DEBUG_INFO=y \ CONFIG_INFINIBAND=m \ CONFIG_INFINIBAND_CORE_DUMMY= \ CONFIG_INFINIBAND_IPOIB=m \ CONFIG_IPOIB_VERSION= \ CONFIG_INFINIBAND_IPOIB_CM=y \ CONFIG_IPOIB_ALL_MULTI= \ CONFIG_INFINIBAND_MLNX_BX= \ CONFIG_INFINIBAND_SRP= \ CONFIG_INFINIBAND_SRP_DUMMY= \ CONFIG_RDMA_RXE= \ CONFIG_RDMA_RXE_DUMMY= \ CONFIG_NVME_CORE= \ CONFIG_NVME_HOST_WITHOUT_FC= \ CONFIG_BLK_DEV_NVME= \ CONFIG_NVME_FABRICS= \ CONFIG_NVME_FC= \ CONFIG_NVME_RDMA= \ CONFIG_NVME_TCP= \ CONFIG_NVME_MULTIPATH= \ CONFIG_NVME_HOST_DUMMY= \ CONFIG_NVME_TARGET= \ CONFIG_NVME_TARGET_LOOP= \ CONFIG_NVME_TARGET_RDMA= \ CONFIG_NVME_TARGET_TCP= \ CONFIG_NVME_TARGET_FC= \ CONFIG_NVME_TARGET_FCLOOP= \ CONFIG_NVME_TARGET_DUMMY= \ CONFIG_SCSI_SRP_ATTRS= \ CONFIG_INFINIBAND_USER_MAD=m \ CONFIG_INFINIBAND_USER_ACCESS=m \ CONFIG_INFINIBAND_USER_ACCESS_UCM=m \ CONFIG_INFINIBAND_USER_MEM=y \ CONFIG_INFINIBAND_ADDR_TRANS=y \ CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y \ CONFIG_INFINIBAND_IPOIB_DEBUG=y \ CONFIG_INFINIBAND_ISERT= \ CONFIG_INFINIBAND_ISERT_DUMMY= \ CONFIG_INFINIBAND_ISER= \ CONFIG_INFINIBAND_ISER_DUMMY= \ CONFIG_SCSI_ISCSI_ATTRS= \ CONFIG_ISCSI_TCP= \ CONFIG_INFINIBAND_IPOIB_DEBUG_DATA= \ CONFIG_INFINIBAND_SDP_SEND_ZCOPY= \ CONFIG_INFINIBAND_SDP_RECV_ZCOPY= \ CONFIG_INFINIBAND_SDP_DEBUG= \ CONFIG_INFINIBAND_SDP_DEBUG_DATA= \ CONFIG_INFINIBAND_MADEYE= \ CONFIG_MLXFW=m \ CONFIG_MLX5_CORE=m \ CONFIG_MLX5_ACCEL=y \ CONFIG_MLX5_EN_TLS=y \ CONFIG_MLX5_TLS=y \ CONFIG_MLX5_FPGA_TLS=y \ CONFIG_MLX5_FPGA_IPSEC=y \ CONFIG_MLX5_IPSEC=y \ CONFIG_MLX5_EN_IPSEC=y \ CONFIG_MLX5_FPGA=y \ CONFIG_MLX5_FPGA_TOOLS=m \ CONFIG_MLX5_CORE_EN=y \ CONFIG_MLX5_CORE_EN_DCB=y \ CONFIG_MLX5_EN_ARFS=y \ CONFIG_MLX5_EN_RXNFC=y \ CONFIG_MLX5_MPFS=y \ CONFIG_MLX5_ESWITCH=y \ CONFIG_MLX5_CLS_ACT=y \ CONFIG_MLX5_TC_CT=n \ CONFIG_MLX5_SW_STEERING=y \ CONFIG_MLX5_CORE_IPOIB=y \ CONFIG_MLX5_MDEV=y \ CONFIG_VFIO_MDEV=m \ CONFIG_VFIO_MDEV_DEVICE=m \ CONFIG_MLX5_INFINIBAND=m \ CONFIG_MLX5_DEBUG=y \ CONFIG_SUNRPC_XPRT_RDMA= \ CONFIG_SUNRPC_XPRT_RDMA_DUMMY= \ CONFIG_DTRACE= \ CONFIG_CTF= \ CONFIG_INFINIBAND_ON_DEMAND_PAGING=y \ CONFIG_BF_DEVICE_EMULATION= \ CONFIG_BF_POWER_FAILURE_EVENT= \ CONFIG_GPU_DIRECT_STORAGE= \ CONFIG_ENABLE_MLX5_FS_DEBUGFS= \ LINUXINCLUDE=' \ -D__OFED_BUILD__ \ -D__KERNEL__ \ -DCOMPAT_BASE="\"mlnx-ofa_kernel-compat-20201104-1813-6e51c68\"" -DCOMPAT_BASE_TREE="\"mlnx_ofed/mlnx-ofa_kernel-4.0.git\"" -DCOMPAT_BASE_TREE_VERSION="\"6e51c68\"" -DCOMPAT_PROJECT="\"Compat-mlnx-ofed\"" -DCOMPAT_VERSION="\"6e51c68\"" -DMLX_DISABLE_TRACEPOINTS \ -include /lib/modules/5.4.0-67-generic/build/include/generated/autoconf.h \ -include /lib/modules/5.4.0-67-generic/build/include/linux/kconfig.h \ -include /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h \ \ \ \ -I/var/lib/dkms/mlnx-ofed-kernel/5.1/build/include \ -I/var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/uapi \ -I/var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/debug \ $(if $(CONFIG_XEN),-D__XEN_INTERFACE_VERSION__=$(CONFIG_XEN_INTERFACE_VERSION)) \ $(if $(CONFIG_XEN),-I$(srctree)/arch/x86/include/mach-xen) \ -I$(srctree)/arch/$(SRCARCH)/include \ -Iarch/$(SRCARCH)/include/generated \ -Iinclude \ -I$(srctree)/arch/$(SRCARCH)/include/uapi \ -Iarch/$(SRCARCH)/include/generated/uapi \ -I$(srctree)/include \ -I$(srctree)/include/uapi \ -Iinclude/generated/uapi \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ -I$(srctree)/arch/$(SRCARCH)/include \ -Iarch/$(SRCARCH)/include/generated \ ' \ modules make[1]: Entering directory '/usr/src/linux-headers-5.4.0-67-generic' CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/compat/main.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/compat/kthread.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/main.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/rds/rds_rdma_dummy.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools_char.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/9p/9pnet_rdma.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/vfio/mdev/mdev_core.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/main.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/smc/smc_dummy.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/smc/smc_diag_dummy.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cmd.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/core/packer.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_main.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/bnxt_re/main.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/sw/rdmavt/main.o In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ cc1: some warnings being treated as errors In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/compat/main.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/9p/9pnet_rdma.o] Error 1 cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/9p] Error 2 In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ make[2]: *** Waiting for unfinished jobs.... include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/rds/rds_rdma_dummy.o] Error 1 make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/rds] Error 2 make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/smc/smc_diag_dummy.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/compat/kthread.o] Error 1 make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/compat] Error 2 CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.o In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/cxgb3/main.o cc1: some warnings being treated as errors CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/efa/efa_main.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/cxgb4/main.o cc1: some warnings being treated as errors CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/sw/siw/main.o make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/smc/smc_dummy.o] Error 1 make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/net/smc] Error 2 make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/bnxt_re/main.o] Error 1 make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/bnxt_re] Error 2 make[4]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.o make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/vfio/mdev/mdev_core.o] Error 1 make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/vfio/mdev] Error 2 cc1: some warnings being treated as errors In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/sw/rdmavt/main.o] Error 1 make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/sw/rdmavt] Error 2 make[4]: *** Waiting for unfinished jobs.... CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/debugfs.o In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/fw.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eq.o In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib.h:40, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_main.c:35: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cmd.c:42: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/../core/fpga/sdk.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools.h:41, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools_char.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools_char.c:38: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/../core/fpga/sdk.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools.h:41, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/main.c:35: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/main.c:46: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_pack.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/core/packer.c:37: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/net/devlink.h:14, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/devlink.h:7, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw.h:10, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c:13: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib.h:47, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_main.c:35: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ cc1: some warnings being treated as errors include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ cc1: some warnings being treated as errors CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/uar.o In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/cxgb3/main.o] Error 1 include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/cxgb3] Error 2 make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.o] Error 1 In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.o In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_ib.o cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/sw/siw/main.o] Error 1 make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/sw/siw] Error 2 make[3]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/sw] Error 2 make[3]: *** Waiting for unfinished jobs.... CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/health.o In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/efa/efa_main.o] Error 1 make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/efa] Error 2 make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/cxgb4/main.o] Error 1 make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw/cxgb4] Error 2 make[3]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/hw] Error 2 CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/mcg.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cq.o include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/../core/fpga/sdk.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools.h:41, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools_char.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools_char.c:38: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cmd.c:42: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/../core/fpga/sdk.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools.h:41, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/main.c:35: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/main.c:46: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_main.c:35: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cmd.c:42: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/../core/fpga/sdk.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools.h:41, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools_char.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools_char.c:38: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_pack.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/core/packer.c:37: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/main.c:46: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/../core/fpga/sdk.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools.h:41, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/main.c:35: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_pack.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/core/packer.c:37: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/net/devlink.h:14, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/devlink.h:7, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw.h:10, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c:15: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_mad.h:675:17: error: variably modified ‘method_mask’ at file scope 675 | DECLARE_BITMAP(method_mask, IB_MGMT_MAX_METHODS); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ include/linux/inetdevice.h:20:17: error: variably modified ‘state’ at file scope 20 | DECLARE_BITMAP(state, IPV4_DEVCONF_MAX); | ^~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/qp.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:35: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_main.c:35: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib.h:78:2: error: enumerator value for ‘IPOIB_CM_RX_SG’ is not an integer constant 78 | IPOIB_CM_RX_SG = ALIGN(IPOIB_CM_BUF_SIZE, PAGE_SIZE) / PAGE_SIZE, | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eq.c:36: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/fw.c:33: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/tools_char.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[4]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/core/packer.o] Error 1 make[3]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/core] Error 2 In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.o] Error 1 make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlxfw] Error 2 CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_multicast.o CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/alloc.o cc1: some warnings being treated as errors cc1: some warnings being treated as errors CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/opa_vnic/main.o make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga/main.o] Error 1 make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/fpga] Error 2 In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_main.o] Error 1 make[5]: *** Waiting for unfinished jobs.... CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/port.o In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cmd.c: In function ‘alloc_cmd_page’: include/linux/kernel.h:36:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 36 | #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) | ^ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cmd.c:2157:17: note: in expansion of macro ‘PTR_ALIGN’ 2157 | cmd->cmd_buf = PTR_ALIGN(cmd->cmd_alloc_buf, MLX5_ADAPTER_PAGE_SIZE); | ^~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ CC [M] /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/srpt/main.o include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/kexec.h:18, from include/linux/crash_dump.h:5, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:46, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/main.c:62: include/linux/crash_core.h:30:13: error: variably modified ‘note_buf_t’ at file scope 30 | typedef u32 note_buf_t[CRASH_CORE_NOTE_BYTES/4]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:62, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/main.c:62: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/accel.h:140:5: error: variably modified ‘trbuff’ at file scope 140 | u8 trbuff[MLX5_MAX_IPSEC_TRAILER_SZ]; | ^~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ cc1: some warnings being treated as errors In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en/fs.h:67:17: error: variably modified ‘active_cvlans’ at file scope 67 | DECLARE_BITMAP(active_cvlans, VLAN_N_VID); | ^~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en/fs.h:69:17: error: variably modified ‘active_svlans’ at file scope 69 | DECLARE_BITMAP(active_svlans, VLAN_N_VID); | ^~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cmd.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:658:17: error: variably modified ‘xdp_xmit_bitmap’ at file scope 658 | DECLARE_BITMAP(xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:793:17: error: variably modified ‘flags’ at file scope 793 | DECLARE_BITMAP(flags, 8); | ^~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:889:17: error: variably modified ‘state’ at file scope 889 | DECLARE_BITMAP(state, MLX5E_CHANNEL_NUM_STATES); | ^~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:157:17: error: variably modified ‘vlan_trunk_8021q_bitmap’ at file scope 157 | DECLARE_BITMAP(vlan_trunk_8021q_bitmap, VLAN_N_VID); | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:174:17: error: variably modified ‘req_vlan_bitmap’ at file scope 174 | DECLARE_BITMAP(req_vlan_bitmap, VLAN_N_VID); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:176:17: error: variably modified ‘acl_vlan_8021q_bitmap’ at file scope 176 | DECLARE_BITMAP(acl_vlan_8021q_bitmap, VLAN_N_VID); | ^~~~~~~~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/qp.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:35: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/kernel.h:93:22: error: implicit declaration of function ‘__KERNEL_DIV_ROUND_UP’ [-Werror=implicit-function-declaration] 93 | #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP | ^~~~~~~~~~~~~~~~~~~~~ include/linux/bitops.h:15:27: note: in expansion of macro ‘DIV_ROUND_UP’ 15 | #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) | ^~~~~~~~~~~~ include/linux/bitmap.h:221:21: note: in expansion of macro ‘BITS_TO_LONGS’ 221 | unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); | ^~~~~~~~~~~~~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eq.c:36: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/fw.c:33: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h: At top level: include/linux/cpumask.h:17:41: error: variably modified ‘bits’ at file scope 17 | typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/cpumask.h:800:29: error: variably modified ‘cpu_all_bits’ at file scope 800 | extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); | ^~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/cpumask.h:5, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/processor.h:21, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:38, from include/linux/uio.h:9, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/cpumask.h:877:2: error: variably modified ‘cpu_bit_bitmap’ at file scope 877 | cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; | ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ cc1: some warnings being treated as errors In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/main.o] Error 1 In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/qp.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:35: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eq.c:36: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/fw.c:33: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/net/sock.h:46, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_ib.c:42: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/uar.c:36: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/nodemask.h:98:33: error: variably modified ‘bits’ at file scope 98 | typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; | ^~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c:37: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from include/linux/srcu.h:49, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/srcu.h:6, from include/linux/notifier.h:16, from ./arch/x86/include/asm/uprobes.h:13, from include/linux/uprobes.h:49, from include/linux/mm_types.h:14, from include/linux/mmzone.h:21, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/srcutree.h:65:19: error: variably modified ‘node’ at file scope 65 | struct srcu_node node[NUM_RCU_NODES]; /* Combining tree. */ | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/kernel.h:35:31: warning: "__ALIGN_KERNEL_MASK" is not defined, evaluates to 0 [-Wundef] 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^~~~~~~~~~~~~~~~~~~ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/kernel.h:35:50: error: missing binary operator before token "(" 35 | #define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask)) | ^ include/linux/mm_types.h:234:34: note: in expansion of macro ‘__ALIGN_MASK’ 234 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ include/linux/mm_types.h:242:18: note: in expansion of macro ‘PAGE_FRAG_CACHE_MAX_SIZE’ 242 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/health.c:38: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/mcg.c:35: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:40:23: error: variably modified ‘mp_bus_not_pci’ at file scope 40 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:11, from ./arch/x86/include/asm/mmzone.h:5, from include/linux/mmzone.h:978, from include/linux/gfp.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/gfp.h:7, from include/linux/slab.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/slab.h:6, from include/linux/crypto.h:19, from include/crypto/hash.h:11, from include/linux/uio.h:10, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/mpspec.h:94:16: error: variably modified ‘mask’ at file scope 94 | unsigned long mask[PHYSID_ARRAY_SIZE]; | ^~~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cq.c:36: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/kernel.h:6, from include/linux/uio.h:8, from include/linux/socket.h:8, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/socket.h:4, from ./include/uapi/linux/if.h:25, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : ./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’: include/linux/kernel.h:33:22: error: implicit declaration of function ‘__ALIGN_KERNEL’; did you mean ‘PAGE_KERNEL’? [-Werror=implicit-function-declaration] 33 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ^~~~~~~~~~~~~~ ./arch/x86/include/asm/realmode.h:76:9: note: in expansion of macro ‘ALIGN’ 76 | return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/mmzone.h: At top level: include/linux/mmzone.h:1182:17: error: variably modified ‘subsection_map’ at file scope 1182 | DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/xarray.h:6, from include/linux/radix-tree.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/radix-tree.h:6, from include/linux/idr.h:15, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/idr.h:6, from include/linux/kernfs.h:13, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/module.h:17, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/module.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:15, from : include/linux/xarray.h:1100:17: error: variably modified ‘tags’ at file scope 1100 | unsigned long tags[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~ include/linux/xarray.h:1101:17: error: variably modified ‘marks’ at file scope 1101 | unsigned long marks[XA_MAX_MARKS][XA_MARK_LONGS]; | ^~~~~ cc1: some warnings being treated as errors include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/opa_vnic/main.o] Error 1 make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/opa_vnic] Error 2 make[4]: *** Waiting for unfinished jobs.... include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ cc1: some warnings being treated as errors include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/srpt/main.o] Error 1 make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/srpt] Error 2 include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/kexec.h:18, from include/linux/crash_dump.h:5, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:46, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eq.c:46: include/linux/crash_core.h:30:13: error: variably modified ‘note_buf_t’ at file scope 30 | typedef u32 note_buf_t[CRASH_CORE_NOTE_BYTES/4]; | ^~~~~~~~~~ include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:62, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eq.c:46: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/accel.h:140:5: error: variably modified ‘trbuff’ at file scope 140 | u8 trbuff[MLX5_MAX_IPSEC_TRAILER_SZ]; | ^~~~~~ cc1: some warnings being treated as errors In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en/fs.h:67:17: error: variably modified ‘active_cvlans’ at file scope 67 | DECLARE_BITMAP(active_cvlans, VLAN_N_VID); | ^~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en/fs.h:69:17: error: variably modified ‘active_svlans’ at file scope 69 | DECLARE_BITMAP(active_svlans, VLAN_N_VID); | ^~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:658:17: error: variably modified ‘xdp_xmit_bitmap’ at file scope 658 | DECLARE_BITMAP(xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:793:17: error: variably modified ‘flags’ at file scope 793 | DECLARE_BITMAP(flags, 8); | ^~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/en.h:889:17: error: variably modified ‘state’ at file scope 889 | DECLARE_BITMAP(state, MLX5E_CHANNEL_NUM_STATES); | ^~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/fw.o] Error 1 cc1: some warnings being treated as errors /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:157:17: error: variably modified ‘vlan_trunk_8021q_bitmap’ at file scope 157 | DECLARE_BITMAP(vlan_trunk_8021q_bitmap, VLAN_N_VID); | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:174:17: error: variably modified ‘req_vlan_bitmap’ at file scope 174 | DECLARE_BITMAP(req_vlan_bitmap, VLAN_N_VID); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:176:17: error: variably modified ‘acl_vlan_8021q_bitmap’ at file scope 176 | DECLARE_BITMAP(acl_vlan_8021q_bitmap, VLAN_N_VID); | ^~~~~~~~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/debugfs.o] Error 1 include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_ib.c:42: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/rtnetlink.h:7, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_multicast.c:36: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/uar.c:36: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ cc1: some warnings being treated as errors include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c:37: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/mcg.c:35: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/eq.o] Error 1 include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/health.c:38: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_ib.c:42: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cq.c:36: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/alloc.c:40: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c:37: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/uar.c:36: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/mcg.c:35: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/health.c:38: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cq.c:36: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ethtool.h:18, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/ethtool.h:4, from include/linux/netdevice.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/netdevice.h:7, from include/linux/icmpv6.h:13, from include/linux/ipv6.h:86, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/port.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/port.c:33: include/uapi/linux/ethtool.h:1287:8: error: variably modified ‘queue_mask’ at file scope 1287 | __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)]; | ^~~~~~~~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/ethtool.h:111:36: error: variably modified ‘supported’ at file scope 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:111:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 111 | __ETHTOOL_DECLARE_LINK_MODE_MASK(supported); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:112:36: error: variably modified ‘advertising’ at file scope 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:112:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 112 | __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/ethtool.h:113:36: error: variably modified ‘lp_advertising’ at file scope 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/ethtool.h:113:3: note: in expansion of macro ‘__ETHTOOL_DECLARE_LINK_MODE_MASK’ 113 | __ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/net/netns/ipv6.h:39:17: error: variably modified ‘icmpv6_ratemask’ at file scope 39 | DECLARE_BITMAP(icmpv6_ratemask, ICMPV6_MSG_MAX + 1); | ^~~~~~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_mad.h:675:17: error: variably modified ‘method_mask’ at file scope 675 | DECLARE_BITMAP(method_mask, IB_MGMT_MAX_METHODS); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/inetdevice.h:20:17: error: variably modified ‘state’ at file scope 20 | DECLARE_BITMAP(state, IPV4_DEVCONF_MAX); | ^~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/inetdevice.h:20:17: error: variably modified ‘state’ at file scope 20 | DECLARE_BITMAP(state, IPV4_DEVCONF_MAX); | ^~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_ib.c:45: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib.h:78:2: error: enumerator value for ‘IPOIB_CM_RX_SG’ is not an integer constant 78 | IPOIB_CM_RX_SG = ALIGN(IPOIB_CM_BUF_SIZE, PAGE_SIZE) / PAGE_SIZE, | ^~~~~~~~~~~~~~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_multicast.c:46: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_ib.o] Error 1 include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : include/linux/blkdev.h:495:19: error: variably modified ‘blkcg_pols’ at file scope 495 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/mcg.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/cq.o] Error 1 cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/pagealloc.o] Error 1 make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/health.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/uar.o] Error 1 include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/alloc.c:40: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ include/net/neighbour.h:85:17: error: variably modified ‘data_state’ at file scope 85 | DECLARE_BITMAP(data_state, NEIGH_VAR_DATA_MAX); | ^~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from include/net/dst.h:19, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/dst.h:6, from include/net/sock.h:65, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/sock.h:4, from include/linux/tcp.h:19, from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/port.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/port.c:33: include/net/neighbour.h:153:17: error: variably modified ‘ha’ at file scope 153 | unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8); | ^~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_multicast.c:48: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/port.h:36, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/port.c:33: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from include/linux/ipv6.h:87, from include/net/ipv6.h:12, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/net/ipv6.h:4, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_verbs.h:59, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/device.h:37, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/mlx5/driver.h:52, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/alloc.c:40: include/linux/tcp.h:61:9: error: variably modified ‘val’ at file scope 61 | __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))]; | ^~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/types.h:6, from ./include/uapi/linux/if.h:24, from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/linux/compat-2.6.h:11, from : /var/lib/dkms/mlnx-ofed-kernel/5.1/build/include/rdma/ib_mad.h:675:17: error: variably modified ‘method_mask’ at file scope 675 | DECLARE_BITMAP(method_mask, IB_MGMT_MAX_METHODS); | ^~~~~~~~~~~ include/linux/types.h:11:16: note: in definition of macro ‘DECLARE_BITMAP’ 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~ In file included from /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_multicast.c:48: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib.h:78:2: error: enumerator value for ‘IPOIB_CM_RX_SG’ is not an integer constant 78 | IPOIB_CM_RX_SG = ALIGN(IPOIB_CM_BUF_SIZE, PAGE_SIZE) / PAGE_SIZE, | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib/ipoib_multicast.o] Error 1 make[4]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp/ipoib] Error 2 make[3]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband/ulp] Error 2 make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/infiniband] Error 2 cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/alloc.o] Error 1 make[3]: *** [scripts/Makefile.build:271: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core/port.o] Error 1 make[2]: *** [scripts/Makefile.build:518: /var/lib/dkms/mlnx-ofed-kernel/5.1/build/drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[1]: *** [Makefile:1760: /var/lib/dkms/mlnx-ofed-kernel/5.1/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-67-generic' make: *** [makefile:166: kernel] Error 2 + DEST_DIR= + install -d /etc/infiniband + '[' '!' -s /etc/infiniband/openib.conf ']' + '[' '!' -s /etc/infiniband/mlx5.conf ']' + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Load UMAD module' ++ sed -e 's/=.*//g' + item='# Load UMAD module' + '[' 'X# Load UMAD module' '!=' X ']' + grep -q '# Load UMAD module' /etc/infiniband/openib.conf + read line ++ echo UMAD_LOAD=yes ++ sed -e 's/=.*//g' + item=UMAD_LOAD + '[' XUMAD_LOAD '!=' X ']' + grep -q UMAD_LOAD /etc/infiniband/openib.conf + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Load UVERBS module' ++ sed -e 's/=.*//g' + item='# Load UVERBS module' + '[' 'X# Load UVERBS module' '!=' X ']' + grep -q '# Load UVERBS module' /etc/infiniband/openib.conf + read line ++ echo UVERBS_LOAD=yes ++ sed -e 's/=.*//g' + item=UVERBS_LOAD + '[' XUVERBS_LOAD '!=' X ']' + grep -q UVERBS_LOAD /etc/infiniband/openib.conf + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Load RDMA_CM module' ++ sed -e 's/=.*//g' + item='# Load RDMA_CM module' + '[' 'X# Load RDMA_CM module' '!=' X ']' + grep -q '# Load RDMA_CM module' /etc/infiniband/openib.conf + read line ++ echo RDMA_CM_LOAD=yes ++ sed -e 's/=.*//g' + item=RDMA_CM_LOAD + '[' XRDMA_CM_LOAD '!=' X ']' + grep -q RDMA_CM_LOAD /etc/infiniband/openib.conf + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Load RDMA_UCM module' ++ sed -e 's/=.*//g' + item='# Load RDMA_UCM module' + '[' 'X# Load RDMA_UCM module' '!=' X ']' + grep -q '# Load RDMA_UCM module' /etc/infiniband/openib.conf + read line ++ echo RDMA_UCM_LOAD=yes ++ sed -e 's/=.*//g' + item=RDMA_UCM_LOAD + '[' XRDMA_UCM_LOAD '!=' X ']' + grep -q RDMA_UCM_LOAD /etc/infiniband/openib.conf + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Load MLX5 modules' ++ sed -e 's/=.*//g' + item='# Load MLX5 modules' + '[' 'X# Load MLX5 modules' '!=' X ']' + grep -q '# Load MLX5 modules' /etc/infiniband/openib.conf + read line ++ echo MLX5_LOAD=yes ++ sed -e 's/=.*//g' + item=MLX5_LOAD + '[' XMLX5_LOAD '!=' X ']' + grep -q MLX5_LOAD /etc/infiniband/openib.conf + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Load IPoIB' ++ sed -e 's/=.*//g' + item='# Load IPoIB' + '[' 'X# Load IPoIB' '!=' X ']' + grep -q '# Load IPoIB' /etc/infiniband/openib.conf + read line ++ echo IPOIB_LOAD=yes ++ sed -e 's/=.*//g' + item=IPOIB_LOAD + '[' XIPOIB_LOAD '!=' X ']' + grep -q IPOIB_LOAD /etc/infiniband/openib.conf + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Enable IPoIB Connected Mode' ++ sed -e 's/=.*//g' + item='# Enable IPoIB Connected Mode' + '[' 'X# Enable IPoIB Connected Mode' '!=' X ']' + grep -q '# Enable IPoIB Connected Mode' /etc/infiniband/openib.conf + read line ++ echo SET_IPOIB_CM=auto ++ sed -e 's/=.*//g' + item=SET_IPOIB_CM + '[' XSET_IPOIB_CM '!=' X ']' + grep -q SET_IPOIB_CM /etc/infiniband/openib.conf + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Load MLX5 FPGA modules' ++ sed -e 's/=.*//g' + item='# Load MLX5 FPGA modules' + '[' 'X# Load MLX5 FPGA modules' '!=' X ']' + grep -q '# Load MLX5 FPGA modules' /etc/infiniband/openib.conf + read line ++ echo MLX5_FPGA_LOAD=yes ++ sed -e 's/=.*//g' + item=MLX5_FPGA_LOAD + '[' XMLX5_FPGA_LOAD '!=' X ']' + grep -q MLX5_FPGA_LOAD /etc/infiniband/openib.conf + read line ++ echo '' ++ sed -e 's/=.*//g' + item= + '[' X '!=' X ']' + read line ++ echo '# Load ESP Offload modules' ++ sed -e 's/=.*//g' + item='# Load ESP Offload modules' + '[' 'X# Load ESP Offload modules' '!=' X ']' + grep -q '# Load ESP Offload modules' /etc/infiniband/openib.conf + read line ++ echo ESP_OFFLOAD_LOAD=yes ++ sed -e 's/=.*//g' + item=ESP_OFFLOAD_LOAD + '[' XESP_OFFLOAD_LOAD '!=' X ']' + grep -q ESP_OFFLOAD_LOAD /etc/infiniband/openib.conf + read line Copying build sources from '/var/lib/dkms/mlnx-ofed-kernel/5.1/build/../build' to '/usr/src/ofa_kernel/5.4.0-67-generic' ... /bin/cp: cannot stat 'Module*.symvers': No such file or directory