[PATCH] blk-throttle: check stats_cpu before reading it from sysfs

2015-02-16 Thread Thadeu Lima de Souza Cascardo
test(); return 0; } Reported-by: Ricardo Marin Matinata Signed-off-by: Thadeu Lima de Souza Cascardo Cc: stable@vger.kernel.org --- block/blk-throttle.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 9273d09..5b9c6d5 10064

[PATCH] rsxx: fix discard with length smaller than hw blksize

2014-06-30 Thread Thadeu Lima de Souza Cascardo
: Thadeu Lima de Souza Cascardo Cc: stable@vger.kernel.org --- drivers/block/rsxx/dma.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/block/rsxx/dma.c b/drivers/block/rsxx/dma.c index cf8cd29..d105a4a 100644 --- a/drivers/block/rsxx/dma.c +++ b/drivers/block

Re: [ 008/153] powerpc/eeh: Fix crash when adding a device in a slot with DDW

2013-03-12 Thread Thadeu Lima de Souza Cascardo
etween 3.3 and 3.4. Regards. Cascardo. > > Mikey > > > > On Mon, Mar 4, 2013 at 2:37 PM, Ben Hutchings wrote: > > > 3.2-stable review patch. If anyone has any objections, please let me > > > know. > > > > > > -- > > >

[PATCH 2/2] ppc/EEH: fix crash when adding a device in a slot with DDW

2012-12-28 Thread Thadeu Lima de Souza Cascardo
the system. So, a new function is needed to add such files only after pci_bus_add_devices have been called. Cc: stable@vger.kernel.org Signed-off-by: Thadeu Lima de Souza Cascardo --- arch/powerpc/include/asm/eeh.h |3 +++ arch/powerpc/kernel/of_platform.c|3 +++ arch/powerpc/

Re: [PATCH] ppc/EEH: fix crash when adding a device in a slot with DDW

2012-12-28 Thread Thadeu Lima de Souza Cascardo
On Fri, Dec 28, 2012 at 01:18:24PM +0800, Gavin Shan wrote: > On Thu, Dec 27, 2012 at 02:34:00PM -0200, Thadeu Lima de Souza Cascardo wrote: > >The DDW code uses a eeh_dev struct from the pci_dev. However, this is > >not set until eeh_add_device_late is called. > > > >S

[PATCH] ppc/EEH: fix crash when adding a device in a slot with DDW

2012-12-27 Thread Thadeu Lima de Souza Cascardo
the system. So, a new function is needed to add such files only after pci_bus_add_devices have been called. Cc: stable@vger.kernel.org Signed-off-by: Thadeu Lima de Souza Cascardo --- arch/powerpc/include/asm/eeh.h |3 +++ arch/powerpc/kernel/pci-common.c |7 +-- arch/powerpc

[PATCH] ehea: only register irq after setting up ports

2012-04-23 Thread Thadeu Lima de Souza Cascardo
orker/0:1 Signed-off-by: Thadeu Lima de Souza Cascardo Cc: stable@vger.kernel.org --- drivers/net/ethernet/ibm/ehea/ehea_main.c | 30 +--- 1 files changed, 18 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/etherne