Re: [PATCH 2/3] ext4: introduce ext4_error_remove_page

2012-10-29 Thread Naoya Horiguchi
On Mon, Oct 29, 2012 at 12:07:04PM -0700, Andi Kleen wrote: Theodore Ts'o ty...@mit.edu writes: ... Also, if you're going to keep this state in memory, what happens if the inode gets pushed out of memory? You lose the error, just like you do today with any other IO error. We had a lot

[ 37/54] ARM: at91/i2c: change id to let i2c-gpio work

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Bo Shen voice.s...@atmel.com commit 7840487cd6298f9f931103b558290d8d98d41c49 upstream. The i2c core driver will turn the platform device ID to busnum When using platfrom device ID as -1, it

[ 29/54] USB: sierra: fix memory leak in probe error path

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 084817d79399ab5ccab2f90a148b0369912a8369 upstream. Move interface data allocation to attach so that it is deallocated on errors in usb-serial probe.

[ 34/54] vhost: fix mergeable bufs on BE hosts

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com commit 910a578f7e9400a78a3b13aba0b4d2df16a2cb05 upstream. We copy head count to a 16 bit field, this works by chance on LE but on BE guest gets 0. Fix it up.

[ 30/54] USB: mos7840: fix urb leak at release

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 65a4cdbb170e4ec1a7fa0e94936d47e24a17b0e8 upstream. Make sure control urb is freed at release. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by:

[ 23/54] usb hub: send clear_tt_buffer_complete events when canceling TT clear work

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Octavian Purdila octavian.purd...@intel.com commit 3b6054da68f9b0d5ed6a7ed0f42a79e61904352c upstream. There is a race condition in the USB hub code with regard to handling TT clear requests

[ 27/54] USB: serial: Fix memory leak in sierra_release()

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lennart Sorensen lsore...@csclub.uwaterloo.ca commit f7bc5051667b74c3861f79eed98c60d5c3b883f7 upstream. I found a memory leak in sierra_release() (well sierra_probe() I guess) that looses 8

[ 28/54] USB: sierra: fix memory leak in attach error path

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 7e41f9bcdd2e813ea2a3c40db291d87ea06b559f upstream. Make sure port private data is deallocated on errors in attach. Signed-off-by: Johan Hovold

[ 13/54] Revert SUNRPC: Ensure we close the socket on EPIPE errors too...

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@netapp.com commit b9d2bb2ee537424a7f855e1f93eed44eb9ee0854 upstream. This reverts commit 55420c24a0d4d1fce70ca713f84aa00b6b74a70e. Now that we clear the

[ 15/54] xhci: Fix potential NULL ptr deref in command cancellation.

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp sarah.a.sh...@linux.intel.com commit 43a09f7fb01fa1e091416a2aa49b6c666458c1ee upstream. The command cancellation code doesn't check whether find_trb_seg() couldn't find the segment

[ 26/54] USB: opticon: fix memory leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit acbf0e5263de563e25f7c104868e4490b9e72b13 upstream. Fix memory leak in write error path. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg

[ 25/54] USB: opticon: fix DMA from stack

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit ea0dbebffe118724cd4df7d9b071ea8ee48d48f0 upstream. Make sure to allocate the control-message buffer dynamically as some platforms cannot do DMA from stack.

Re: 3.6.0 ext4 dump/filemap_fault?

2012-10-29 Thread Justin Piszcz
On Sun, Oct 28, 2012 at 6:51 PM, Theodore Ts'o ty...@mit.edu wrote: On Sun, Oct 28, 2012 at 05:02:17PM -0400, Justin Piszcz wrote: Hello, Any idea what happened here (during a backup)? A sync system call took longer than two mintues. Why that happened, it's harder to say. It's a warning,

[ 22/54] usb-storage: add unusual_devs entry for Casio EX-N1 digital camera

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Shigorin m...@osdn.org.ua commit d7870af7e2e3a91b462075ec1ca669b482215187 upstream. This commit sets removable subclass for Casio EX-N1 digital camera. The patch has been tested within

