[PATCH 5/5] usb: dwc3: ulpi: make dwc3_ulpi_ops constant

2016-07-30 Thread Tal Shorer
ulpi_register_interface() accepts a const struct ulpi_ops and dwc3 doesn't perform any changes to this struct at runtime, so there's no reason it shouldn't be constant. Signed-off-by: Tal Shorer --- drivers/usb/dwc3/ulpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive

[PATCH 4/5] usb: ulpi: make ops struct constant

2016-07-30 Thread Tal Shorer
None of the core ulpi functions perform any changes to the operations struct, and logically as a struct that contains function pointers there's no reason it shouldn't be constant. Signed-off-by: Tal Shorer --- drivers/usb/common/ulpi.c | 3 ++- include/linux/ulpi/driver.h| 2 +- include

Re: [GIT PULL] Please pull NFS client updates for 4.8

2016-07-30 Thread Linus Torvalds
On Sat, Jul 30, 2016 at 3:36 PM, Trond Myklebust wrote: > > git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.8-1 Hmm. That machine is being very very slow. It's responding to pings, but the whole "git pull" thing is not making any real progress. Mind giving it a look/kick,

Re: [GIT PULL] Please pull NFS client updates for 4.8

2016-07-30 Thread Linus Torvalds
On Sat, Jul 30, 2016 at 4:32 PM, Linus Torvalds wrote: > > Hmm. That machine is being very very slow. It's responding to pings, > but the whole "git pull" thing is not making any real progress. > > Mind giving it a look/kick, or maybe pushing to kernel.org or something? Ahh, it's ok now. Pulled.

Re: [PATCH v5] net: sched: convert qdisc linked list to hashtable

