# git rev-parse -q --verify a1d21081a60dfb7fddf4a38b66d9cef603b317a9^{commit} a1d21081a60dfb7fddf4a38b66d9cef603b317a9 already have revision, skipping fetch # git checkout -q -f -B kisskb a1d21081a60dfb7fddf4a38b66d9cef603b317a9 # git clean -qxdf # < git log -1 # commit a1d21081a60dfb7fddf4a38b66d9cef603b317a9 # Merge: e764a1e32337 1f3a090b9033 # Author: Linus Torvalds # Date: Thu Aug 13 20:03:11 2020 -0700 # # Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net # # Pull networking fixes from David Miller: # "Some merge window fallout, some longer term fixes: # # 1) Handle headroom properly in lapbether and x25_asy drivers, from # Xie He. # # 2) Fetch MAC address from correct r8152 device node, from Thierry # Reding. # # 3) In the sw kTLS path we should allow MSG_CMSG_COMPAT in sendmsg, # from Rouven Czerwinski. # # 4) Correct fdputs in socket layer, from Miaohe Lin. # # 5) Revert troublesome sockptr_t optimization, from Christoph Hellwig. # # 6) Fix TCP TFO key reading on big endian, from Jason Baron. # # 7) Missing CAP_NET_RAW check in nfc, from Qingyu Li. # # 8) Fix inet fastreuse optimization with tproxy sockets, from Tim # Froidcoeur. # # 9) Fix 64-bit divide in new SFC driver, from Edward Cree. # # 10) Add a tracepoint for prandom_u32 so that we can more easily # perform usage analysis. From Eric Dumazet. # # 11) Fix rwlock imbalance in AF_PACKET, from John Ogness" # # * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (49 commits) # net: openvswitch: introduce common code for flushing flows # af_packet: TPACKET_V3: fix fill status rwlock imbalance # random32: add a tracepoint for prandom_u32() # Revert "ipv4: tunnel: fix compilation on ARCH=um" # net: accept an empty mask in /sys/class/net/*/queues/rx-*/rps_cpus # net: ethernet: stmmac: Disable hardware multicast filter # net: stmmac: dwmac1000: provide multicast filter fallback # ipv4: tunnel: fix compilation on ARCH=um # vsock: fix potential null pointer dereference in vsock_poll() # sfc: fix ef100 design-param checking # net: initialize fastreuse on inet_inherit_port # net: refactor bind_bucket fastreuse into helper # net: phy: marvell10g: fix null pointer dereference # net: Fix potential memory leak in proto_register() # net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init # ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc() # net/nfc/rawsock.c: add CAP_NET_RAW check. # hinic: fix strncpy output truncated compile warnings # drivers/net/wan/x25_asy: Added needed_headroom and a skb->len check # net/tls: Fix kmap usage # ... # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 a1d21081a60dfb7fddf4a38b66d9cef603b317a9 # < make -s -j 8 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_64BIT=n # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 8 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 8 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 8 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/sparc/include/asm/cmpxchg.h:7:0, from /kisskb/src/arch/sparc/include/asm/atomic_32.h:17, from /kisskb/src/arch/sparc/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/page_counter.h:5, from /kisskb/src/mm/memcontrol.c:25: /kisskb/src/mm/memcontrol.c: In function 'memcg_reparent_objcgs': /kisskb/src/arch/sparc/include/asm/cmpxchg_32.h:28:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ /kisskb/src/mm/memcontrol.c:333:2: note: in expansion of macro 'xchg' xchg(&objcg->memcg, parent); ^ /kisskb/src/arch/sparc/include/asm/cmpxchg_32.h:28:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ /kisskb/src/mm/memcontrol.c:340:3: note: in expansion of macro 'xchg' xchg(&iter->memcg, parent); ^ /kisskb/src/drivers/tty/serial/sunzilog.c:1128:13: warning: 'sunzilog_putchar' defined but not used [-Wunused-function] static void sunzilog_putchar(struct uart_port *port, int ch) ^ In file included from /kisskb/src/arch/sparc/include/asm/cmpxchg.h:7:0, from /kisskb/src/arch/sparc/include/asm/atomic_32.h:17, from /kisskb/src/arch/sparc/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/sparc/include/asm/bitops_32.h:102, from /kisskb/src/arch/sparc/include/asm/bitops.h:7, from /kisskb/src/include/linux/bitops.h:29, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:13: /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/arch/sparc/include/asm/cmpxchg_32.h:28:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ /kisskb/src/fs/ocfs2/file.c:2419:3: note: in expansion of macro 'xchg' xchg(&iocb->ki_complete, saved_ki_complete); ^ /kisskb/src/sound/soc/tegra/tegra210_dmic.c:43:12: warning: 'tegra210_dmic_runtime_suspend' defined but not used [-Wunused-function] static int tegra210_dmic_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_dmic.c:55:12: warning: 'tegra210_dmic_runtime_resume' defined but not used [-Wunused-function] static int tegra210_dmic_runtime_resume(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_ahub.c:567:12: warning: 'tegra_ahub_runtime_suspend' defined but not used [-Wunused-function] static int tegra_ahub_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_ahub.c:579:12: warning: 'tegra_ahub_runtime_resume' defined but not used [-Wunused-function] static int tegra_ahub_runtime_resume(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_i2s.c:167:12: warning: 'tegra210_i2s_runtime_suspend' defined but not used [-Wunused-function] static int tegra210_i2s_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_i2s.c:179:12: warning: 'tegra210_i2s_runtime_resume' defined but not used [-Wunused-function] static int tegra210_i2s_runtime_resume(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra186_dspk.c:74:12: warning: 'tegra186_dspk_runtime_suspend' defined but not used [-Wunused-function] static int tegra186_dspk_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra186_dspk.c:86:12: warning: 'tegra186_dspk_runtime_resume' defined but not used [-Wunused-function] static int tegra186_dspk_runtime_resume(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_admaif.c:222:12: warning: 'tegra_admaif_runtime_suspend' defined but not used [-Wunused-function] static int tegra_admaif_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_admaif.c:232:12: warning: 'tegra_admaif_runtime_resume' defined but not used [-Wunused-function] static int tegra_admaif_runtime_resume(struct device *dev) ^ In file included from /kisskb/src/arch/sparc/include/asm/cmpxchg.h:7:0, from /kisskb/src/arch/sparc/include/asm/atomic_32.h:17, from /kisskb/src/arch/sparc/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/sparc/include/asm/bitops_32.h:102, from /kisskb/src/arch/sparc/include/asm/bitops.h:7, from /kisskb/src/include/linux/bitops.h:29, from /kisskb/src/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:11: /kisskb/src/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c: In function 'ixgbevf_xdp_setup': /kisskb/src/arch/sparc/include/asm/cmpxchg_32.h:28:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ /kisskb/src/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:4469:4: note: in expansion of macro 'xchg' xchg(&adapter->rx_ring[i]->xdp_prog, adapter->xdp_prog); ^ In file included from /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c:6:0: /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c: In function 'ice_free_flow_profs': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c:2921:9: note: in expansion of macro 'ICE_FLOW_ENTRY_HNDL' ICE_FLOW_ENTRY_HNDL(e)); ^ In file included from /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:5:0: /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c: In function 'ice_flow_add_entry': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:946:13: note: in expansion of macro 'ICE_FLOW_ENTRY_HNDL' *entry_h = ICE_FLOW_ENTRY_HNDL(e); ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c: In function 'ice_flow_rem_entry': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:198:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ICE_FLOW_ENTRY_PTR(h) ((struct ice_flow_entry *)(h)) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:974:10: note: in expansion of macro 'ICE_FLOW_ENTRY_PTR' entry = ICE_FLOW_ENTRY_PTR(entry_h); ^ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ In file included from /kisskb/src/include/linux/skbuff.h:31:0, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/net/ethernet/sfc/net_driver.h:13, from /kisskb/src/drivers/net/ethernet/sfc/ef100.c:12: /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_continue_entry': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:145:6: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:163:6: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_xilinx_cap': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:337:5: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_probe': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:498:5: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ In file included from /kisskb/src/include/linux/printk.h:405:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/clk.h:13, from /kisskb/src/drivers/crypto/sa2ul.c:11: /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_sha_init': /kisskb/src/drivers/crypto/sa2ul.c:1486:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] crypto_ahash_digestsize(tfm), (u64)rctx); ^ /kisskb/src/include/linux/dynamic_debug.h:125:15: note: in definition of macro '__dynamic_func_call' func(&id, ##__VA_ARGS__); \ ^ /kisskb/src/include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' _dynamic_func_call(fmt,__dynamic_dev_dbg, \ ^ /kisskb/src/include/linux/dev_printk.h:115:2: note: in expansion of macro 'dynamic_dev_dbg' dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/crypto/sa2ul.c:1485:2: note: in expansion of macro 'dev_dbg' dev_dbg(sa_k3_dev, "init: digest size: %d, rctx=%llx\n", ^ /kisskb/src/drivers/staging/media/tegra-vde/vde.c:916:12: warning: 'tegra_vde_runtime_suspend' defined but not used [-Wunused-function] static int tegra_vde_runtime_suspend(struct device *dev) ^ In file included from /kisskb/src/include/linux/bits.h:6:0, from /kisskb/src/include/linux/bitops.h:5, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/vdpa.h:5, from /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:4: /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'print_features': /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:27:60: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_MQ) | BIT(VIRTIO_NET_F_CTRL_MAC_ADDR) | BIT(VIRTIO_NET_F_HASH_REPORT) | \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:3: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:27: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:55: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:29:3: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_SPEED_DUPLEX) | BIT(VIRTIO_F_NOTIFY_ON_EMPTY) | \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:30:30: note: in expansion of macro 'BIT' BIT(VIRTIO_F_ANY_LAYOUT) | BIT(VIRTIO_F_VERSION_1) | BIT(VIRTIO_F_ACCESS_PLATFORM) | \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:30:56: note: in expansion of macro 'BIT' BIT(VIRTIO_F_ANY_LAYOUT) | BIT(VIRTIO_F_VERSION_1) | BIT(VIRTIO_F_ACCESS_PLATFORM) | \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:3: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:31: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:62: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:27:60: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_MQ) | BIT(VIRTIO_NET_F_CTRL_MAC_ADDR) | BIT(VIRTIO_NET_F_HASH_REPORT) | \ ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:3: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:27: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:55: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:29:3: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_SPEED_DUPLEX) | BIT(VIRTIO_F_NOTIFY_ON_EMPTY) | \ ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:30:30: note: in expansion of macro 'BIT' BIT(VIRTIO_F_ANY_LAYOUT) | BIT(VIRTIO_F_VERSION_1) | BIT(VIRTIO_F_ACCESS_PLATFORM) | \ ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:30:56: note: in expansion of macro 'BIT' BIT(VIRTIO_F_ANY_LAYOUT) | BIT(VIRTIO_F_VERSION_1) | BIT(VIRTIO_F_ACCESS_PLATFORM) | \ ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:3: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:31: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:62: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:220:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_HASH_REPORT); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:221:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_RSS); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:222:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_RSC_EXT); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:223:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_STANDBY); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:224:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_SPEED_DUPLEX); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:227:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_VERSION_1); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:228:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_ACCESS_PLATFORM); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:229:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_RING_PACKED); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:230:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_ORDER_PLATFORM); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:231:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_SR_IOV); ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'mlx5_vdpa_get_features': /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:1462:31: note: in expansion of macro 'BIT' ndev->mvdev.mlx_features |= BIT(VIRTIO_F_VERSION_1); ^ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:1463:30: note: in expansion of macro 'BIT' ndev->mvdev.mlx_features |= BIT(VIRTIO_F_ACCESS_PLATFORM); ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'verify_min_features': /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:1470:19: note: in expansion of macro 'BIT' if (!(features & BIT(VIRTIO_F_ACCESS_PLATFORM))) ^ WARNING: modpost: EXPORT symbol "bzero_1page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "___rw_read_exit" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "___rw_read_try" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__ndelay" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__ashrdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "empty_zero_page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__udelay" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__lshrdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "___rw_write_enter" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__ashldi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__copy_1page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__muldi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__divdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "___rw_read_enter" [vmlinux] version generation failed, symbol will not be versioned. arch/sparc/kernel/head_32.o: In function `current_pc': arch/sparc/kernel/head_32.o:(.head.text+0x5040): relocation truncated to fit: R_SPARC_WDISP22 against `.init.text' arch/sparc/kernel/head_32.o: In function `halt_notsup': arch/sparc/kernel/head_32.o:(.head.text+0x5100): relocation truncated to fit: R_SPARC_WDISP22 against `.init.text' arch/sparc/kernel/head_32.o: In function `leon_init': arch/sparc/kernel/head_32.o:(.init.text+0xa4): relocation truncated to fit: R_SPARC_WDISP22 against symbol `leon_smp_cpu_startup' defined in .text section in arch/sparc/kernel/trampoline_32.o arch/sparc/kernel/process_32.o:(.fixup+0x4): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/process_32.o:(.fixup+0xc): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x4): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x10): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x1c): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x28): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x34): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x40): additional relocation overflows omitted from the output make[1]: *** [/kisskb/src/Makefile:1167: vmlinux] Error 1 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 8 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sparc-allmodconfig_sparc64 # Build took: 0:19:39.664960