[ 14/54] SUNRPC: Prevent races in xs_abort_connection()

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@netapp.com commit 4bc1e68ed6a8b59be8a79eb719be515a55c7bc68 upstream. The call to xprt_disconnect_done() that is triggered by a successful connection reset will

[ 20/54] ehci: fix Lucid nohandoff pci quirk to be more generic with BIOS versions

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Anisse Astier ani...@astier.eu commit c323dc023b9501e5d09582ec7efd1d40a9001d99 upstream. BIOS vendors keep changing the BIOS versions. Only match the beginning of the string to match all Lucid

[ 19/54] Drivers: hv: Cleanup error handling in vmbus_open()

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: K. Y. Srinivasan k...@microsoft.com commit 1392550240aaa72ce3a094a38bd23525cd67ce60 upstream. Fix a memory leak in the error handling path in the function vmbus_open(). Signed-off-by: K. Y.

[ 18/54] Staging: android: binder: Allow using highmem for binder buffers

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Arve Hjønnevåg a...@android.com commit 585650dcec88e704a19bb226a34b6a7166111623 upstream. The default kernel mapping for the pages allocated for the binder buffers is never used. Set the

[ 17/54] Staging: android: binder: Fix memory leak on thread/process exit

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Arve Hjønnevåg a...@android.com commit 675d66b0ed5fd170d6a44cf8dbb3fa56a5347bdb upstream. If a thread or process exited while a reply, one-way transaction or death notification was pending, the

[ 07/54] genalloc: stop crashing the system when destroying a pool

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com commit eedce141cd2dad8d0cefc5468ef41898949a7031 upstream. The genalloc code uses the bitmap API from include/linux/bitmap.h and

Re: [PATCH] Staging: android: binder: Fixed multi-line strings

