========== build_clang - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/virtio/virtio_vdpa.c:18: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/virtio/virtio_vdpa.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: drivers/virtio] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/packet/af_packet.c:86: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: net/packet/af_packet.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: net/packet] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/macvtap.c:25: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/macvtap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/tap.c:26: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/tap.o] Error 1 In file included from ../drivers/net/tun.c:59: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/tun.o] Error 1 make[3]: *** [../scripts/Makefile.build:556: net] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/virtio_net.c:12: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/virtio_net.o] Error 1 In file included from ../drivers/net/ipvlan/ipvtap.c:25: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/net/ipvlan/ipvtap.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/net/ipvlan] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[2]: *** [/home/nipa/net/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/vdpa/vdpa_user/vduse_dev.c:157:33: warning: unused function 'dev_to_vduse' [-Wunused-function] 157 | static inline struct vduse_dev *dev_to_vduse(struct device *dev) | ^~~~~~~~~~~~ 1 warning generated. Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/virtio/virtio_vdpa.c:18: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/virtio/virtio_vdpa.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: drivers/virtio] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../net/packet/af_packet.c:86: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: net/packet/af_packet.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: net/packet] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/macvtap.c:25: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/macvtap.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/tun.c:59: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/tun.o] Error 1 In file included from ../drivers/vdpa/pds/debugfs.c:5: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/pds/debugfs.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/vdpa/pds/vdpa_dev.c:5: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/pds/vdpa_dev.o] Error 1 In file included from ../drivers/vdpa/mlx5/net/debug.c:6: In file included from ../drivers/vdpa/mlx5/net/mlx5_vnet.h:7: In file included from ../drivers/vdpa/mlx5/core/mlx5_vdpa.h:9: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/mlx5/net/debug.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/vdpa/vdpa.c:13: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ ../drivers/vdpa/vdpa.c:43:37: warning: shift count >= width of type [-Wshift-count-overflow] 43 | ret = dma_set_mask_and_coherent(d, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/vfio/pci/virtio/legacy_io.c:16: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:287: drivers/vfio/pci/virtio/legacy_io.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/tap.c:26: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/tap.o] Error 1 In file included from ../drivers/net/virtio_net.c:12: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/virtio_net.o] Error 1 In file included from ../drivers/vdpa/pds/aux_drv.c:6: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/pds/aux_drv.o] Error 1 In file included from ../drivers/vdpa/octeon_ep/octep_vdpa_hw.c:7: In file included from ../drivers/vdpa/octeon_ep/octep_vdpa.h:9: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/octeon_ep/octep_vdpa_hw.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/vdpa/vdpa_user/vduse_dev.c:11: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_user/vduse_dev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/vdpa/octeon_ep/octep_vdpa_main.c:8: In file included from ../drivers/vdpa/octeon_ep/octep_vdpa.h:9: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ ../drivers/vdpa/octeon_ep/octep_vdpa_main.c:675:39: warning: shift count >= width of type [-Wshift-count-overflow] 675 | ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ ../drivers/vdpa/octeon_ep/octep_vdpa_main.c:837:39: warning: shift count >= width of type [-Wshift-count-overflow] 837 | ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 2 warnings and 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/octeon_ep/octep_vdpa_main.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/octeon_ep] Error 2 In file included from ../drivers/vdpa/solidrun/snet_hwmon.c:12: In file included from ../drivers/vdpa/solidrun/snet_vdpa.h:13: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/solidrun/snet_hwmon.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/vdpa/vdpa_sim/vdpa_sim_blk.c:16: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_sim/vdpa_sim_blk.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/vdpa/ifcvf/ifcvf_base.c:11: In file included from ../drivers/vdpa/ifcvf/ifcvf_base.h:16: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/ifcvf/ifcvf_base.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/vdpa/mlx5/core/resources.c:6: In file included from ../drivers/vdpa/mlx5/core/mlx5_vdpa.h:9: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/mlx5/core/resources.o] Error 1 In file included from ../drivers/vdpa/alibaba/eni_vdpa.c:14: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/alibaba/eni_vdpa.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/alibaba] Error 2 In file included from ../drivers/vdpa/vdpa_user/iova_domain.c:16: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_user/iova_domain.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/vdpa_user] Error 2 In file included from ../drivers/vdpa/solidrun/snet_ctrl.c:13: In file included from ../drivers/vdpa/solidrun/snet_vdpa.h:13: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/solidrun/snet_ctrl.o] Error 1 In file included from ../drivers/vfio/pci/virtio/migrate.c:16: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:287: drivers/vfio/pci/virtio/migrate.o] Error 1 In file included from ../drivers/vdpa/ifcvf/ifcvf_main.c:15: In file included from ../drivers/vdpa/ifcvf/ifcvf_base.h:16: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ ../drivers/vdpa/ifcvf/ifcvf_main.c:782:39: warning: shift count >= width of type [-Wshift-count-overflow] 782 | ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/ifcvf/ifcvf_main.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/ifcvf] Error 2 In file included from ../drivers/vdpa/pds/cmds.c:4: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/pds/cmds.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/pds] Error 2 In file included from ../drivers/vdpa/vdpa_sim/vdpa_sim_net.c:16: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_sim/vdpa_sim_net.o] Error 1 In file included from ../drivers/vdpa/mlx5/net/mlx5_vnet.c:5: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/mlx5/net/mlx5_vnet.o] Error 1 In file included from ../drivers/vdpa/solidrun/snet_main.c:12: In file included from ../drivers/vdpa/solidrun/snet_vdpa.h:13: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/solidrun/snet_main.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/solidrun] Error 2 In file included from ../drivers/vdpa/vdpa_sim/vdpa_sim.c:18: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ ../drivers/vdpa/vdpa_sim/vdpa_sim.c:241:37: warning: shift count >= width of type [-Wshift-count-overflow] 241 | if (dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_sim/vdpa_sim.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/vdpa_sim] Error 2 In file included from ../drivers/net/ipvlan/ipvtap.c:25: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/net/ipvlan/ipvtap.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/net/ipvlan] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 In file included from ../drivers/vdpa/mlx5/core/mr.c:5: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/mlx5/core/mr.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/mlx5] Error 2 make[3]: *** [../scripts/Makefile.build:556: net] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../drivers/vfio/pci/virtio/main.c:16: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[7]: *** [../scripts/Makefile.build:287: drivers/vfio/pci/virtio/main.o] Error 1 make[6]: *** [../scripts/Makefile.build:556: drivers/vfio/pci/virtio] Error 2 make[5]: *** [../scripts/Makefile.build:556: drivers/vfio/pci] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/vfio] Error 2 In file included from ../drivers/vdpa/virtio_pci/vp_vdpa.c:14: In file included from ../include/linux/vdpa.h:10: ../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' 404 | vhdr->hash_hdr.hash_value = 0; | ~~~~~~~~~~~~~~ ^ 1 error generated. make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/virtio_pci/vp_vdpa.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/virtio_pci] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/vdpa] Error 2 make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[2]: *** [/home/nipa/net/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.qNrd7segR9 2025-10-28 18:40:59.611575215 -0700 +++ /tmp/tmp.ly1tTmNJdd 2025-10-28 18:45:27.393903753 -0700 @@ -2,4 +2,296 @@ -../drivers/vdpa/vdpa_user/vduse_dev.c:157:33: warning: unused function 'dev_to_vduse' [-Wunused-function] - 157 | static inline struct vduse_dev *dev_to_vduse(struct device *dev) - | ^~~~~~~~~~~~ -1 warning generated. +In file included from ../drivers/virtio/virtio_vdpa.c:18: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:287: drivers/virtio/virtio_vdpa.o] Error 1 +make[4]: *** [../scripts/Makefile.build:556: drivers/virtio] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../net/packet/af_packet.c:86: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:287: net/packet/af_packet.o] Error 1 +make[4]: *** [../scripts/Makefile.build:556: net/packet] Error 2 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/macvtap.c:25: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:287: drivers/net/macvtap.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/tun.c:59: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:287: drivers/net/tun.o] Error 1 +In file included from ../drivers/vdpa/pds/debugfs.c:5: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/pds/debugfs.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vdpa/pds/vdpa_dev.c:5: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/pds/vdpa_dev.o] Error 1 +In file included from ../drivers/vdpa/mlx5/net/debug.c:6: +In file included from ../drivers/vdpa/mlx5/net/mlx5_vnet.h:7: +In file included from ../drivers/vdpa/mlx5/core/mlx5_vdpa.h:9: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/mlx5/net/debug.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vdpa/vdpa.c:13: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +../drivers/vdpa/vdpa.c:43:37: warning: shift count >= width of type [-Wshift-count-overflow] + 43 | ret = dma_set_mask_and_coherent(d, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' + 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 1 error generated. +make[5]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vfio/pci/virtio/legacy_io.c:16: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[7]: *** [../scripts/Makefile.build:287: drivers/vfio/pci/virtio/legacy_io.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/tap.c:26: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:287: drivers/net/tap.o] Error 1 +In file included from ../drivers/net/virtio_net.c:12: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[5]: *** [../scripts/Makefile.build:287: drivers/net/virtio_net.o] Error 1 +In file included from ../drivers/vdpa/pds/aux_drv.c:6: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/pds/aux_drv.o] Error 1 +In file included from ../drivers/vdpa/octeon_ep/octep_vdpa_hw.c:7: +In file included from ../drivers/vdpa/octeon_ep/octep_vdpa.h:9: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/octeon_ep/octep_vdpa_hw.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vdpa/vdpa_user/vduse_dev.c:11: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_user/vduse_dev.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vdpa/octeon_ep/octep_vdpa_main.c:8: +In file included from ../drivers/vdpa/octeon_ep/octep_vdpa.h:9: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +../drivers/vdpa/octeon_ep/octep_vdpa_main.c:675:39: warning: shift count >= width of type [-Wshift-count-overflow] + 675 | ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' + 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +../drivers/vdpa/octeon_ep/octep_vdpa_main.c:837:39: warning: shift count >= width of type [-Wshift-count-overflow] + 837 | ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' + 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +2 warnings and 1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/octeon_ep/octep_vdpa_main.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/octeon_ep] Error 2 +In file included from ../drivers/vdpa/solidrun/snet_hwmon.c:12: +In file included from ../drivers/vdpa/solidrun/snet_vdpa.h:13: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/solidrun/snet_hwmon.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vdpa/vdpa_sim/vdpa_sim_blk.c:16: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_sim/vdpa_sim_blk.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vdpa/ifcvf/ifcvf_base.c:11: +In file included from ../drivers/vdpa/ifcvf/ifcvf_base.h:16: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/ifcvf/ifcvf_base.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vdpa/mlx5/core/resources.c:6: +In file included from ../drivers/vdpa/mlx5/core/mlx5_vdpa.h:9: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/mlx5/core/resources.o] Error 1 +In file included from ../drivers/vdpa/alibaba/eni_vdpa.c:14: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/alibaba/eni_vdpa.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/alibaba] Error 2 +In file included from ../drivers/vdpa/vdpa_user/iova_domain.c:16: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_user/iova_domain.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/vdpa_user] Error 2 +In file included from ../drivers/vdpa/solidrun/snet_ctrl.c:13: +In file included from ../drivers/vdpa/solidrun/snet_vdpa.h:13: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/solidrun/snet_ctrl.o] Error 1 +In file included from ../drivers/vfio/pci/virtio/migrate.c:16: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[7]: *** [../scripts/Makefile.build:287: drivers/vfio/pci/virtio/migrate.o] Error 1 +In file included from ../drivers/vdpa/ifcvf/ifcvf_main.c:15: +In file included from ../drivers/vdpa/ifcvf/ifcvf_base.h:16: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +../drivers/vdpa/ifcvf/ifcvf_main.c:782:39: warning: shift count >= width of type [-Wshift-count-overflow] + 782 | ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' + 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/ifcvf/ifcvf_main.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/ifcvf] Error 2 +In file included from ../drivers/vdpa/pds/cmds.c:4: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/pds/cmds.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/pds] Error 2 +In file included from ../drivers/vdpa/vdpa_sim/vdpa_sim_net.c:16: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_sim/vdpa_sim_net.o] Error 1 +In file included from ../drivers/vdpa/mlx5/net/mlx5_vnet.c:5: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/mlx5/net/mlx5_vnet.o] Error 1 +In file included from ../drivers/vdpa/solidrun/snet_main.c:12: +In file included from ../drivers/vdpa/solidrun/snet_vdpa.h:13: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/solidrun/snet_main.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/solidrun] Error 2 +In file included from ../drivers/vdpa/vdpa_sim/vdpa_sim.c:18: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +../drivers/vdpa/vdpa_sim/vdpa_sim.c:241:37: warning: shift count >= width of type [-Wshift-count-overflow] + 241 | if (dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:93:54: note: expanded from macro 'DMA_BIT_MASK' + 93 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/vdpa_sim/vdpa_sim.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/vdpa_sim] Error 2 +In file included from ../drivers/net/ipvlan/ipvtap.c:25: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/net/ipvlan/ipvtap.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/net/ipvlan] Error 2 +make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 +In file included from ../drivers/vdpa/mlx5/core/mr.c:5: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/mlx5/core/mr.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/mlx5] Error 2 +make[3]: *** [../scripts/Makefile.build:556: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +In file included from ../drivers/vfio/pci/virtio/main.c:16: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[7]: *** [../scripts/Makefile.build:287: drivers/vfio/pci/virtio/main.o] Error 1 +make[6]: *** [../scripts/Makefile.build:556: drivers/vfio/pci/virtio] Error 2 +make[5]: *** [../scripts/Makefile.build:556: drivers/vfio/pci] Error 2 +make[4]: *** [../scripts/Makefile.build:556: drivers/vfio] Error 2 +In file included from ../drivers/vdpa/virtio_pci/vp_vdpa.c:14: +In file included from ../include/linux/vdpa.h:10: +../include/linux/virtio_net.h:404:24: error: no member named 'hash_value' in 'struct virtio_net_hdr_v1_hash' + 404 | vhdr->hash_hdr.hash_value = 0; + | ~~~~~~~~~~~~~~ ^ +1 error generated. +make[6]: *** [../scripts/Makefile.build:287: drivers/vdpa/virtio_pci/vp_vdpa.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/vdpa/virtio_pci] Error 2 +make[4]: *** [../scripts/Makefile.build:556: drivers/vdpa] Error 2 +make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 +make[2]: *** [/home/nipa/net/wt-0/Makefile:2010: .] Error 2 +make[1]: *** [/home/nipa/net/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.L9bCJQUpxF 2025-10-28 18:45:27.409903593 -0700 +++ /tmp/tmp.YC1MFjXS8g 2025-10-28 18:45:27.413903554 -0700 @@ -1 +1,5 @@ - 1 ../drivers/vdpa/vdpa_user/vduse_dev.c + 1 ../drivers/vdpa/ifcvf/ifcvf_main.c + 2 ../drivers/vdpa/octeon_ep/octep_vdpa_main.c + 1 ../drivers/vdpa/vdpa.c + 1 ../drivers/vdpa/vdpa_sim/vdpa_sim.c + 33 ../include/linux/virtio_net.h