2016-07-30 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc7] [also build test ERROR on next-20160729] [cannot apply to net/master net-next/master ipsec-next/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jir

Re: [PATCH] qed: Add and use specific logging functions to reduce object size

2016-07-30 Thread kbuild test robot
Hi, [auto build test ERROR on net-next/master] [also build test ERROR on v4.7 next-20160729] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Joe-Perches/qed-Add-and-use-specific-logging-functions

vgacon.c:undefined reference to `screen_info'

2016-07-30 Thread kbuild test robot
Hi, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d761f3ed6e71bcca724a6e9e39efcac65b7b4ac1 commit: f69405ce6c0fc9f4a039011007371b31f80b470d openrisc: include: asm: Kbuild: add default "vga.h" date:

Re: [PATCH 1/2] Support SD UHS for hikey-mainline-rebase

2016-07-30 Thread kbuild test robot
Hi, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.7 next-20160729] [cannot apply to ulf.hansson-mmc/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jin-Guojun/Suppor

Re: [PATCH v6 3/3] arm: dts: mt2701: Add auxadc node.

2016-07-30 Thread kbuild test robot
Hi, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.7 next-20160729] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Zhiyong-Tao/AUXADC-Mediatek-auxadc-driver/20160727-18072

Re: [RFC PATCH 4/4] KVM: vmx: add support for emulating UMIP

2016-07-30 Thread Wanpeng Li
2016-07-14 16:09 GMT+08:00 Paolo Bonzini : [...] > > This is not necessary because this is how KVM computes > CPUID[EAX=7,EBX=0].ECX: > > unsigned f_umip = kvm_x86_ops->umip_emulated() ? F(UMIP) : 0; > ... > const u32 kvm_cpuid_7_0_ecx_x86_features = F(PKU) | F(UMIP); >

[PATCH] net: thunderx: correct bound check in nic_config_loopback

2016-07-30 Thread Levin, Alexander
Off by one in nic_config_loopback would access an invalid arrat variable when vf id == MAX_LMAC. Signed-off-by: Sasha Levin --- drivers/net/ethernet/cavium/thunder/nic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cavium/thunder/nic_main.c b/dri

drivers/media/v4l2-core/videobuf2-dma-contig.c:484:2: error: implicit declaration of function 'dma_get_cache_alignment'

2016-07-30 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7f155c702677d057d03b192ce652311de5434697 commit: e1c7e324539ada3b2b13ca2898bcb4948a9ef9db dma-mapping: always provide the dma_map_ops based implementation date:

Linux 3.18.38

2016-07-30 Thread Levin, Alexander
I'm announcing the release of the 3.18.38 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Linux 4.1.29

2016-07-30 Thread Levin, Alexander
I'm announcing the release of the 4.1.29 kernel. All users of the 4.1 kernel series must upgrade. The updated 4.1.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.1.y and can be browsed at the normal kernel.org git web browser:

[GIT PULL] Please pull powerpc/linux.git powerpc-4.8-1 tag

2016-07-30 Thread Michael Ellerman
Hi Linus, Please pull powerpc updates for 4.8: The following changes since commit 5edb56491d4812c42175980759da53388e5d86f5:   Linux 4.7-rc3 are available in the git repository at:   git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-4.8-1 for you to fetch changes up

Re: [PATCH] random: Fix crashes with sparse node ids

2016-07-30 Thread Michael Ellerman
Linus Torvalds writes: > On Sat, Jul 30, 2016 at 7:23 AM, Michael Ellerman wrote: >> #ifdef CONFIG_NUMA >> - pool = kmalloc(num_nodes * sizeof(void *), >> + pool = kmalloc(nr_node_ids * sizeof(void *), >>GFP_KERNEL|__GFP_NOFAIL|__GFP_ZERO); >> for_eac

Re: [PATCH net] 8139too:fix system hang when there is a tx timeout event.

2016-07-30 Thread David Miller
From: Chunhao Lin Date: Thu, 28 Jul 2016 02:39:57 +0800 > If tx timeout event occur, kernel will call rtl8139_tx_timeout_task() to reset > hardware. But in this function, driver does not stop tx and rx function before > reset hardware, that will cause system hang. > > In this patch, add stop tx

Re: [PATCH] random: Fix crashes with sparse node ids

2016-07-30 Thread Linus Torvalds
On Sat, Jul 30, 2016 at 8:27 PM, Michael Ellerman wrote: > > Dropping NOFAIL means we need to handle allocation failures, which makes > the patch a bit bigger, and less of a pure fix. Hmm. If you get allocation failures for something like this at init time, I think you're basically screwed anyway

[PATCH] i2c: Modify error handling

2016-07-30 Thread Amitoj Kaur Chawla
devm_gpiod_get returns an ERR_PTR on error so a null check is incorrect and an IS_ERR check is required. The Coccinelle semantic patch used to make this change is as follows: @@ expression e; statement S; @@ e = devm_gpiod_get(...); if( - !e + IS_ERR(e) ) { ... - return ...; + re

Re: [PATCH v2 0/4] drivers: net: cpsw: fix driver loading/unloading

2016-07-30 Thread David Miller
From: Grygorii Strashko Date: Thu, 28 Jul 2016 20:50:33 +0300 > This series fixes set of isssues observed when CPSW driver module is > unloaded/loaded: > 1) rmmod: deadlock in cpdma_ctlr_destroy > 2) rmmod: L3 back-trace and crash if all net interfaces are down, because CPSW > can be powerred do

[PATCH v2] Bluetooth: Add LED triggers for HCI frames tx and rx

2016-07-30 Thread Guodong Xu
Two LED triggers are added into hci_dev: tx_led and rx_led. Upon ACL/SCO packets available in tx or rx, the LEDs will blink. For each hci registration, two triggers are added into LED subsystem: [hdev->name]-tx and [hdev-name]-rx. Refer to Documentation/leds/leds-class.txt for usage. Verified on

OOM killer invoked during btrfs send/recieve on otherwise idle machine

2016-07-30 Thread Markus Trippelsdorf
Tonight the OOM killer got invoked during backup of /: [Jul31 01:56] kthreadd invoked oom-killer: gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK), order=2, oom_score_adj=0 [ +0.04] CPU: 3 PID: 2 Comm: kthreadd Not tainted 4.7.0-06816-g797cee982eef-dirty #37 [ +0.00] Hardware name:

Re: [PATCH] net: tulip: fix spelling mistake: "attemping" -> "attempting"

2016-07-30 Thread David Miller
From: Colin King Date: Sat, 30 Jul 2016 17:47:07 +0100 > From: Colin Ian King > > trivial fix to spelling mistake in printk message > > Signed-off-by: Colin Ian King Applied, thanks.

Re: [PATCH 33/33] Staging: android: ion: ion.c: Compression of lines for

2016-07-30 Thread Laura Abbott
On 07/30/2016 09:11 AM, Nadim almas wrote: This patch compresses two lines in to a single line in file ion.c if immediate return statement is found. It also removes variable bytes_written as it is no longer needed. This still says bytes_written. None of the patches after your first one apply

Re: Is reading from /proc/self/smaps thread-safe?

2016-07-30 Thread Mateusz Guzik
On Tue, Jul 26, 2016 at 02:44:48PM +0200, Marcin Ślusarz wrote: > Hey > > I have a simple program that mmaps 8MB of anonymous memory, spawns 16 > threads, reads /proc/self/smaps in each thread and looks up whether > mapped address can be found in smaps. From time to time it's not there. > > Is th

Re: [PATCH] net/mlx5_core/pagealloc: Remove deprecated create_singlethread_workqueue

2016-07-30 Thread Leon Romanovsky
On Fri, Jul 29, 2016 at 08:22:37AM -0400, Tejun Heo wrote: > Hello, > > On Thu, Jul 28, 2016 at 12:37:35PM +0300, Leon Romanovsky wrote: > > Did you test this patch? Did you notice the memory reclaim path nature > > of this work? > > The conversion uses WQ_MEM_RECLAIM, which is standard for all >

<    1   2