[PATCH] Fix logical-not-parentheses warning

2015-08-01 Thread Tomer Barletz
Signed-off-by: Tomer Barletz --- sound/pci/oxygen/oxygen_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/oxygen/oxygen_mixer.c b/sound/pci/oxygen/oxygen_mixer.c index 6492bca..4ca1266 100644 --- a/sound/pci/oxygen/oxygen_mixer.c +++

Re: [PATCH] HID: hid-input: Fix accessing freed memory during driver unbind

2015-08-01 Thread Krzysztof Kozlowski
2015-08-01 21:11 GMT+09:00 Jiri Kosina : > On Wed, 29 Jul 2015, Dmitry Torokhov wrote: > >> > Another and less intrusive fix would be: >> > >> > char *name = dev->battery->desc->name; >> > struct power_supply_desc *psy_desc = dev->battery->desc; >> >

Re: [git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Linus Torvalds
On Sat, Aug 1, 2015 at 9:06 PM, Hugh Dickins wrote: > > (I don't actually understand why the clearing of DCACHE_ENTRY_TYPE in > dentry_iput() is not of continuing concern; but don't worry, there's > plenty I don't understand - so long as you're both satisfied that > it's not a concern, no need to

Re: [git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Al Viro
On Sat, Aug 01, 2015 at 09:06:55PM -0700, Hugh Dickins wrote: > (I don't actually understand why the clearing of DCACHE_ENTRY_TYPE in > dentry_iput() is not of continuing concern; but don't worry, there's > plenty I don't understand - so long as you're both satisfied that > it's not a concern, no

[PATCH 3/3] Input - elantech: Add special check for fw_version 0x470f01 touchpad

2015-08-01 Thread duson
It is no need to check the packet[0] for sanity check when doing elantech_packet_check_v4() function for fw_version = 0x470f01 touchpad. Signed-off by: Duson Lin --- drivers/input/mouse/elantech.c | 28 +--- drivers/input/mouse/elantech.h |1 + 2 files changed, 26

Re: [git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Hugh Dickins
On Sat, 1 Aug 2015, Linus Torvalds wrote: > > Well, I'd not be against continuing cleanups for 4.3... Well, as long > as we can make sure 4.2 is solid first, of course. I'd still like to > have Hugh verify that the current -git tree works for his load, but > obviously that wasn't easily

RE: [PATCH 2/2] Input - elantech: Add special check for fw_version 0x470f01 touchpad

2015-08-01 Thread DusonLin
Hi, Sorry for later reply, I am not sure version 1 is ok or not, so, I think I should modify my patch and let ETP_SAMPLE_QUERY only work for version 2,3,4. And for your question, yes, I think you can use "etd->samples" at elantech_set_range for version 2, even though the definition of these three

Build failure (sparc32:allmodconfig) in -next due to 'memcg: export struct mem_cgroup'

2015-08-01 Thread Guenter Roeck
Hi, Commit b65390c6c2178f ("memcg: export struct mem_cgroup") causes several build failures in -next (next-20150731) when trying to build sparc32:allmodconfig. Below are some of the errors, as well as a bisect log. Guenter --- In file included from include/linux/pid_namespace.h:6:0,

Re: [git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Linus Torvalds
On Sat, Aug 1, 2015 at 6:41 PM, Al Viro wrote: > > It feels like it might make sense to handle that in caller, but... > that goes only for cases when we are *NOT* going to continue after > successful transition to non-lazy mode. And these two are not of > that sort - we do want to continue

Re: [PATCH 3.2 000/164] 3.2.70-rc1 review

2015-08-01 Thread Guenter Roeck
On 08/01/2015 05:02 PM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.70 release. There are 164 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH V2] i2c: s3c2410: remove unused variable

2015-08-01 Thread Wolfram Sang
> @@ -565,7 +564,7 @@ static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, > unsigned long iicstat) > tmp &= ~S3C2410_IICCON_IRQPEND; > writel(tmp, i2c->regs + S3C2410_IICCON); > out: > - return ret; > + return; What about removing out: and return as well?

Re: linux: sata_nv: adma support

2015-08-01 Thread Robert Hancock
On Sat, Aug 1, 2015 at 2:09 PM, Pali Rohár wrote: > On Thursday 25 December 2014 07:22:13 Robert Hancock wrote: >> On Tue, Dec 23, 2014 at 1:51 PM, Pali Rohár >> wrote: >> > Hello, >> > >> > I have nvidia nforce4 motherboard with nvidia sata controller: >> > >> > 00:07.0 IDE interface [0101]:

Re: [git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Al Viro
On Sat, Aug 01, 2015 at 05:57:44PM -0700, Linus Torvalds wrote: > Because it's not just that "!d_can_lookup()" case that triggers it, > you also have that pattern in the RCU error case for may_lookup(), and > get_link(). It feels like it might make sense to handle that in caller, but... that

[PATCH] Orangefs: Swap order of include files

2015-08-01 Thread Guenter Roeck
spinlock_types.h requires types from linux/types.h. Including spinlock_types.h first may result in the following build errors, as seen with arm:allmodconfig. arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32' arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type

[PATCH 1/4] drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

2015-08-01 Thread jakeo
From: Jake Oshins This patch exposes the mapping between Linux CPU number and Hyper-V virtual processor number. This is necessary because the hypervisor needs to know which virtual processors to target when making a mapping in the Interrupt Redirection Table in the I/O MMU. Signed-off-by: Jake

Re: [RFC][PATCH] ecryptfs: Allow only one instance per lower path

2015-08-01 Thread Tyler Hicks
Thanks for the report and for the patch, Richard! On 2015-07-31 12:23:10, Richard Weinberger wrote: > Mounting the same lower path multiple times should not result > into multiple ecryptfs instances, otherwise ecryptfs gets confused. > > A command sequence of: An important detail that took me a

[PATCH 0/4] New Paravirtual front-end for PCI in a Hyper-V VM

2015-08-01 Thread jakeo
From: Jake Oshins This patch series exposes the primitives necessary for an interrupt domain in a module and then introduces a new driver. This driver exposes a root PCI bus when running in a Hyper-V VM for each device which is passed through to the VM from the physical host. This patch series

[PATCH 2/4] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through

2015-08-01 Thread jakeo
From: Jake Oshins This patch defines the channel type for a paravirtual PCI front-end within a Hyper-V VM. Signed-off-by: Jake Oshins --- include/linux/hyperv.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index

[PATCH 4/4] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-08-01 Thread jakeo
From: Jake Oshins This patch introduces a driver which exposes a root PCI bus whenever a PCI Express device is passed through to a Hyper-V VM. The device can be single- or multi-function. The interrupts for the devices are managed by an IRQ domain, implemented within this driver.

[PATCH 3/4] drivers:x86:pci: Make it possible to implement a PCI MSI IRQ Domain in a module.

2015-08-01 Thread jakeo
From: Jake Oshins The Linux kernel already has the concept of IRQ domain, wherein a component can expose a set of IRQs which are managed by a particular interrupt controller chip or other subsystem. The PCI driver exposes the notion of an IRQ domain for Message-Signaled Interrupts (MSI) from

Re: [git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Linus Torvalds
On Sat, Aug 1, 2015 at 5:23 PM, Al Viro wrote: > > Branch head should be at 97242f9, just to make sure you get > the right one... Ok, merged in my tree. However, looking at this, I'm struck by how all the callers of "link_path_walk()" tend to have very similar patterns wrt error handling. And

[PATCH 3.2 016/164] UBI: fix check for "too many bytes"

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit 299d0c5b27346a77a0777c993372bf8777d4f2e5 upstream. The comparison from the previous line seems to have been erroneously (partially) copied-and-pasted onto the next. The

[PATCH 3.2 013/164] UBI: account for bitflips in both the VID header and data

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit 8eef7d70f7c6772c3490f410ee2bceab3b543fa1 upstream. We are completely discarding the earlier value of 'bitflips', which could reflect a bitflip found in

[PATCH 3.2 121/164] MIPS: Fix enabling of DEBUG_STACKOVERFLOW

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 5f35b9cd553fd64415b563497d05a563c988dbd6 upstream. Commit 334c86c494b9 ("MIPS: IRQ: Add stackoverflow detection") added kernel stack overflow detection, however it only

[PATCH 3.2 012/164] staging: panel: fix lcd type

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sudip Mukherjee commit 2c20d92dad5db6440cfa88d811b69fd605240ce4 upstream. the lcd type as defined in the Kconfig is not matching in the code. as a result the rs, rw and en pins were getting

[PATCH 3.2 136/164] bridge: fix br_stp_set_bridge_priority race conditions

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov [ Upstream commit 2dab80a8b486f0a69daca6859519e05781d9 ] After the ->set() spinlocks were removed br_stp_set_bridge_priority was left running without any protection

[PATCH 3.2 010/164] ASoC: wm8741: Fix rates constraints values

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sergej Sawazki commit 8787041d9bb832b9449b1eb878cedcebce42c61a upstream. The WM8741 DAC supports the following typical audio sampling rates: 44.1kHz, 88.2kHz, 176.4kHz (eg: with a master

[PATCH 3.2 125/164] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings pipe_iov_copy_{from,to}_user() may be tried twice with the same iovec, the first time atomically and the second time not. The second attempt needs to continue from the iovec

[PATCH 3.2 140/164] sctp: Fix race between OOTB responce and route removal

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexander Sverdlin [ Upstream commit 29c4afc4e98f4dc0ea9df22c631841f9c220b944 ] There is NULL pointer dereference possible during statistics update if the route used for OOTB responce is

[PATCH 3.2 130/164] dt: Add empty of_property_match_string() function

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Thierry Reding commit bd3d5500f0c41a30149cb184362716096a17bc75 upstream. This commit adds an empty of_property_match_string() function for !CONFIG_OF builds. Acked-by: Rob Herring

[PATCH 3.2 129/164] of: Add of_property_match_string() to find index into a string list

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Grant Likely commit 7aff0fe33033fc75b61446ba29d38b1b1354af9f upstream. Add a helper function for finding the index of a string in a string list property. This helper is useful for bindings

[PATCH 3.2 153/164] MIPS: Fix race condition in lazy cache flushing.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Lars Persson commit 4d46a67a3eb827ccf1125959936fd51ba318dabc upstream. The lazy cache flushing implemented in the MIPS kernel suffers from a race condition that is exposed by do_set_pte() in

[PATCH 3.2 143/164] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Junling Zheng Based on 08adb7dabd4874cc5666b4490653b26534702ce0 upstream. We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL was expected. We tested it through the

[PATCH 3.2 133/164] net: dp83640: fix broken calibration routine.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Cochran [ Upstream commit 397a253af5031de4a4612210055935309af4472c ] Currently, the calibration function that corrects the initial offsets among multiple devices only works the first

[PATCH 3.2 141/164] debugfs: Fix statfs() regression in 3.2.69

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Commit 915f4f86ddc4 ("debugfs: leave freeing a symlink body until inode eviction", commit 0db59e59299f upstream) changed debugfs to define its own super_operations and implement

[PATCH 3.2 150/164] powerpc+sparc64/mm: Remove hack in mmap randomize layout

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan McGee commit fa8cbaaf5a68f62db3f9a8444ecbb940b47984cb upstream. Since commit 8a0a9bd4db63bc45e301, this comment in mmap_rnd() does not hold true as the value returned by get_random_int()

[PATCH 3.2 123/164] ring-buffer-benchmark: Fix the wrong sched_priority of producer

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Wang Long commit 108029323910c5dd1ef8fa2d10da1ce5fbce6e12 upstream. The producer should be used producer_fifo as its sched_priority, so correct it. Link:

[PATCH 3.2 122/164] bridge: fix multicast router rlist endless loop

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov commit 1a040eaca1a22f8da8285ceda6b5e4a2cb704867 upstream. Since the addition of sysfs multicast router support if one set multicast_router to "2" more than once, then the

[PATCH 3.2 149/164] __ptrace_may_access() should not deny sub-threads

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Grondona commit 73af963f9f3036dffed55c3a2898598186db1045 upstream. __ptrace_may_access() checks get_dumpable/ptrace_has_cap/etc if task != current, this can can lead to surprising

[PATCH 3.2 139/164] neigh: do not modify unlinked entries

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov [ Upstream commit 2c51a97f76d20ebf1f50fef908b986cb051fdff9 ] The lockless lookups can return entry that is unlinked. Sometimes they get reference before last

[PATCH 3.2 115/164] USB: cp210x: add ID for HubZ dual ZigBee and Z-Wave dongle

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "John D. Blair" commit df72d588c54dad57dabb3cc8a87475d8ed66d806 upstream. Added the USB serial device ID for the HubZ dual ZigBee and Z-Wave radio dongle. Signed-off-by: John D. Blair

[PATCH 3.2 135/164] xen: netback: read hotplug script once at start of day.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ian Campbell [ Upstream commit 31a418986a5852034d520a5bab546821ff1ccf3d ] When we come to tear things down in netback_remove() and generate the uevent it is possible that the xenstore

[PATCH 3.2 146/164] sb_edac: Fix erroneous bytes->gigabytes conversion

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Jim Snow commit 8c009100295597f23978c224aec5751a365bc965 upstream. Signed-off-by: Jim Snow Signed-off-by: Lukasz Anaczkowski Signed-off-by: Mauro Carvalho Chehab Cc: Vinson Lee [lizf:

[PATCH 3.2 132/164] powerpc: Don't skip ePAPR spin-table CPUs

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Scott Wood commit 6663a4fa6711050036562ddfd2086edf735fae21 upstream. Commit 59a53afe70fd530040bdc69581f03d880157f15a "powerpc: Don't setup CPUs with bad status" broke ePAPR SMP booting. ePAPR

[PATCH 3.2 128/164] ipvs: kernel oops - do_ip_vs_get_ctl

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans Schillstrom commit 8537de8a7ab6681cc72fb0411ab1ba7fdba62dd0 upstream. Change order of init so netns init is ready when register ioctl and netlink. Ver2 Whitespace fixes and

[PATCH 3.2 157/164] UBI: fix soft lockup in ubi_check_volume()

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: hujianyang commit 9aa272b492e7551a9ee0e2c83c720ea013698485 upstream. Running mtd-utils/tests/ubi-tests/io_basic.c could cause soft lockup or watchdog reset. It is because *updatevol* will

[PATCH 3.2 104/164] fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrew Morton commit 2b1d3ae940acd11be44c6eced5873d47c2e00ffa upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of

[PATCH 3.2 111/164] vfs: read file_handle only once in handle_to_path

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 161f873b89136eb1e69477c847d5a5033239d9ba upstream. We used to read file_handle twice. Once to get the amount of extra bytes, and once to fetch the entire structure. This

[PATCH 3.2 116/164] Input: elantech - fix for newer hardware versions (v7)

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Matteo Delfino commit 9eebed7de660c0b5ab129a9de4f89d20b60de68c upstream. * Fix version recognition in elantech_set_properties The new hardware reports itself as v7 but the packets'

[PATCH 3.2 110/164] x86_64: Fix strnlen_user() to not touch memory after specified maximum

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Inspired by commit f18c34e483ff ("lib: Fix strnlen_user() to not touch memory after specified maximum") upstream. This version of strnlen_user(), no longer present upstream, has

[PATCH 3.2 118/164] Input: elantech - add support for newer elantech touchpads

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Jordan Rife commit ae4bedf0679d99f0a9b80a7ea9b8dd205de05d06 upstream. Newer elantech touchpads are not recognized by the current driver, since it fails to detect their firmware version number.

[PATCH 3.2 112/164] Input: elantech - fix detection of touchpads where the revision matches a known rate

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 5f0ee9d17aae628b22be86966471db65be21f262 upstream. Make the check to skip the rate check more lax, so that it applies to all hw_version 4 models. This fixes the touchpad

[PATCH 3.2 108/164] ALSA: usb-audio: Add mic volume fix quirk for Logitech Quickcam Fusion

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 1ef9f0583514508bc93427106ceef3215e4eb1a5 upstream. Fix this from the logs: usb 7-1: New USB device found, idVendor=046d, idProduct=08ca ... usb 7-1: Warning! Unlikely big

[PATCH 3.2 089/164] ASoC: wm8994: correct BCLK DIV 348 to 384

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Zidan Wang commit 17fc2e0a3db11889e942c5ab15a1fcb876638f25 upstream. According to the RM of wm8958, BCLK DIV 348 doesn't exist, correct it to 384. Signed-off-by: Zidan Wang Acked-by: Charles

[PATCH 3.2 106/164] d_walk() might skip too much

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 2159184ea01e4ae7d15f2017e296d4bc82d5aeb0 upstream. when we find that a child has died while we'd been trying to ascend, we should go into the first live sibling itself, rather

[PATCH 3.2 152/164] Fix lockup related to stop_machine being stuck in __do_softirq.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Greear commit 34376a50fb1fa095b9d0636fa41ed2e73125f214 upstream. The stop machine logic can lock up if all but one of the migration threads make it through the disable-irq step and the one

[PATCH 3.2 117/164] Input: elantech - add support for newer (August 2013) devices

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Matt Walker commit 9cb80b965eaf7af1369f6e16f48a05fbaaccc021 upstream. Added detection for newer Elantech touchpads, so that kernel doesn't fall-back to default PS/2 driver. Supports touchpads

[PATCH 3.2 109/164] target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Grover commit 5a7125c64def3b21f8147eca8b54949a60963942 upstream. See https://bugzilla.redhat.com/show_bug.cgi?id=1025672 We need to put() the reference to the scsi host that we got in

[PATCH 3.2 084/164] ahci: avoton port-disable reset-quirk

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit dbfe8ef5599a5370abc441fcdbb382b656563eb4 upstream. Avoton AHCI occasionally sees drive probe timeouts at driver load time. When this happens SCR_STATUS indicates device

[PATCH 3.2 107/164] ALSA: usb-audio: Fix invalid volume resolution for Logitech HD Webcam C525

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "Maksim A. Boyko" commit 140d37de62ffe8405282a1d6498f3b4099006384 upstream. Add the volume control quirk for avoiding the kernel warning for the Logitech HD Webcam C525 as in the similar

[PATCH 3.2 105/164] fs, omfs: add NULL terminator in the end up the token list

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit dcbff39da3d815f08750552fdd04f96b51751129 upstream. match_token() expects a NULL terminator at the end of the token list so that it would know where to stop. Not having one

[PATCH 3.2 159/164] staging: line6: avoid __sync_fetch_and_{and,or}

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 9f613601482c56e05884f21565e3d218fac427ae upstream. __sync_fetch_and_and and __sync_fetch_and_or are functions that are provided by gcc and depending on the target

[PATCH 3.2 114/164] ALSA: usb-audio: fix missing input volume controls in MAYA44 USB(+)

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit ea114fc27dc0cb9a550b6add5426720feb66262a upstream. The driver worked around an error in the MAYA44 USB(+)'s mixer unit descriptor by aborting before parsing the missing

[PATCH 3.2 119/164] Input: elantech - support new ICs types for version 4

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sam hung commit 810aa0918b2b032684c8cad13f73d6ba37ad11c0 upstream. This change allows the driver to recognize newer Elantech touchpads. Signed-off-by: Yi ju Hong Signed-off-by: Dmitry

[PATCH 3.2 102/164] x86: bpf_jit: fix compilation of large bpf programs

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexei Starovoitov commit 3f7352bf21f8fd7ba3e2fcef9488756f188e12be upstream. x86 has variable length encoding. x86 JIT compiler is trying to pick the shortest encoding for given bpf

[PATCH 3.2 113/164] ALSA: usb-audio: add MAYA44 USB+ mixer control names

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit 044bddb9ca8d49edb91bc22b9940a463b0dbb97f upstream. Add mixer control names for the ESI Maya44 USB+ (which appears to be identical width the AudioTrak Maya44 USB).

[PATCH 3.2 120/164] Input: elantech - add new icbody type

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: 洪一竹 commit 692dd1916436164e228608803dfb6cb768d6355a upstream. This adds new icbody type to the list recognized by Elantech PS/2 driver. Signed-off-by: Sam Hung Signed-off-by: Dmitry Torokhov

[PATCH 3.2 093/164] firmware: dmi_scan: Fix ordering of product_uuid

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit 5c1ac56b51b9d222ab202dec1ac2f4215346129d upstream. In function dmi_present(), dmi_walk_early() calls dmi_table(), which calls dmi_decode(), which ultimately calls

[PATCH 3.2 144/164] config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit a6dfa128ce5c414ab46b1d690f7a1b8decb8526d upstream. A huge amount of NIC drivers use the DMA API, however if compiled under 32-bit an very important part of the DMA

[PATCH 3.2 103/164] lguest: fix out-by-one error in address checking.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Rusty Russell commit 83a35114d0e4583e6b0ca39502e68b6a92e2910c upstream. This bug has been there since day 1; addresses in the top guest physical page weren't considered valid. You could map

[PATCH 3.2 043/164] IB/core: disallow registering 0-sized memory region

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Yann Droneaud commit 8abaae62f3fdead8f4ce0ab46b4ab93dee39bab2 upstream. If ib_umem_get() is called with a size equal to 0 and an non-page aligned address, one page will be pinned and a 0-sized

Re: [git pull] vfs.git spurious ENOTDIR fix

2015-08-01 Thread Linus Torvalds
On Sat, Aug 1, 2015 at 5:23 PM, Al Viro wrote: > > BTW, is there any convenient way to have git itself check things like > that? I guess you could just do a "pre-push" hook, and have it exit with an error if the tree isn't clean (to fail the push) or at least warn. See "man githooks" for

[PATCH 3.2 031/164] scsi: storvsc: Fix a bug in copy_from_bounce_buffer()

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "K. Y. Srinivasan" commit 8de580742fee8bc34d116f57a20b22b9a5f08403 upstream. We may exit this function without properly freeing up the maapings we may have acquired. Fix the bug.

[PATCH 3.2 058/164] 3w-9xxx: fix command completion race

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 118c855b5623f3e2e6204f02623d88c09e0c34de upstream. The 3w-9xxx driver needs to tear down the dma mappings before returning the command to the midlayer, as there is no

[PATCH 3.2 036/164] selinux/nlmsg: add XFRM_MSG_MIGRATE

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit 8d465bb777179c4bea731b828ec484088cc9fbc1 upstream. This command is missing. Fixes: 5c79de6e79cd ("[XFRM]: User interface for handling XFRM_MSG_MIGRATE") Reported-by:

[PATCH 3.2 028/164] selinux/nlmsg: add XFRM_MSG_GETSPDINFO

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit 5e6deebafb45fb271ae6939d48832e920b8fb74e upstream. This command is missing. Fixes: ecfd6b183780 ("[XFRM]: Export SPD info") Signed-off-by: Nicolas Dichtel

[PATCH 3.2 075/164] ocfs2: dlm: fix race between purge and get lock resource

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Junxiao Bi commit b1432a2a35565f538586774a03bf277c27fc267d upstream. There is a race window in dlm_get_lock_resource(), which may return a lock resource which has been purged. This will cause

[PATCH 3.2 057/164] 3w-xxxx: fix command completion race

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 9cd9554615cba14f0877cc9972a6537ad2bdde61 upstream. The 3w- driver needs to tear down the dma mappings before returning the command to the midlayer, as there is no

[PATCH 3.2 054/164] ALSA: emu10k1: Fix card shortname string buffer overflow

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d02260824e2cad626fb2a9d62e27006d34b6dedc upstream. Some models provide too long string for the shortname that has 32bytes including the terminator, and it results in a

[PATCH 3.2 024/164] ext4: make fsync to sync parent dir in no-journal for real this time

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Lukas Czerner commit e12fb97222fc41e8442896934f76d39ef99b590a upstream. Previously commit 14ece1028b3ed53ffec1b1213ffc6acaf79ad77c added a support for for syncing parent directory of newly

[PATCH 3.2 081/164] xhci: gracefully handle xhci_irq dead device

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Joe Lawrence commit 948fa13504f80b9765d2b753691ab94c83a10341 upstream. If the xHCI host controller has died (ie, device removed) or suffered other serious fatal error (STS_FATAL), then

[PATCH 3.2 020/164] ARM: 8320/1: fix integer overflow in ELF_ET_DYN_BASE

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 8defb3367fcd19d1af64c07792aade0747b54e0f upstream. Usually ELF_ET_DYN_BASE is 2/3 of TASK_SIZE. With 3G/1G user/kernel split this is not so, because 2*TASK_SIZE

[PATCH 3.2 068/164] gpio: unregister gpiochip device before removing it

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 01cca93a9491ed95992523ff7e79dd9bfcdea8e0 upstream. Unregister gpiochip device (used to export information through sysfs) before removing it internally. This way removal

[PATCH 3.2 023/164] ASoC: cs4271: Increase delay time after reset

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Pascal Huerst commit 74ff960222d90999508b4ba0d3449f796695b6d5 upstream. The delay time after a reset in the codec probe callback was too short, and did not work on certain hw because the codec

[PATCH 3.2 034/164] sg_start_req(): make sure that there's not too many elements in iovec

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 451a2886b6bf90e2fb378f7c46c655450fb96e81 upstream. unfortunately, allowing an arbitrary 16bit value means a possibility of overflow in the calculation of total number of pages

[PATCH 3.2 051/164] writeback: use |1 instead of +1 to protect against div by zero

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 464d1387acb94dc43ba772b35242345e3d2ead1b upstream. mm/page-writeback.c has several places where 1 is added to the divisor to prevent division by zero exceptions; however, if

[PATCH 3.2 022/164] MIPS: Hibernate: flush TLB entries earlier

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Huacai Chen commit 2a21dc7c196209d94cb570a0d340faa6c760f7f8 upstream. We found that TLB mismatch not only happens after kernel resume, but also happens during snapshot restore. So move it to

[PATCH 3.2 027/164] RDS: Documentation: Document AF_RDS, PF_RDS and SOL_RDS correctly.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sowmini Varadhan commit ebe96e641dee2cbd135ee802ae7e40c361640088 upstream. AF_RDS, PF_RDS and SOL_RDS are available in header files, and there is no need to get their values from /proc.

[PATCH 3.2 047/164] firmware/ihex2fw.c: restore missing default in switch statement

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit d43698e8abb58a6ac47d16e0f47bb55f452e4fc4 upstream. Commit 2473238eac95 ("ihex: add support for CS:IP/EIP records") removes the "default:" statement in the switch block,

[PATCH 3.2 042/164] fs/binfmt_elf.c: fix bug in loading of PIE binaries

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Davidson commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86 upstream. With CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE enabled, and a normal top-down address allocation strategy,

[PATCH 3.2 050/164] KVM: VMX: Preserve host CR4.MCE value while in guest mode.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Serebrin commit 085e68eeafbf76e21848ad5bafaecec88a11dd64 upstream. The host's decision to enable machine check exceptions should remain in force during non-root mode. KVM was writing 0 to

[PATCH 3.2 059/164] cdc-acm: prevent infinite loop when parsing CDC headers.

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Quentin Casasnovas commit 0d3bba0287d4e284c3ec7d3397e81eec920d5e7e upstream. Phil and I found out a problem with commit: 7e860a6e7aa6 ("cdc-acm: add sanity checks") It added some sanity

[PATCH 3.2 055/164] ALSA: emux: Fix mutex deadlock at unloading

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 07b0e5d49d227e3950cb13a3e8caf248ef2a310e upstream. The emux-synth driver has a possible AB/BA mutex deadlock at unloading the emu10k1 driver: snd_emux_free() ->

[PATCH 3.2 056/164] 3w-sas: fix command completion race

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 579d69bc1fd56d5af5761969aa529d1d1c188300 upstream. The 3w-sas driver needs to tear down the dma mappings before returning the command to the midlayer, as there is no

[PATCH 3.2 038/164] s390/hibernate: fix save and restore of kernel text section

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit d74419495633493c9cd3f2bbeb7f3529d0edded6 upstream. Sebastian reported a crash caused by a jump label mismatch after resume. This happens because we do not save the kernel

[PATCH 3.2 029/164] selinux/nlmsg: add XFRM_MSG_[NEW|GET]SADINFO

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit 5b5800fad072133e4a9c2efbf735baaac83dec86 upstream. These commands are missing. Fixes: 28d8909bc790 ("[XFRM]: Export SAD info.") Signed-off-by: Nicolas Dichtel

[PATCH 3.2 032/164] ALSA: emu10k1: don't deadlock in proc-functions

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Gernoth commit 91bf0c2dcb935a87e5c0795f5047456b965fd143 upstream. The functions snd_emu10k1_proc_spdif_read and snd_emu1010_fpga_read acquire the emu_lock before accessing the FPGA.

[PATCH 3.2 070/164] powerpc/pseries: Correct cpu affinity for dlpar added cpus

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Nathan Fontenot commit f32393c943e297b8ae180c8f83d81a156c7d0412 upstream. The incorrect ordering of operations during cpu dlpar add results in invalid affinity for the cpu being added. The

[PATCH 3.2 021/164] rtlwifi: rtl8192cu: Add new USB ID

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 2f92b314f4daff2117847ac5343c54d3d041bf78 upstream. USB ID 2001:330d is used for a D-Link DWA-131. Signed-off-by: Larry Finger Signed-off-by: Kalle Valo Signed-off-by:

[PATCH 3.2 053/164] libata: Ignore spurious PHY event on LPM policy change

2015-08-01 Thread Ben Hutchings
3.2.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Gabriele Mazzotta commit 09c5b4803a80a5451d950d6a539d2eb311dc0fb1 upstream. When the LPM policy is set to ATA_LPM_MAX_POWER, the device might generate a spurious PHY event that cuases errors

  1   2   3   4   5   6   7   >