Re: Fix memory leak in cpufreq stats.

2013-03-16 Thread Ben Hutchings
On Mon, 2013-03-11 at 18:23 -0700, Colin Cross wrote: > On Mon, Oct 15, 2012 at 1:30 PM, Rafael J. Wysocki wrote: > > On Monday 15 of October 2012 02:48:28 Tu, Xiaobing wrote: > >> > >> Fix memory leak in cpufreq stats. > >> > >> When system enter sleep, non-boot CPUs will be disable. > >> Cpufreq

Re: [3.0,3.2][PATCH] decnet: Fix disappearing sysctl entries

2013-03-16 Thread Ben Hutchings
On Mon, 2013-03-11 at 17:41 -0700, Eric W. Biederman wrote: > When decnet is built as a module a simple: > echo 0.0 >/proc/sys/net/decnet/node_address > > results in most of the sysctl entries under /proc/sys/net/decnet and > /proc/sys/net/decnet/conf disappearing. > > For more details see http:/

Re: [3.0,3.2,3.4] [PATCH] ftrace: Update the kconfig for DYNAMIC_FTRACE

2013-03-16 Thread Ben Hutchings
On Mon, 2013-03-11 at 17:50 -0400, Steven Rostedt wrote: > -- original commit in Linus's tree -- > > >From db05021d49a994ee40a9735d9c3cb0060c9babb8 Mon Sep 17 00:00:00 2001 > From: Steven Rostedt > Date: Wed, 27 Feb 2013 21:48:09 -0500 > Subject: [PATCH] ftrace: Up

Re: [PATCH 2/2] efi: be more paranoid about available space when creating variables

2013-03-16 Thread Ben Hutchings
On Mon, 2013-03-11 at 17:48 -0400, Josh Boyer wrote: > Upstream commit commit 68d929862e29a8b52a7f2f2f86a0600423b093cd [...] It appears that earlier kernel versions will also need commit d80a361d779a ('efi_pstore: Check remaining space with QueryVariableInfo() before writing data') and then a furt

Re: [PATCH 1/2] efivars: Disable external interrupt while holding efivars->lock

2013-03-16 Thread Ben Hutchings
On Mon, 2013-03-11 at 17:47 -0400, Josh Boyer wrote: > Upstream commit 81fa4e581d9283f7992a0d8c534bb141eb840a14 [...] This version didn't apply to 3.2.y, but the bug does seem to affect it. And efivars is essentially the same in 3.2.y and 3.4.y. Does this backport look right for them? Ben. ---

Re: [PATCH] tty: Correct tty buffer flush.

2013-03-16 Thread Ben Hutchings
On Mon, 2013-03-04 at 23:19 +0400, Ilya Zykov wrote: > On 03.12.2012 13:54, Ilya Zykov wrote: > > The root of problem is carelessly zeroing pointer(in function > > __tty_buffer_flush()), > > when another thread can use it. It can be cause of "NULL pointer > > dereference". > > Main idea of th

Re: [PATCH 3.2] iommu/amd: Initialize device table after dma_ops

2013-03-16 Thread Ben Hutchings
On Sun, 2013-03-03 at 23:58 +0100, Joerg Roedel wrote: > Hi Ben, > > On Sat, Mar 02, 2013 at 11:00:35PM +, Ben Hutchings wrote: > > I'm not convinced about this backport, because the order of > > initialisation already changed a lot after 3.2 and before the upstream > > commit. So I'm going t

Re: [PATCH] hw_random: free rng_buffer at module exit

2013-03-16 Thread Ben Hutchings
On Fri, 2013-03-15 at 15:35 +1030, Rusty Russell wrote: > Satoru Takeuchi writes: > > At Thu, 14 Mar 2013 17:11:21 +1030, > > Rusty Russell wrote: > >> > >> Satoru Takeuchi writes: > >> > Hi Rusty, > >> > > >> > At Tue, 12 Mar 2013 15:43:33 -0700, > >> > Greg Kroah-Hartman wrote: > >> >> @@ -307

Re: [ 11/21] hwmon: (sht15) Check return value of regulator_enable()

2013-03-16 Thread Guenter Roeck
On Sat, Mar 16, 2013 at 04:15:24AM +, Ben Hutchings wrote: > On Tue, 2013-03-12 at 15:44 -0700, Greg Kroah-Hartman wrote: > > 3.0-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Mark Brown > > > > commit 3e78080f81481aa8340374

[PATCH] hwmon: (sht15) Fix memory leak if regulator_enable() fails

2013-03-16 Thread Guenter Roeck
From: Ben Hutchings Commit 3e78080f8148 ('hwmon: (sht15) Check return value of regulator_enable()') depends on the use of devm_kmalloc() for automatic resource cleanup in the failure cases, which was introduced in 3.7. In older stable branches, explicit cleanup is needed. Signed-off-by: Ben Hut