2012-10-29 Thread Greg KH
On Fri, Oct 26, 2012 at 01:54:19PM +0530, Anmol Sarma wrote: if (vma == NULL) { - pr_err(binder: %d: binder_alloc_buf failed to -map pages in userspace, no vma\n, proc-pid); + pr_err(%d: binder_alloc_buf failed to map pages in userspace, no

[ 16/54] sysfs: sysfs_pathname/sysfs_add_one: Use strlcat() instead of strcat()

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven ge...@linux-m68k.org commit 66081a72517a131430dcf986775f3268aafcb546 upstream. The warning check for duplicate sysfs entries can cause a buffer overflow when printing the

[ 12/54] SUNRPC: Clear the connect flag when socket state is TCP_CLOSE_WAIT

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@netapp.com commit d0bea455dd48da1ecbd04fedf00eb89437455fdc upstream. This is needed to ensure that we call xprt_connect() upon the next call to call_connect().

[ 11/54] SUNRPC: Get rid of the xs_error_report socket callback

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@netapp.com commit f878b657ce8e7d3673afe48110ec208a29e38c4a upstream. Chris Perl reports that we're seeing races between the wakeup call in xs_error_report and

[ 08/54] ARM: 7559/1: smp: switch away from the idmap before updating init_mm.mm_count

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon will.dea...@arm.com commit 5f40b909728ad784eb43aa309d3c4e9bdf050781 upstream. When booting a secondary CPU, the primary CPU hands two sets of page tables via the secondary_data

[ 10/54] mm: fix XFS oops due to dirty pages without buffers on s390

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara j...@suse.cz commit ef5d437f71afdf4afdbab99213add99f4b1318fd upstream. On s390 any write to a page (even from kernel itself) sets architecture specific page dirty bit. Thus when a

[ 06/54] drivers/rtc/rtc-imxdi.c: add missing spin lock initialization

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Luebbe j...@pengutronix.de commit fee0de7791f967c2c5f0d43eb7b7261761b45e64 upstream. Signed-off-by: Jan Luebbe j...@pengutronix.de Cc: Alessandro Zummo a.zu...@towertech.it Cc: Roland

[ 05/54] fs/compat_ioctl.c: VIDEO_SET_SPU_PALETTE missing error check

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook keesc...@chromium.org commit 12176503366885edd542389eed3aaf94be163fdb upstream. The compat ioctl for VIDEO_SET_SPU_PALETTE was missing an error check while converting ioctl arguments.

Re: [Patch v1 04/10] perf/x86: add memory profiling via PEBS Load Latency

2012-10-29 Thread Andi Kleen
I agree. I did that because it was the easiest thing I could think of. Discovered I had to deal with all of this just two days ago when I rebased. Wasn't too happy to have to deal with this at the last minute. I'll repost, as soon as I debugged why Jiri's version of my 31/33 parser patch

Re: [PATCH v2 06/11] HID: hid-multitouch: support T and C for win8 devices

2012-10-29 Thread Henrik Rydberg
Hi Benjamin, Win8 input specification clarifies the X and Y sent by devices. It distincts the position where the user wants to Touch (T) from the center of the ellipsoide (C). This patch enable supports for this distinction in hid-multitouch. We recognize Win8 certified devices from their

[ 080/101] mac80211: use ieee80211_free_txskb in a few more places

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau n...@openwrt.org commit d4fa14cd62bd078c8e3ef39283b9f237e5b2ff0f upstream. Free tx status skbs when draining power save buffers, pending frames, or when tearing down a vif. Fixes

[ 09/54] x86, mm: Trim memory in memblock to be page aligned

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu ying...@kernel.org commit 6ede1fd3cb404c0016de6ac529df46d561bd558b upstream. We will not map partial pages, so need to make sure memblock allocation will not allocate those bytes

[ 04/54] gen_init_cpio: avoid stack overflow when expanding

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook keesc...@chromium.org commit 20f1de659b77364d55d4e7fad2ef657e7730323f upstream. Fix possible overflow of the buffer used for expanding environment variables when building file list.

[ 03/54] ALSA: hda - add dock support for Thinkpad T430

2012-10-29 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Stef=C3=A1n=20Freyr?= stefan.fr...@gmail.com commit 84f98fdf7865fbd35b312eb39ea91e5618c514c7 upstream. I have a Lenovo ThinkPad T430 and an UltraBase Series 3 docking station.

[ 00/54] 3.4.17-stable review

2012-10-29 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.17 release. There are 54 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 Wed Oct 31 21:37:26 UTC 2012. Anything

Re: [PATCH 1/2] staging: csr: Remove CsrEventHandle

2012-10-29 Thread Greg KH
On Sun, Oct 28, 2012 at 03:45:24AM +0900, SeongJae Park wrote: No one use CsrEventHandle, No one call functions using it as parameter. So those are not need to be here. Signed-off-by: SeongJae Park sj38.p...@gmail.com --- drivers/staging/csr/csr_framework_ext.h | 61

[ 092/101] cpufreq / powernow-k8: Remove usage of smp_processor_id() in preemptible code

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Herrmann andreas.herrma...@amd.com commit e4df1cbcc1f329e53a1fff7450b2229e0addff20 upstream. Commit 6889125b8b4e09c5e53e6ecab3433bed1ce198c9 (cpufreq/powernow-k8: workqueue user

[ 084/101] qmi_wwan/cdc_ether: move Novatel 551 and E362 to qmi_wwan

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams d...@redhat.com commit f8295ec22cb0f1ee6849b862addbfa3ea9320755 upstream. These devices provide QMI and ethernet functionality via a standard CDC ethernet descriptor. But when

[ 090/101] bcma: fix unregistration of cores

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Piotr Haber pha...@broadcom.com commit 1fffa905adffbf0d3767fc978ef09afb830275eb upstream. When cores are unregistered, entries need to be removed from cores list in a safe manner. Reported-by:

[ 089/101] iwlwifi: fix 6000 series channel switch command

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg johannes.b...@intel.com commit 8f7b8db6e0557c8437adf9371e020cd89a7e85dc upstream. The channel switch command for 6000 series devices is larger than the maximum inline command size

[ 088/101] dmaengine: imx-dma: fix missing unlock on error in imxdma_xfer_desc()

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun yongjun_...@trendmicro.com.cn commit 720dfd250e48a8c7fd1b2b8645955413989c4ee0 upstream. Add the missing unlock on the error handling path in function imxdma_xfer_desc().

[ 087/101] dmaengine: sirf: fix a typo in moving running dma_desc to active queue

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Barry Song baohua.s...@csr.com commit 26fd12209c08fe947be1828896ef4ffc5bd0e6df upstream. list_move_tail(schan-queued, schan-active) makes the list_empty(schan-queued) undefined, we either

Re: [PATCH v3 3/6] memcg: Simplify mem_cgroup_force_empty_list error handling

2012-10-29 Thread Andrew Morton
On Mon, 29 Oct 2012 17:58:45 +0400 Glauber Costa glom...@parallels.com wrote: + * move charges to its parent or the root cgroup if the group has no + * parent (aka use_hierarchy==0). + * Although this might fail (get_page_unless_zero, isolate_lru_page or + * mem_cgroup_move_account fails)

[ 086/101] dmaengine: sirf: fix a typo in dma_prep_interleaved

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Barry Song baohua.s...@csr.com commit 5997e089e4c3a7f0958a8fb0a54ec2b5a6f06168 upstream. either DEV_TO_MEM or MEM_TO_DEV is supported, so change OR to AND. Signed-off-by: Barry Song

[ 085/101] freezer: exec should clear PF_NOFREEZE along with PF_KTHREAD

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov o...@redhat.com commit b40a79591ca918e7b91b0d9b6abd5d00f2e88c19 upstream. flush_old_exec() clears PF_KTHREAD but forgets about PF_NOFREEZE. Signed-off-by: Oleg Nesterov

[ 060/101] USB: quatech2: fix port-data memory leaks

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 40d04738491d7ac1aa708ba434ff3480ec9e1b96 upstream. Fix port-data memory leak by moving port data allocation and deallocation to port_probe and port_remove.

[ 083/101] Bluetooth: SMP: Fix setting unknown auth_req bits

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hedberg johan.hedb...@intel.com commit 065a13e2cc665f6547dc7e8a9d6b6565badf940a upstream. When sending a pairing request or response we should not just blindly copy the value that the

[ 082/101] tilegx: fix some issues in the SW TSO support

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Chris Metcalf cmetc...@tilera.com commit 3da3fff8006c608f19a51859d44ba47ca8b41461 upstream. This change correctly computes the header length and data length in the fragments to avoid a bug

[ 078/101] mac80211: connect with HT20 if HT40 is not permitted

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg johannes.b...@intel.com commit 3a40414f826a8f1096d9b94c4a53ef91b25ba28d upstream. Some changes to fix issues with HT40 APs in Korea and follow-up changes to allow using HT40 even

[ 077/101] ARM: at91: fix external interrupt specification in board code

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre nicolas.fe...@atmel.com commit 69e7ea04c9365626c0963ff09bbaa3a1b49e293a upstream. Since the switch to sparse irq, we have to add the NR_IRQS_LEGACY offset to static irq numbers.

[ 076/101] ARM: at91: fix external interrupts in non-DT case

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre nicolas.fe...@atmel.com commit 738a0fd752dc60e20beeda6f2f0f62e58dc0e344 upstream. Management of external interrupts has changed but the non-DT code has not integrated these

[ 069/101] USB: mos7840: remove NULL-urb submission

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 28c3ae9a8cf45f439c9a0779ebd0256e2ae72813 upstream. The private int_urb is never allocated so the submission from the control completion handler will always

[ 075/101] ARM: at91: at91sam9g10: fix SOC type detection

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Shugov ivan.shu...@gmail.com commit 3d9a0183dd3423353e9e363bcc261c1220d05f9f upstream. Newer at91sam9g10 SoC revision can't be detected, so the kernel can't boot with this kind of kernel

[ 074/101] ARM: at91/i2c: change id to let i2c-gpio work

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Bo Shen voice.s...@atmel.com commit 7840487cd6298f9f931103b558290d8d98d41c49 upstream. The i2c core driver will turn the platform device ID to busnum When using platfrom device ID as -1, it

[ 072/101] ARM: SAMSUNG: Add naming of s3c64xx-spi devices

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Stuebner he...@sntech.de commit 308b3afb97dc342e9c4f958d8b4c459ae0e22bd7 upstream. Commit a5238e360b71 (spi: s3c64xx: move controller information into driver data) introduced separate

[ 062/101] USB: quatech2: fix io after disconnect

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 2f0295adf6438188c4cd0868f2b1976a2b034e1d upstream. Make sure no control urb is submitted during close after a disconnect by checking the disconnected flag.

[ 054/101] USB: opticon: fix DMA from stack

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit ea0dbebffe118724cd4df7d9b071ea8ee48d48f0 upstream. Make sure to allocate the control-message buffer dynamically as some platforms cannot do DMA from stack.

[ 073/101] ARM: at91/tc: fix typo in the DT document

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Josh Wu josh...@atmel.com commit 11930c530f3edf81160e4962e363d579f5cdce7e upstream. Signed-off-by: Josh Wu josh...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by:

[ 071/101] vhost: fix mergeable bufs on BE hosts

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com commit 910a578f7e9400a78a3b13aba0b4d2df16a2cb05 upstream. We copy head count to a 16 bit field, this works by chance on LE but on BE guest gets 0. Fix it up.

[ 070/101] USB: mos7840: remove invalid disconnect handling

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit e681b66f2e19fadbe8a7e2a17900978cb6bc921f upstream. Remove private zombie flag used to signal disconnect and to prevent control urb from being submitted

[ 061/101] USB: quatech2: fix close and disconnect urb handling

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 8e512ab0b675da20e023439a5811e3f2554e6852 upstream. Kill urbs unconditionally at close and disconnect. Note that URB status is not valid outside of

[ 068/101] USB: mos7840: fix port-device leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 3eb55cc4ed88eee3b5230f66abcdbd2a91639eda upstream. The driver set the usb-serial port pointers to NULL on errors in attach, effectively preventing

[ 066/101] USB: sierra: fix port-data memory leak

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit f525c05babc7938cc1d4236550fd8a659fb05960 upstream. Fix port-data memory leak by moving port data allocation and deallocation to port_probe and port_remove.

[ 065/101] USB: sierra: fix memory leak in probe error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 084817d79399ab5ccab2f90a148b0369912a8369 upstream. Move interface data allocation to attach so that it is deallocated on errors in usb-serial probe.

[ 064/101] USB: sierra: fix memory leak in attach error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 7e41f9bcdd2e813ea2a3c40db291d87ea06b559f upstream. Make sure port private data is deallocated on errors in attach. Signed-off-by: Johan Hovold

[ 063/101] USB: serial: Fix memory leak in sierra_release()

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Lennart Sorensen lsore...@csclub.uwaterloo.ca commit f7bc5051667b74c3861f79eed98c60d5c3b883f7 upstream. I found a memory leak in sierra_release() (well sierra_probe() I guess) that looses 8

[ 059/101] USB: quatech2: fix memory leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit b8a0055050b6294826171641b182c09f78f4cc63 upstream. Fix memory leak in attach error path where the read urb was never freed. Signed-off-by: Johan Hovold

[ 047/101] USB: mct_u232: fix broken close

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 5260e458f5eff269a43e4f1e9c47186c57b88ddb upstream. Make sure generic close is called at close. The driver relies on the generic write implementation but

[ 045/101] USB: ipw: fix interface-data memory leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit a997448c89905b80aa4022f734f03685e733d711 upstream. Move interface data allocation to attach so that it is deallocated should usb-serial probe fail.

[ 058/101] USB: mos7720: fix port-data memory leak

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 4230af572f95b3115bba1ee6fb95681f3851ab26 upstream. Fix port-data memory leak by moving port data allocation and deallocation to port_probe and port_remove.

[ 057/101] USB: metro-usb: fix io after disconnect

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 2ee44fbeac92c36e53779a57ee84cfee1affe418 upstream. Make sure no control urb is submitted during close after a disconnect by checking the disconnected flag.

[ 056/101] USB: metro-usb: fix port-data memory leak

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 50dde8686eec41bf3d7cbec7a6f76c073ab01903 upstream. Fix port-data memory leak by moving port data allocation and deallocation to port_probe and port_remove.

[ 046/101] USB: mct_u232: fix port-data memory leak

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit a8f2ae7a3aa59079d7e7e1ddf5007f03532f458c upstream. Fix port-data memory leak by moving port data allocation and deallocation to port_probe and port_remove.

[ 053/101] USB: whiteheat: fix port-data memory leak

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit c467206ed6bcce26c83d0435612cc4fee2527305 upstream. Fix port-data memory leak by moving port data allocation and deallocation to port_probe and port_remove.

[ 055/101] USB: opticon: fix memory leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit acbf0e5263de563e25f7c104868e4490b9e72b13 upstream. Fix memory leak in write error path. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg

[ 052/101] USB: whiteheat: fix memory leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit c129197c99550d356cf5f69b046994dd53cd1b9d upstream. Make sure command buffer is deallocated in case of errors during attach. Signed-off-by: Johan Hovold

[ 050/101] USB: omninet: fix port-data memory leak

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit feffa7ca6008ab859dd7ab7448a5a899bf0aa98f upstream. Fix port-data memory leak by replacing attach and release with port_probe and port_remove. Since commit

[ 049/101] USB: keyspan: fix NULL-pointer dereferences and memory leaks

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit f79b2d0fe81eecb412dc48e87a119afc690da8e9 upstream. Fix NULL-pointer dereference at release by moving port data allocation and deallocation to port_probe

[ 023/101] xhci: endianness xhci_calculate_intel_u2_timeout

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum oli...@neukum.org commit 966e7a854177097083683176ced871558b631a12 upstream. An le16 is accessed without conversion. This patch should be backported to kernels as old as 3.5, that

[ 048/101] USB: option: fix interface-data memory leak in error path

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit c2dd4a8eac7821fed2c2d19e4607d0986b53b0fe upstream. Move interface data allocation to attach so that it is deallocated should usb-serial probe fail. Note

[ 044/101] USB: digi_acceleport: fix port-data memory leak

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit fb44ff854e148bc5c5982dad32da98b7a0989d2d upstream. Fix port-data memory leak by moving port data allocation and deallocation to port_probe and port_remove.

[ 042/101] usb hub: send clear_tt_buffer_complete events when canceling TT clear work

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Octavian Purdila octavian.purd...@intel.com commit 3b6054da68f9b0d5ed6a7ed0f42a79e61904352c upstream. There is a race condition in the USB hub code with regard to handling TT clear requests

Re: [PATCH v2 07/11] HID: hid-multitouch: move ALWAYS_VALID quirk check

2012-10-29 Thread Henrik Rydberg
Hi Benjamin, Win 8 device specification changed the requirements for the hid usages of the multitouch devices. Now InRange is optional and must be only used when the device supports hovering. This ensures that the quirk ALWAYS_VALID is taken into account and also ensures its precedence

[ 043/101] USB: ch341: fix port-data memory leak

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 456c5be56ed070a4d883c60b587bcc1c97a8cf3e upstream. Fix port-data memory leak by moving port data allocation to port_probe and actually implementing

[ 041/101] USB: usb-wwan: fix multiple memory leaks in error paths

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit b8f0e82044c9ba40e92340c8a6d47d6bd6d819bc upstream. Fix port-data memory leak in usb-serial probe error path by moving port data allocation to port_probe.

[ 040/101] usb-storage: add unusual_devs entry for Casio EX-N1 digital camera

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Michael Shigorin m...@osdn.org.ua commit d7870af7e2e3a91b462075ec1ca669b482215187 upstream. This commit sets removable subclass for Casio EX-N1 digital camera. The patch has been tested within

Re: [PATCH] Input: introduce managed input devices (add devres support)

2012-10-29 Thread Dmitry Torokhov
On Monday, October 29, 2012 10:32:54 PM Henrik Rydberg wrote: Either way, the code looks functional to me. So is that reviewed-by? I was thinking about this hunk: @@ -1972,7 +2084,20 @@ int input_register_device(struct input_dev *dev) mutex_unlock(input_mutex); +

[ 039/101] ehci: Add yet-another Lucid nohandoff pci quirk

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Anisse Astier ani...@astier.eu commit 8daf8b6086f9d575200cd0aa3797e26137255609 upstream. Board name changed on another shipping Lucid tablet. Signed-off-by: Anisse Astier ani...@astier.eu

[ 033/101] staging: comedi: amplc_pc236: fix invalid register access during detach

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit aaeb61a97b7159ebe30b18a422d04eeabfa8790b upstream. `pc236_detach()` is called by the comedi core if it attempted to attach a device and failed.

[ 031/101] staging: comedi: amplc_dio200: fix possible NULL deref during detach

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit dfb2540e91e1f63765bc3ff497ad0b714d774261 upstream. `dio200_detach()` is called by the comedi core to clean up if either `dio200_attach()` or

[ 037/101] Drivers: hv: Cleanup error handling in vmbus_open()

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: K. Y. Srinivasan k...@microsoft.com commit 1392550240aaa72ce3a094a38bd23525cd67ce60 upstream. Fix a memory leak in the error handling path in the function vmbus_open(). Signed-off-by: K. Y.

[ 036/101] extcon: unregister compat link on cleanup

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Peter Huewe peterhu...@gmx.de commit 824a1bc045cef278aec15bef35d8d0b59ce77856 upstream. Since extcon registers this compat link at device registration (extcon_dev_register), we should probably

Re: [PATCH v2 08/11] HID: hid-multitouch: fix Win 8 protocol

2012-10-29 Thread Henrik Rydberg
On Fri, Oct 26, 2012 at 10:44:24AM +0200, Benjamin Tissoires wrote: Win 8 specification is much more precise than the Win 7 one. Moreover devices that need to take certification must be submitted to Microsoft. The result is a better protocol support and we can rely on that to skip all the

Re: kmemleak report on isp1763 and sierra MC8705

2012-10-29 Thread Alan Stern
On Mon, 29 Oct 2012, Richard Retanubun wrote: do the disconnect without actually removing the power to the device. I tried echo 1 /sys/bus/usb/drivers/usb/2-1.2/remove and then take down the power but this produced the same leak signature even before I take down the power. Update on

[ 035/101] extcon: Unregister compat class at module unload to fix oops

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Peter Huewe peterhu...@gmx.de commit 0dc77b6dabec8fd298392018cc0de5214af2dc43 upstream. If you compile extcon with CONFIG_ANDROID and then load and unload the module you get a simple oops as

[ 034/101] staging: comedi: amplc_pc236: fix possible NULL deref during detach

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit 2db012bd40b889d8e5483d3daa07af04c4c109d8 upstream. `pc236_detach()` is called by the comedi core to clean up if either `pc236_attach()` or

[ 029/101] staging: comedi: ni_daq_700: fix dio subdevice regression

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Fred Brooks nsasp...@nsaspook.com commit 6681e63399926651cc29bcb9d92229b6f1cf1daa upstream. Here is a small patch to fix a problem caused by a previous patch that removed the callback

[ 030/101] staging: comedi: ni_labpc: fix possible NULL deref during detach

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit 922b67c1ac53014d80649a961a2fde700cd065d8 upstream. `labpc_common_detach()` is called by the comedi core to clean up if either `labpc_attach()` (including the

[ 028/101] staging: comedi: das08: fix possible NULL deref during detach

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit ee280d134f2e05e0172369a53fbe202dbfc527fa upstream. `das08_detach()` is called by the comedi core to clean up if either `das08_attach()` or

nouveau, linux3.7-rc3: BUG: unable to handle kernel paging request at fffffffffffffff8

2012-10-29 Thread Antonio Ospite
Hi, I am experiencing a bug with nouveau with linux-3.7-rc3 (and since rc1), my video adapter is the one integrated on the MSI M3N78-VM motherboard (hence x86_64): 02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce 8200] (rev a2) (prog-if 00 [VGA controller]) Subsystem:

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