[ 16/24] USB: iuu_phoenix: fix backported patches

2012-11-02 Thread Greg Kroah-Hartman
dbgbuf): 0978c94 USB: iuu_phoenix: fix sysfs-attribute creation 5363655 USB: iuu_phoenix: fix port-data memory leak Reported-by: Fengguang Wu fengguang...@intel.com Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/serial

[ 14/24] ceph: avoid 32-bit page index overflow

2012-11-02 Thread Greg Kroah-Hartman
-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- fs/ceph/addr.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c @@ -205,7 +205,7 @@ static int readpage_nounlock(struct file dout(readpage inode %p file %p page %p index %lu

[ 12/24] ceph: Fix oops when handling mdsmap that decreases max_mds

2012-11-02 Thread Greg Kroah-Hartman
() triggers oops. Signed-off-by: Yan, Zheng zheng.z@intel.com Signed-off-by: Sage Weil s...@inktank.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- fs/ceph/mds_client.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/fs/ceph/mds_client.c +++ b/fs/ceph

[ 06/24] floppy: dont call alloc_ordered_workqueue inside the alloc_disk loop

2012-11-02 Thread Greg Kroah-Hartman
...@kernel.dk Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/floppy.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -4138,6 +4138,10 @@ static int __init do_floppy_init(void

[ 05/24] md/raid1: Fix assembling of arrays containing Replacements.

2012-11-02 Thread Greg Kroah-Hartman
, which is initialised, instead. Bug was introduced by commit c19d57980b38a5bb613a898937a1cf85f422fb9b md/raid1: recognise replacements when assembling arrays. in 3.3, so fix is suitable for 3.3.y thru 3.6.y. Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Greg Kroah-Hartman gre

[ 00/24] 3.6.6-stable review

2012-11-02 Thread Greg Kroah-Hartman
received after that time might be too late. The whole patch series can be found in one patch at: kernel.org/pub/linux/kernel/v3.0/stable-review/patch-3.6.6-rc1.gz and the diffstat can be found below. thanks, greg k-h - Pseudo-Shortlog of commits: Greg Kroah-Hartman gre

[ 02/24] blkcg: Fix use-after-free of q-root_blkg and q-root_rl.blkg

2012-11-02 Thread Greg Kroah-Hartman
/0x110 This patch clears q-root_blkg and q-root_rl.blkg when root blkg is destroyed. Signed-off-by: Jun'ichi Nomura j-nom...@ce.jp.nec.com Acked-by: Vivek Goyal vgo...@redhat.com Acked-by: Tejun Heo t...@kernel.org Signed-off-by: Jens Axboe ax...@kernel.dk Signed-off-by: Greg Kroah-Hartman gre

[ 03/24] gpio-timberdale: fix a potential wrapping issue

2012-11-02 Thread Greg Kroah-Hartman
the shift wraps. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/gpio/gpio-timberdale.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/gpio

[ 02/11] gpio-timberdale: fix a potential wrapping issue

2012-11-02 Thread Greg Kroah-Hartman
the shift wraps. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/gpio/gpio-timberdale.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/gpio

[ 04/11] md/raid1: Fix assembling of arrays containing Replacements.

2012-11-02 Thread Greg Kroah-Hartman
, which is initialised, instead. Bug was introduced by commit c19d57980b38a5bb613a898937a1cf85f422fb9b md/raid1: recognise replacements when assembling arrays. in 3.3, so fix is suitable for 3.3.y thru 3.6.y. Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Greg Kroah-Hartman gre

[ 11/11] drm/nouveau: headless mode by default if pci class != vga display

2012-11-02 Thread Greg Kroah-Hartman
Signed-off-by: Ben Skeggs bske...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- a/drivers/gpu/drm/nouveau/nouveau_drv.c +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c @@ -488,9 +488,7 @@ static int __init nouveau_init(void) #ifdef CONFIG_VGA_CONSOLE

[ 04/24] gpiolib: Dont return -EPROBE_DEFER to sysfs, or for invalid gpios

2012-11-02 Thread Greg Kroah-Hartman
not try to be deferred on failure. Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com Signed-off-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/gpio/gpiolib.c | 10 +++--- 1 file changed, 7 insertions(+), 3

[ 10/11] drm/nouveau: fix suspend/resume when in headless mode

2012-11-02 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs bske...@redhat.com Backport of fixes from upstream commit: 9430738d80223a1cd791a2baa74fa170d3df1262 Signed-off-by: Ben Skeggs bske...@redhat.com Signed-off-by: Greg Kroah-Hartman gre

[ 08/11] HID: microsoft: fix invalid rdesc for 3k kbd

2012-11-02 Thread Greg Kroah-Hartman
. The same as for the Wireless Desktop Receiver, this should be Physical Min/Max. So fix that appropriately. References: https://bugzilla.novell.com/show_bug.cgi?id=776834 Signed-off-by: Jiri Slaby jsl...@suse.cz Signed-off-by: Jiri Kosina jkos...@suse.cz Signed-off-by: Greg Kroah-Hartman gre

[ 09/11] drm/nouveau: silence modesetting spam on pre-gf8 chipsets

2012-11-02 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs bske...@redhat.com commit cee59f15a60cc6269a25e3f6fbf1a577d6ab8115 upstream. Signed-off-by: Ben Skeggs bske...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org

[ 07/11] target: Fix double-free of se_cmd in target_complete_tmr_failure

2012-11-02 Thread Greg Kroah-Hartman
h...@lst.de Cc: Roland Dreier rol...@purestorage.com Cc: Andy Grover agro...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/target/target_core_transport.c |1 - 1 file changed, 1 deletion(-) --- a/drivers/target/target_core_transport.c +++ b/drivers/target

[ 06/11] b43: Fix oops on unload when firmware not found

2012-11-02 Thread Greg Kroah-Hartman
-by: John W. Linville linvi...@tuxdriver.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/net/wireless/b43/main.c |2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -5430,6 +5430,8 @@ static void

[ 05/11] floppy: do put_disk on current dr if blk_init_queue fails

2012-11-02 Thread Greg Kroah-Hartman
is decremented first in the error handling loop). Reviewed-by: Ben Hutchings b...@decadent.org.uk Signed-off-by: Herton Ronaldo Krzesinski herton.krzesin...@canonical.com Signed-off-by: Jiri Kosina jkos...@suse.cz Signed-off-by: Jens Axboe ax...@kernel.dk Signed-off-by: Greg Kroah-Hartman gre

Re: [PATCH] Staging: Android: logger: module_exit implementationg

2012-11-02 Thread Greg Kroah-Hartman
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Brian Swetland swetl...@google.com --- drivers/staging/android/logger.c | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/logger.c b/drivers/staging/android

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Greg Kroah-Hartman
output looks like | [root@neptune ~]# cat /sys/devices/virtual/tty/ptmp0/pty_state | locked: 0 exclusive: 0 packet: 0 Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org CC: Alan Cox a...@lxorguk.ukuu.org.uk CC: Greg Kroah-Hartman gre...@linuxfoundation.org CC: H. Peter Anvin h

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Greg Kroah-Hartman
On Sun, Sep 23, 2012 at 01:52:32AM +0400, Cyrill Gorcunov wrote: On Sun, Sep 23, 2012 at 12:11:44AM +0400, Cyrill Gorcunov wrote: Sysfs is one value per file, you have three values here, please make 3 files. And document them in Documentation/ABI/. Hmm, sure Greg, I'll update.

Re: [PATCH 14/23] usb-acpi: Comply with the ACPI API change

2012-09-22 Thread Greg Kroah-Hartman
Signed-off-by: Bob Moore robert.mo...@intel.com Cc: Matthew Garrett m...@redhat.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Lan Tianyu tianyu@intel.com Signed-off-by: Len Brown len.br...@intel.com Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org -- To unsubscribe from

Re: [PATCH 3/3] zram: select ZSMALLOC when ZRAM is configured

2012-09-26 Thread Greg Kroah-Hartman
On Wed, Sep 26, 2012 at 05:50:19PM +0900, Minchan Kim wrote: At the monent, we can configure zram in driver/block once zsmalloc in /lib menu is configured firstly. It's not convenient. User can configure zram in driver/block regardless of zsmalloc enabling by this patch. Signed-off-by:

Re: [PATCH 3/3] zram: select ZSMALLOC when ZRAM is configured

2012-09-26 Thread Greg Kroah-Hartman
On Wed, Sep 26, 2012 at 12:23:35PM -0400, Calvin Walton wrote: On Wed, 2012-09-26 at 09:15 -0700, Greg Kroah-Hartman wrote: On Wed, Sep 26, 2012 at 05:50:19PM +0900, Minchan Kim wrote: At the monent, we can configure zram in driver/block once zsmalloc in /lib menu is configured firstly

staging tree closed for 3.7

2012-09-26 Thread Greg Kroah-Hartman
With 3.6 about to be released, I've now closed the 3.7 staging-next tree for new features / cleanups. It's bug-fixes only now until 3.7-rc1 is out. Ian and Hartley, I've not applied a few of the last patches you sent me as it seems there was some disagreements. Also, the recent __user cleanups

Re: staging tree closed for 3.7

2012-09-26 Thread Greg Kroah-Hartman
On Wed, Sep 26, 2012 at 10:56:06AM -0700, Greg Kroah-Hartman wrote: With 3.6 about to be released, I've now closed the 3.7 staging-next tree for new features / cleanups. It's bug-fixes only now until 3.7-rc1 is out. Oh, and if I've missed any patches that people have sent me already, please

Re: staging tree closed for 3.7

2012-09-26 Thread Greg Kroah-Hartman
On Wed, Sep 26, 2012 at 01:47:11PM -0500, H Hartley Sweeten wrote: On Wednesday, September 26, 2012 10:57 AM, Greg Kroah-Hartman wrote: On Wed, Sep 26, 2012 at 10:56:06AM -0700, Greg Kroah-Hartman wrote: With 3.6 about to be released, I've now closed the 3.7 staging-next tree for new

Re: [BUG] Deferred probing in driver model is racy, resulting in lost probes

2012-09-26 Thread Greg Kroah-Hartman
On Sun, Sep 16, 2012 at 09:24:43PM +0800, Ming Lei wrote: On Sun, Sep 16, 2012 at 4:25 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: It isn't. As I said, it's a race condition due to lack of locking - the driver hasn't been added to the list of drivers at this point: int

Re: [BUG] Deferred probing in driver model is racy, resulting in lost probes

2012-09-26 Thread Greg Kroah-Hartman
On Wed, Sep 26, 2012 at 09:23:21PM +0100, Russell King - ARM Linux wrote: On Wed, Sep 26, 2012 at 01:08:33PM -0700, Greg Kroah-Hartman wrote: On Sun, Sep 16, 2012 at 09:24:43PM +0800, Ming Lei wrote: diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 181ed26..17d7437 100644

Re: [PATCH v9 0/11] KGDB/KDB FIQ (NMI) debugger

2012-09-26 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2012 at 02:26:50PM -0700, Anton Vorontsov wrote: Hi all, Here comes v9... Greg, patches 1-7 have gotten all the needed acks from Alan and Jason, so it would be awesome if you could apply them to your tty-next tree. All 7 patches of these are now applied, thanks. greg k-h

Re: [PATCH/RFC/cosmetic] driver base: use available pointer

2012-09-26 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2012 at 11:48:28AM +0200, Guennadi Liakhovetski wrote: Don't recalculate an available pointer. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- diff --git a/drivers/base/platform.c b/drivers/base/platform.c index a1a7225..efe9aa9 100644 ---

Re: [RFC PATCH 1/3] uio: uio_pruss: port to AM33xx

2012-09-26 Thread Greg Kroah-Hartman
On Wed, Sep 26, 2012 at 09:44:29AM -0400, Matt Porter wrote: Add ifdefery hacks to only use SRAM on Davinci. This needs to be cleaned up with a sane generic SRAM allocator (like the DT based driver available that can't be used on Davinci which is just starting DT conversion) before it can go

Re: [PATCH] printk: drop ambiguous LOG_CONT flag

2012-09-26 Thread Greg Kroah-Hartman
On Wed, Sep 26, 2012 at 07:58:45PM +0200, Jan H. Schönherr wrote: From: Jan H. Schönherr schn...@cs.tu-berlin.de The meaning of LOG_CONT is unclear, i. e., whether a message is a starting, ending, or middle fragment. Unfortunately, this cannot be inferred from the LOG_PREFIX and LOG_NEWLINE

Re: debugfs file creation from a user process ioctl

2012-09-27 Thread Greg Kroah-Hartman
On Thu, Sep 27, 2012 at 02:17:05PM +1000, Dave Airlie wrote: Hi guys, we've been seeing an error with nouveau and I'm not sure if its new or we just never spent time looking into it. The basics are when a new drm client opens the device it gets a channel assigned, we allocate the channel

Re: staging tree closed for 3.7

2012-09-27 Thread Greg Kroah-Hartman
On Thu, Sep 27, 2012 at 10:31:17AM +0100, Ian Abbott wrote: On 2012-09-26 18:56, Greg Kroah-Hartman wrote: On Wed, Sep 26, 2012 at 10:56:06AM -0700, Greg Kroah-Hartman wrote: With 3.6 about to be released, I've now closed the 3.7 staging-next tree for new features / cleanups. It's bug-fixes

Re: PROBLEM: Performance drop

2012-09-27 Thread Greg Kroah-Hartman
On Sat, Jul 14, 2012 at 12:11:41PM +0100, Jason Vas Dias wrote: Hi - any progress on this or on the patch I submitted for it ? - please see enclosed - apologies for my being forced to use gmail which has mandatory line wrap - Please do something about restoring correct thermal operation on

Re: [PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-27 Thread Greg Kroah-Hartman
On Wed, Sep 05, 2012 at 05:37:25PM -0700, Darren Hart wrote: On 09/05/2012 05:25 PM, Darren Hart wrote: On 09/05/2012 05:18 PM, Greg Kroah-Hartman wrote: On Wed, Sep 05, 2012 at 05:14:48PM -0700, Greg Kroah-Hartman wrote: On Wed, Sep 05, 2012 at 05:04:07PM -0700, Darren Hart wrote

Re: [PATCH 6/7] usb: core: reuse kbasename()

2012-10-03 Thread Greg Kroah-Hartman
On Wed, Oct 03, 2012 at 11:27:27AM +0300, Andy Shevchenko wrote: On Tue, Oct 2, 2012 at 6:00 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: --- a/drivers/usb/core/file.c +++ b/drivers/usb/core/file.c @@ -200,14 +200,9 @@ int usb_register_dev(struct usb_interface *intf,

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-03 Thread Greg Kroah-Hartman
On Wed, Oct 03, 2012 at 06:25:38AM -0700, Paul E. McKenney wrote: On Tue, Oct 02, 2012 at 12:50:42PM -0700, Kees Cook wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, it should be removed.

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-03 Thread Greg Kroah-Hartman
On Wed, Oct 03, 2012 at 09:47:12AM -0700, Paul E. McKenney wrote: On Wed, Oct 03, 2012 at 09:17:02AM -0700, Greg Kroah-Hartman wrote: On Wed, Oct 03, 2012 at 06:25:38AM -0700, Paul E. McKenney wrote: On Tue, Oct 02, 2012 at 12:50:42PM -0700, Kees Cook wrote: This config item has

Re: [PATCH] staging: csr: Replace wakelock code with wakeup sources

2012-10-03 Thread Greg Kroah-Hartman
On Wed, Oct 03, 2012 at 08:14:04PM +0300, Priit Laes wrote: Signed-off-by: Priit Laes pl...@plaes.org Why? Please be more dscriptive in the changelog entry for the patch, care to redo this and resend it? thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 2/5] PCI, sys: Use is_visable() with boot_vga attribute for pci_dev

2012-10-03 Thread Greg Kroah-Hartman
-by: Greg Kroah-Hartman gre...@linuxfoundation.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [GIT PULL] user namespace compile fix for 3.7

2012-10-03 Thread Greg Kroah-Hartman
On Wed, Oct 03, 2012 at 04:03:54PM -0700, Eric W. Biederman wrote: Linus, Please pull the for-linus git tree from: git://git.kernel.org:/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: 702e490211b2b7e448ebe1b3a07d97ad2fc07e03 userns: Fix build of

Re: Seems like sched: Add missing call to calc_load_exit_idle() should be reverted in 3.5 branch

2012-10-04 Thread Greg Kroah-Hartman
On Thu, Oct 04, 2012 at 12:11:01PM +0800, Huacai Chen wrote: Hi, Greg I found that Linux-3.5.5 accept this commit sched: Add missing call to calc_load_exit_idle() but I think this isn't needed. Because 5167e8d5417b sched/nohz: Rewrite and fix load-avg computation -- again not fully applied

[ 00/56] 3.6.1-stable review

2012-10-04 Thread Greg Kroah-Hartman
: r8712u: Do not queue cloned skb Christopher Brannon ch...@the-brannons.com tty: keyboard.c: Remove locking from vt_get_leds. Ben Hutchings b...@decadent.org.uk staging: speakup_soft: Fix reading of init string Greg Kroah-Hartman gre...@linuxfoundation.org USB: serial: fix up bug

[ 01/56] usb: gadget: make g_printer enumerate again

2012-10-04 Thread Greg Kroah-Hartman
...@linutronix.de Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/gadget/printer.c | 128 +-- 1 file changed, 65 insertions(+), 63 deletions(-) --- a/drivers/usb/gadget/printer.c +++ b/drivers/usb

[ 02/56] usb: gadget: initialize the strings in tcm_usb_gadget properly

2012-10-04 Thread Greg Kroah-Hartman
the strings are initialized properly and reported by lsusb. Acked-by: Michal Nazarewicz min...@mina86.com Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/gadget

[ 03/56] usb: otg: mxs-phy: Fix mx23 operation

2012-10-04 Thread Greg Kroah-Hartman
for clearing of ENHOSTDISCONDETECT. Successfully tested on mx23-olinuxino (micro, mini and maxi variants) and mx28evk. Signed-off-by: Mike Thompson mpthomp...@gmail.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: Greg Kroah-Hartman gre

[ 05/56] USB: ftdi_sio: add TIAO USB Multi-Protocol Adapter (TUMPA) support

2012-10-04 Thread Greg Kroah-Hartman
A is dedicated to JTAG/SPI while channel B can be used for UART/RS-232: use the ftdi_jtag_quirk to expose only channel B as a usb-serial interface to userspace. Signed-off-by: Antonio Ospite osp...@studenti.unina.it Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/serial

[ 06/56] USB: EHCI: convert warning messages to debug-level

2012-10-04 Thread Greg Kroah-Hartman
. Furthermore, there's nothing much we can do about it when the problem happens. Signed-off-by: Alan Stern st...@rowland.harvard.edu Reported-and-tested-by: Thomas Voegtle t...@lio96.de Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/host/ehci-timer.c |6 -- 1 file

[ 09/56] USB: serial: fix up bug with missing {}

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman gre...@linuxfoundation.org commit 44b0f0836b62171617d56c6528c821ceaa6ea506 upstream. As reported by Fengguang: FYI, coccinelle warns about drivers/usb/serial/usb-serial.c

[ 13/56] staging: comedi: s626: dont dereference insn-data

2012-10-04 Thread Greg Kroah-Hartman
. It should be dereferencing the separate `data` parameter that points to a copy of the data in kernel memory. Signed-off-by: Ian Abbott abbo...@mev.co.uk Reviewed-by: H Hartley Sweeten hswee...@visionengravers.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi

[ 15/56] staging: comedi: dont dereference user memory for INSN_INTTRIG

2012-10-04 Thread Greg Kroah-Hartman
the `INSN_INTTRIG` comedi instruction. It shouldn't be using `insn-data` at all; it should be using the separate `data` pointer passed to the function. Fix it. Signed-off-by: Ian Abbott abbo...@mev.co.uk Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/comedi_fops.c

[ 17/56] Remove BUG_ON from n_tty_read()

2012-10-04 Thread Greg Kroah-Hartman
of long standing reports of this but at the same time we can avoid killing the box. Signed-off-by: Stanislav Kozina skoz...@redhat.com Signed-off-by: Alan Cox a...@linux.intel.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/n_tty.c |3 ++- 1 file changed, 2

[ 21/56] serial: set correct baud_base for EXSYS EX-41092 Dual 16950

2012-10-04 Thread Greg Kroah-Hartman
39aced68d664291db3324d0fcf0985ab5626aac2 adding the missing one. Signed-off-by: Flavio Leitner f...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/serial/8250/8250_pci.c |9 +++-- include/linux/pci_ids.h|1 - 2 files changed, 7 insertions(+), 3 deletions

[ 22/56] tools/hv: Fix file handle leak

2012-10-04 Thread Greg Kroah-Hartman
-off-by: K. Y. Srinivasan k...@microsoft.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- tools/hv/hv_kvp_daemon.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/tools/hv/hv_kvp_daemon.c +++ b/tools/hv/hv_kvp_daemon.c @@ -144,7 +144,7 @@ static void

[ 27/56] xhci: Intel Panther Point BEI quirk.

2012-10-04 Thread Greg Kroah-Hartman
Intel xhci: Support EHCI/xHCI port switching. Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/host/xhci-pci.c |1 + drivers/usb/host/xhci-ring.c |4 +++- drivers/usb/host/xhci.h |1 + 3 files

[ 31/56] xHCI: handle command after aborting the command ring

2012-10-04 Thread Greg Kroah-Hartman
-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/host/xhci-ring.c | 171 +-- 1 file changed, 165 insertions(+), 6 deletions(-) --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -1170,6 +1170,20 @@ static void

[ 36/56] coredump: prevent double-free on an error path in core dumper

2012-10-04 Thread Greg Kroah-Hartman
Nesterov o...@redhat.com Signed-off-by: Denys Vlasenko vda.li...@googlemail.com Cc: Venu Byravarasu vbyravar...@nvidia.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- fs/binfmt_elf.c | 19 --- 1 file changed

[ 38/56] n_gsm: uplink SKBs accumulate on list

2012-10-04 Thread Greg Kroah-Hartman
Signed-off-by: Russ Gorby russ.go...@intel.com Tested-by: Kappel, LaurentX laurentx.kap...@intel.com Signed-off-by: Alan Cox a...@linux.intel.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/n_gsm.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions

[ 39/56] n_gsm: added interlocking for gsm_data_lock for certain code paths

2012-10-04 Thread Greg Kroah-Hartman
the tx_lock in these 2 cases Signed-off-by: Russ Gorby russ.go...@intel.com Tested-by: Yin, Fengwei fengwei@intel.com Signed-off-by: Alan Cox a...@linux.intel.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/n_gsm.c |8 ++-- 1 file changed, 6 insertions(+), 2

[ 43/56] Yama: handle 32-bit userspace prctl

2012-10-04 Thread Greg Kroah-Hartman
. Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: John Johansen john.johan...@canonical.com Signed-off-by: James Morris james.l.mor...@oracle.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- security/yama/yama_lsm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[ 47/56] Input: synaptics - adjust threshold for treating position values as negative

2012-10-04 Thread Greg Kroah-Hartman
://bugzilla.kernel.org/show_bug.cgi?id=46371 Signed-off-by: Seth Forshee seth.fors...@canonical.com Reviewed-by: Daniel Kurtz djku...@chromium.org Tested-by: Alan Swanson swan...@ukfsn.org Tested-by: Arteom arute...@gmail.com Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Signed-off-by: Greg Kroah

[ 50/56] IPoIB: Fix use-after-free of multicast object

2012-10-04 Thread Greg Kroah-Hartman
is flushed before ipoib_mcast_dev_flush() is called. To make that possible, we move the RTNL-lock wrapped code to ipoib_mcast_join_finish(). Signed-off-by: Patrick McHardy ka...@trash.net Signed-off-by: Roland Dreier rol...@purestorage.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org

[ 45/56] SCSI: hpsa: Use LUN reset instead of target reset

2012-10-04 Thread Greg Kroah-Hartman
-off-by: James Bottomley jbottom...@parallels.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/scsi/hpsa.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -3266,7 +3266,7 @@ static void fill_cmd(struct

[ 55/56] SCSI: scsi_remove_target: fix softlockup regression on hot remove

2012-10-04 Thread Greg Kroah-Hartman
...@parallels.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/scsi/scsi_sysfs.c | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) --- a/drivers/scsi/scsi_sysfs.c +++ b/drivers/scsi/scsi_sysfs.c @@ -1031,33 +1031,31 @@ static void

[ 53/56] IB/qib: Fix local access validation for user MRs

2012-10-04 Thread Greg Kroah-Hartman
user post sends. The proper validation of the MR was lost in the patch. This patch corrects that validation. Reviewed-by: Dean Luick dean.lu...@intel.com Signed-off-by: Mike Marciniszyn mike.marcinis...@intel.com Signed-off-by: Roland Dreier rol...@purestorage.com Signed-off-by: Greg Kroah-Hartman

[ 00/58] 3.5.6-stable review

2012-10-04 Thread Greg Kroah-Hartman
...@the-brannons.com tty: keyboard.c: Remove locking from vt_get_leds. Ben Hutchings b...@decadent.org.uk staging: speakup_soft: Fix reading of init string Greg Kroah-Hartman gre...@linuxfoundation.org USB: serial: fix up bug with missing {} Vivek Gautam gautam.vi...@samsung.com usb

[ 10/58] USB: qcaux: add Pantech vendor class match

2012-10-04 Thread Greg Kroah-Hartman
subclasses to identify vendor specific functions. Replace the existing device specific entries with generic vendor matching, adding support for the P4200. Signed-off-by: Bjørn Mork bj...@mork.no Cc: Thomas Schäfer tschae...@t-online.de Acked-by: Dan Williams d...@redhat.com Signed-off-by: Greg Kroah

[ 17/58] staging: comedi: jr3_pci: fix iomem dereference

2012-10-04 Thread Greg Kroah-Hartman
that the pointer being dereferenced is not currently tagged with `__iomem` but I plan to correct that for 3.7. Signed-off-by: Ian Abbott abbo...@mev.co.uk Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/jr3_pci.c |2 +- 1 file changed, 1 insertion

[ 24/58] serial: set correct baud_base for EXSYS EX-41092 Dual 16950

2012-10-04 Thread Greg Kroah-Hartman
39aced68d664291db3324d0fcf0985ab5626aac2 adding the missing one. Signed-off-by: Flavio Leitner f...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/serial/8250/8250_pci.c |9 +++-- include/linux/pci_ids.h|1 - 2 files changed, 7 insertions(+), 3 deletions

[ 15/58] staging: r8712u: Do not queue cloned skb

2012-10-04 Thread Greg Kroah-Hartman
handles one such case for r8712u. The patch was suggested by Eric Dumazet. Signed-off-by: Larry Finger larry.fin...@lwfinger.net Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/rtl8712/rtl8712_recv.c |5 - 1 file changed, 4 insertions(+), 1 deletion

[ 29/58] firmware: Add missing attributes to EFI variable attribute print out from sysfs

2012-10-04 Thread Greg Kroah-Hartman
. This patch adds those in. It also updates code to use pre-defined constants for masking current value of attributes. Signed-off-by: Khalid Aziz khalid.a...@hp.com Reviewed-by: Kees Cook keesc...@chromium.org Acked-by: Matthew Garrett m...@redhat.com Signed-off-by: Greg Kroah-Hartman gre

[ 33/58] xHCI: cancel command after command timeout

2012-10-04 Thread Greg Kroah-Hartman
. Signed-off-by: Elric Fu elric...@gmail.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com Tested-by: Miroslav Sabljic miroslav.sabl...@avl.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/host/xhci.c | 26 +++--- drivers/usb/host

[ 41/58] n_gsm: uplink SKBs accumulate on list

2012-10-04 Thread Greg Kroah-Hartman
Signed-off-by: Russ Gorby russ.go...@intel.com Tested-by: Kappel, LaurentX laurentx.kap...@intel.com Signed-off-by: Alan Cox a...@linux.intel.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/n_gsm.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions

[ 46/58] Yama: handle 32-bit userspace prctl

2012-10-04 Thread Greg Kroah-Hartman
. Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: John Johansen john.johan...@canonical.com Signed-off-by: James Morris james.l.mor...@oracle.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- security/yama/yama_lsm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[ 49/58] can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock()

2012-10-04 Thread Greg Kroah-Hartman
...@pengutronix.de Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/net/can/mscan/mpc5xxx_can.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/can/mscan/mpc5xxx_can.c +++ b/drivers/net/can/mscan/mpc5xxx_can.c @@ -181,7 +181,7 @@ static u32

[ 54/58] IB/srp: Avoid having aborted requests hang

2012-10-04 Thread Greg Kroah-Hartman
bvanass...@acm.org Acked-by: David Dillow dillo...@ornl.gov Signed-off-by: Roland Dreier rol...@purestorage.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/infiniband/ulp/srp/ib_srp.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b

[ 04/52] dm verity: fix overflow check

2012-10-04 Thread Greg Kroah-Hartman
for overflow only if sector_t is smaller than long long, not if sector_t and long long have the same size. Signed-off-by: Mikulas Patocka mpato...@redhat.com Signed-off-by: Alasdair G Kergon a...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/md/dm-verity.c |8

[ 00/52] 3.4.13-stable review

2012-10-04 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.13 release. There are 52 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat Oct 6 21:03:33 UTC 2012. Anything

[ 07/52] USB: ftdi_sio: add TIAO USB Multi-Protocol Adapter (TUMPA) support

2012-10-04 Thread Greg Kroah-Hartman
A is dedicated to JTAG/SPI while channel B can be used for UART/RS-232: use the ftdi_jtag_quirk to expose only channel B as a usb-serial interface to userspace. Signed-off-by: Antonio Ospite osp...@studenti.unina.it Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/serial

[ 09/52] usb: host: xhci: Fix Null pointer dereferencing with 71c731a for non-x86 systems

2012-10-04 Thread Greg Kroah-Hartman
...@linux.intel.com Reported-by: Sebastian Gottschall (DD-WRT) s.gottsch...@dd-wrt.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/host/xhci.c |2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -470,6 +470,8

[ 12/52] staging: r8712u: Do not queue cloned skb

2012-10-04 Thread Greg Kroah-Hartman
handles one such case for r8712u. The patch was suggested by Eric Dumazet. Signed-off-by: Larry Finger larry.fin...@lwfinger.net Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/rtl8712/rtl8712_recv.c |5 - 1 file changed, 4 insertions(+), 1 deletion

[ 56/58] x86/alternatives: Fix p6 nops on non-modular kernels

2012-10-04 Thread Greg Kroah-Hartman
Molnar mi...@kernel.org Cc: Ben Jencks b...@bjencks.net Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/x86/kernel/alternative.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -160,7 +160,7

[ 14/52] staging: comedi: jr3_pci: fix iomem dereference

2012-10-04 Thread Greg Kroah-Hartman
that the pointer being dereferenced is not currently tagged with `__iomem` but I plan to correct that for 3.7. Signed-off-by: Ian Abbott abbo...@mev.co.uk Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi/drivers/jr3_pci.c |2 +- 1 file changed, 1 insertion

[ 17/52] Remove BUG_ON from n_tty_read()

2012-10-04 Thread Greg Kroah-Hartman
of long standing reports of this but at the same time we can avoid killing the box. Signed-off-by: Stanislav Kozina skoz...@redhat.com Signed-off-by: Alan Cox a...@linux.intel.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/n_tty.c |3 ++- 1 file changed, 2

[ 13/52] staging: comedi: s626: dont dereference insn-data

2012-10-04 Thread Greg Kroah-Hartman
. It should be dereferencing the separate `data` parameter that points to a copy of the data in kernel memory. Signed-off-by: Ian Abbott abbo...@mev.co.uk Reviewed-by: H Hartley Sweeten hswee...@visionengravers.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/comedi

[ 21/52] serial: set correct baud_base for EXSYS EX-41092 Dual 16950

2012-10-04 Thread Greg Kroah-Hartman
39aced68d664291db3324d0fcf0985ab5626aac2 adding the missing one. Signed-off-by: Flavio Leitner f...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/serial/8250/8250_pci.c |9 +++-- include/linux/pci_ids.h|1 - 2 files changed, 7 insertions(+), 3 deletions

[ 25/52] b43legacy: Fix crash on unload when firmware not available

2012-10-04 Thread Greg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/net/wireless/b43legacy/main.c |2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c @@ -3892,6 +3892,8 @@ static void b43legacy_remove(struct ssb_

[ 52/58] IPoIB: Fix use-after-free of multicast object

2012-10-04 Thread Greg Kroah-Hartman
is flushed before ipoib_mcast_dev_flush() is called. To make that possible, we move the RTNL-lock wrapped code to ipoib_mcast_join_finish(). Signed-off-by: Patrick McHardy ka...@trash.net Signed-off-by: Roland Dreier rol...@purestorage.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org

[ 20/52] serial: pl011: handle corruption at high clock speeds

2012-10-04 Thread Greg Kroah-Hartman
Hjalmdahl par-gunnar.hjalmd...@stericsson.com Signed-off-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/serial/amba-pl011.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) --- a/drivers/tty/serial

[ 30/52] xHCI: cancel command after command timeout

2012-10-04 Thread Greg Kroah-Hartman
. Signed-off-by: Elric Fu elric...@gmail.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com Tested-by: Miroslav Sabljic miroslav.sabl...@avl.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/usb/host/xhci.c | 26 +++--- drivers/usb/host

[ 38/52] n_gsm: memory leak in uplink error path

2012-10-04 Thread Greg Kroah-Hartman
Signed-off-by: Alan Cox a...@linux.intel.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/tty/n_gsm.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) --- a/drivers/tty/n_gsm.c +++ b/drivers/tty/n_gsm.c @@ -875,7 +875,7 @@ static int

[ 40/52] Yama: handle 32-bit userspace prctl

2012-10-04 Thread Greg Kroah-Hartman
. Signed-off-by: Kees Cook keesc...@chromium.org Acked-by: John Johansen john.johan...@canonical.com Signed-off-by: James Morris james.l.mor...@oracle.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- security/yama/yama_lsm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[ 41/52] SCSI: ibmvscsi: Fix host config length field overflow

2012-10-04 Thread Greg Kroah-Hartman
(64K which is our standard PAGE_SIZE) doesn't work and result in an empty config from the server. Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org Acked-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: James Bottomley jbottom...@parallels.com Signed-off-by: Greg Kroah-Hartman

[ 49/52] isci: fix isci_pci_probe() generates warning on efi failure path

2012-10-04 Thread Greg Kroah-Hartman
. Reported-by: Don Morris don.mor...@hp.com Signed-off-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/scsi/isci/init.c |1 - drivers/scsi/isci/probe_roms.c |1 - 2 files changed, 2 deletions(-) --- a/drivers/scsi/isci

[ 51/52] SCSI: scsi_remove_target: fix softlockup regression on hot remove

2012-10-04 Thread Greg Kroah-Hartman
...@parallels.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/scsi/scsi_sysfs.c | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) --- a/drivers/scsi/scsi_sysfs.c +++ b/drivers/scsi/scsi_sysfs.c @@ -1023,33 +1023,31 @@ static void

[ 52/52] SCSI: scsi_dh_alua: Enable STPG for unavailable ports

2012-10-04 Thread Greg Kroah-Hartman
-by: Mike Christie micha...@cs.wisc.edu Acked-by: Hannes Reinecke h...@suse.de Signed-off-by: James Bottomley jbottom...@parallels.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/scsi/device_handler/scsi_dh_alua.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions

[ 44/52] remoteproc: select VIRTIO to avoid build breakage

2012-10-04 Thread Greg Kroah-Hartman
`rproc_remove_virtio_dev': (.text+0x2f9e9f): undefined reference to `unregister_virtio_device' Reported-by: Randy Dunlap rdun...@xenotime.net Signed-off-by: Ohad Ben-Cohen o...@wizery.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/remoteproc/Kconfig |1 + 1 file

[ 50/52] x86/alternatives: Fix p6 nops on non-modular kernels

2012-10-04 Thread Greg Kroah-Hartman
Molnar mi...@kernel.org Cc: Ben Jencks b...@bjencks.net Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/x86/kernel/alternative.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -160,7 +160,7

<    1   2   3   4   5   6   7   8   9   10   >