# git rev-parse -q --verify c18bb396d3d261ebbb4efbc05129c5d354c541e4^{commit} c18bb396d3d261ebbb4efbc05129c5d354c541e4 already have revision, skipping fetch # git checkout -q -f -B kisskb c18bb396d3d261ebbb4efbc05129c5d354c541e4 # git clean -qxdf # < git log -1 # commit c18bb396d3d261ebbb4efbc05129c5d354c541e4 # Merge: fd3b36d a2ac999 # Author: Linus Torvalds # Date: Mon Apr 9 17:04:10 2018 -0700 # # Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net # # Pull networking fixes from David Miller: # # 1) The sockmap code has to free socket memory on close if there is # corked data, from John Fastabend. # # 2) Tunnel names coming from userspace need to be length validated. From # Eric Dumazet. # # 3) arp_filter() has to take VRFs properly into account, from Miguel # Fadon Perlines. # # 4) Fix oops in error path of tcf_bpf_init(), from Davide Caratti. # # 5) Missing idr_remove() in u32_delete_key(), from Cong Wang. # # 6) More syzbot stuff. Several use of uninitialized value fixes all # over, from Eric Dumazet. # # 7) Do not leak kernel memory to userspace in sctp, also from Eric # Dumazet. # # 8) Discard frames from unused ports in DSA, from Andrew Lunn. # # 9) Fix DMA mapping and reset/failover problems in ibmvnic, from Thomas # Falcon. # # 10) Do not access dp83640 PHY registers prematurely after reset, from # Esben Haabendal. # # * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (46 commits) # vhost-net: set packet weight of tx polling to 2 * vq size # net: thunderx: rework mac addresses list to u64 array # inetpeer: fix uninit-value in inet_getpeer # dp83640: Ensure against premature access to PHY registers after reset # devlink: convert occ_get op to separate registration # ARM: dts: ls1021a: Specify TBIPA register address # net/fsl_pq_mdio: Allow explicit speficition of TBIPA address # ibmvnic: Do not reset CRQ for Mobility driver resets # ibmvnic: Fix failover case for non-redundant configuration # ibmvnic: Fix reset scheduler error handling # ibmvnic: Zero used TX descriptor counter on reset # ibmvnic: Fix DMA mapping mistakes # tipc: use the right skb in tipc_sk_fill_sock_diag() # sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6 # net: dsa: Discard frames from unused ports # sctp: do not leak kernel memory to user space # soreuseport: initialise timewait reuseport field # ipv4: fix uninit-value in ip_route_output_key_hash_rcu() # dccp: initialize ireq->ir_mark # net: fix uninit-value in __hw_addr_add_ex() # ... # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < git log --format=%s --max-count=1 c18bb396d3d261ebbb4efbc05129c5d354c541e4 # < make -s -j 10 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 # yes \n | make -s -j 10 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 10 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- In file included from /kisskb/src/arch/sparc/include/asm/cacheflush.h:11:0, from /kisskb/src/drivers/android/binder.c:54: /kisskb/src/arch/sparc/include/asm/cacheflush_32.h:40:37: warning: 'struct page' declared inside parameter list void sparc_flush_page_to_ram(struct page *page); ^ /kisskb/src/arch/sparc/include/asm/cacheflush_32.h:40:37: warning: its scope is only this definition or declaration, which is probably not what you want In file included from /kisskb/src/arch/sparc/include/asm/cacheflush.h:11:0, from /kisskb/src/drivers/android/binder_alloc.c:20: /kisskb/src/arch/sparc/include/asm/cacheflush_32.h:40:37: warning: 'struct page' declared inside parameter list void sparc_flush_page_to_ram(struct page *page); ^ /kisskb/src/arch/sparc/include/asm/cacheflush_32.h:40:37: warning: its scope is only this definition or declaration, which is probably not what you want /kisskb/src/drivers/char/tpm/tpm2-cmd.c: In function 'tpm2_unseal_trusted': /kisskb/src/drivers/char/tpm/tpm2-cmd.c:730:2: warning: 'blob_handle' may be used uninitialized in this function [-Wmaybe-uninitialized] tpm2_flush_context_cmd(chip, blob_handle, TPM_TRANSMIT_UNLOCKED); ^ 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:5, from /kisskb/src/arch/sparc/include/asm/smp_32.h:25, from /kisskb/src/arch/sparc/include/asm/smp.h:7, from /kisskb/src/arch/sparc/include/asm/switch_to_32.h:5, from /kisskb/src/arch/sparc/include/asm/switch_to.h:7, from /kisskb/src/arch/sparc/include/asm/ptrace.h:120, from /kisskb/src/arch/sparc/include/asm/thread_info_32.h:19, from /kisskb/src/arch/sparc/include/asm/thread_info.h:7, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/sparc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:27: /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:2386:3: note: in expansion of macro 'xchg' xchg(&iocb->ki_complete, saved_ki_complete); ^ /kisskb/src/drivers/input/joystick/analog.c:176: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/swab.h:5:0, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:13, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/sparc/include/uapi/asm/byteorder.h:5, from /kisskb/src/arch/sparc/include/asm/bitops_32.h:14, from /kisskb/src/arch/sparc/include/asm/bitops.h:7, from /kisskb/src/include/linux/bitops.h:38, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/sparc/include/asm/bug.h:25, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/thread_info.h:12, from /kisskb/src/arch/sparc/include/asm/current.h:15, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/drivers/nvme/host/core.c:15: /kisskb/src/drivers/nvme/host/core.c: In function 'nvme_get_log_ext': /kisskb/src/drivers/nvme/host/core.c:2239:43: warning: right shift count >= width of type [-Wshift-count-overflow] c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/include/uapi/linux/swab.h:117:32: note: in definition of macro '__swab32' (__builtin_constant_p((__u32)(x)) ? \ ^ /kisskb/src/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' #define cpu_to_le32 __cpu_to_le32 ^ /kisskb/src/drivers/nvme/host/core.c:2239:24: note: in expansion of macro 'cpu_to_le32' c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/drivers/nvme/host/core.c:2239:43: warning: right shift count >= width of type [-Wshift-count-overflow] c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/include/uapi/linux/swab.h:18:12: note: in definition of macro '___constant_swab32' (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \ ^ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:33:43: note: in expansion of macro '__swab32' #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) ^ /kisskb/src/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' #define cpu_to_le32 __cpu_to_le32 ^ /kisskb/src/drivers/nvme/host/core.c:2239:24: note: in expansion of macro 'cpu_to_le32' c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/drivers/nvme/host/core.c:2239:43: warning: right shift count >= width of type [-Wshift-count-overflow] c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/include/uapi/linux/swab.h:19:12: note: in definition of macro '___constant_swab32' (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \ ^ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:33:43: note: in expansion of macro '__swab32' #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) ^ /kisskb/src/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' #define cpu_to_le32 __cpu_to_le32 ^ /kisskb/src/drivers/nvme/host/core.c:2239:24: note: in expansion of macro 'cpu_to_le32' c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/drivers/nvme/host/core.c:2239:43: warning: right shift count >= width of type [-Wshift-count-overflow] c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/include/uapi/linux/swab.h:20:12: note: in definition of macro '___constant_swab32' (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \ ^ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:33:43: note: in expansion of macro '__swab32' #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) ^ /kisskb/src/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' #define cpu_to_le32 __cpu_to_le32 ^ /kisskb/src/drivers/nvme/host/core.c:2239:24: note: in expansion of macro 'cpu_to_le32' c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/drivers/nvme/host/core.c:2239:43: warning: right shift count >= width of type [-Wshift-count-overflow] c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/include/uapi/linux/swab.h:21:12: note: in definition of macro '___constant_swab32' (((__u32)(x) & (__u32)0xff000000UL) >> 24))) ^ /kisskb/src/include/uapi/linux/byteorder/big_endian.h:33:43: note: in expansion of macro '__swab32' #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) ^ /kisskb/src/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' #define cpu_to_le32 __cpu_to_le32 ^ /kisskb/src/drivers/nvme/host/core.c:2239:24: note: in expansion of macro 'cpu_to_le32' c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/drivers/nvme/host/core.c:2239:43: warning: right shift count >= width of type [-Wshift-count-overflow] c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ /kisskb/src/include/uapi/linux/swab.h:119:12: note: in definition of macro '__swab32' __fswab32(x)) ^ /kisskb/src/include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' #define cpu_to_le32 __cpu_to_le32 ^ /kisskb/src/drivers/nvme/host/core.c:2239:24: note: in expansion of macro 'cpu_to_le32' c.get_log_page.lpou = cpu_to_le32(offset >> 32ULL); ^ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:14, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/sched/signal.h:5, from /kisskb/src/drivers/net/usb/hso.c:55: /kisskb/src/drivers/net/usb/hso.c: In function 'hso_serial_set_termios': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'tcflag_t {aka long unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^ /kisskb/src/include/linux/printk.h:311:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/net/usb/hso.c:115:3: note: in expansion of macro 'pr_info' pr_info("[%d:%s] " fmt, \ ^ /kisskb/src/drivers/net/usb/hso.c:1404:3: note: in expansion of macro 'hso_dbg' hso_dbg(0x16, "Termios called with: cflags new[%d] - old[%d]\n", ^ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%d' expects argument of type 'int', but argument 5 has type 'tcflag_t {aka long unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^ /kisskb/src/include/linux/printk.h:311:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/net/usb/hso.c:115:3: note: in expansion of macro 'pr_info' pr_info("[%d:%s] " fmt, \ ^ /kisskb/src/drivers/net/usb/hso.c:1404:3: note: in expansion of macro 'hso_dbg' hso_dbg(0x16, "Termios called with: cflags new[%d] - old[%d]\n", ^ 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:5, from /kisskb/src/arch/sparc/include/asm/smp_32.h:25, from /kisskb/src/arch/sparc/include/asm/smp.h:7, from /kisskb/src/arch/sparc/include/asm/switch_to_32.h:5, from /kisskb/src/arch/sparc/include/asm/switch_to.h:7, from /kisskb/src/arch/sparc/include/asm/ptrace.h:120, from /kisskb/src/arch/sparc/include/asm/thread_info_32.h:19, from /kisskb/src/arch/sparc/include/asm/thread_info.h:7, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/sparc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:30: /kisskb/src/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c: In function 'ixgbe_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/ixgbe/ixgbe_main.c:9973:4: note: in expansion of macro 'xchg' xchg(&adapter->rx_ring[i]->xdp_prog, adapter->xdp_prog); ^ 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:5, from /kisskb/src/arch/sparc/include/asm/smp_32.h:25, from /kisskb/src/arch/sparc/include/asm/smp.h:7, from /kisskb/src/arch/sparc/include/asm/switch_to_32.h:5, from /kisskb/src/arch/sparc/include/asm/switch_to.h:7, from /kisskb/src/arch/sparc/include/asm/ptrace.h:120, from /kisskb/src/arch/sparc/include/asm/thread_info_32.h:19, from /kisskb/src/arch/sparc/include/asm/thread_info.h:7, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/sparc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:35: /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:4446:4: note: in expansion of macro 'xchg' xchg(&adapter->rx_ring[i]->xdp_prog, adapter->xdp_prog); ^ /kisskb/src/drivers/tty/serial/sunzilog.c:1132:13: warning: 'sunzilog_putchar' defined but not used [-Wunused-function] static void sunzilog_putchar(struct uart_port *port, int ch) ^ WARNING: EXPORT symbol "__lshrdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "___rw_write_enter" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__ashldi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__ndelay" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__udelay" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__ashrdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "___rw_read_try" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__muldi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__divdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "bzero_1page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "___rw_read_enter" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "___rw_read_exit" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "empty_zero_page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__copy_1page" [vmlinux] version generation failed, symbol will not be versioned. kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready WARNING: EXPORT symbol "__lshrdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "___rw_write_enter" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__ashldi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__ndelay" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__udelay" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__ashrdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "___rw_read_try" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__muldi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__divdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "bzero_1page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "___rw_read_enter" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "___rw_read_exit" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "empty_zero_page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "__copy_1page" [vmlinux] version generation failed, symbol will not be versioned. Completed OK # rm -rf /kisskb/build/linus_sparc-allmodconfig_sparc64 # Build took: 0:20:10.379235