# git rev-parse -q --verify 2cc3c4b3c2e9c99e90aaf19cd801ff2c160f283c^{commit} 2cc3c4b3c2e9c99e90aaf19cd801ff2c160f283c already have revision, skipping fetch # git checkout -q -f -B kisskb 2cc3c4b3c2e9c99e90aaf19cd801ff2c160f283c # git clean -qxdf # < git log -1 # commit 2cc3c4b3c2e9c99e90aaf19cd801ff2c160f283c # Merge: 6f6aea7e966c f91daf565b0e # Author: Linus Torvalds # Date: Sun Aug 16 10:55:12 2020 -0700 # # Merge tag 'io_uring-5.9-2020-08-15' of git://git.kernel.dk/linux-block # # Pull io_uring fixes from Jens Axboe: # "A few differerent things in here. # # Seems like syzbot got some more io_uring bits wired up, and we got a # handful of reports and the associated fixes are in here. # # General fixes too, and a lot of them marked for stable. # # Lastly, a bit of fallout from the async buffered reads, where we now # more easily trigger short reads. Some applications don't really like # that, so the io_read() code now handles short reads internally, and # got a cleanup along the way so that it's now easier to read (and # documented). We're now passing tests that failed before" # # * tag 'io_uring-5.9-2020-08-15' of git://git.kernel.dk/linux-block: # io_uring: short circuit -EAGAIN for blocking read attempt # io_uring: sanitize double poll handling # io_uring: internally retry short reads # io_uring: retain iov_iter state over io_read/io_write calls # task_work: only grab task signal lock when needed # io_uring: enable lookup of links holding inflight files # io_uring: fail poll arm on queue proc failure # io_uring: hold 'ctx' reference around task_work queue + execute # fs: RWF_NOWAIT should imply IOCB_NOIO # io_uring: defer file table grabbing request cleanup for locked requests # io_uring: add missing REQ_F_COMP_LOCKED for nested requests # io_uring: fix recursive completion locking on oveflow flush # io_uring: use TWA_SIGNAL for task_work uncondtionally # io_uring: account locked memory before potential error case # io_uring: set ctx sq/cq entry count earlier # io_uring: Fix NULL pointer dereference in loop_rw_iter() # io_uring: add comments on how the async buffered read retry works # io_uring: io_async_buf_func() need not test page bit # < /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 2cc3c4b3c2e9c99e90aaf19cd801ff2c160f283c # < make -s -j 48 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 48 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 48 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 48 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_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/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/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) ^ /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/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/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", ^ 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))) ^ /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/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); ^ 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/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), ^ 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 48 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:12:12.242753