Re: [PATCH v6] coccinelle: tests: unsigned value cannot be lesser than zero

2016-01-05 Thread Geyslan G. Bem
2016-01-05 11:10 GMT-03:00 Geyslan G. Bem : > 2016-01-05 10:02 GMT-03:00 Julia Lawall : >>> *** Error in `/usr/lib/coccinelle/spatch': corrupted double-linked >>> list (not small): 0x01c523d0 *** >>> === Backtrace: = >> >> Wow... I've never seen an error from OCaml like that. >

Re: [PATCH v2 3/8] i2c-mux: move the slave side adapter management to i2c_mux_core

2016-01-05 Thread kbuild test robot
Hi Peter, [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on v4.4-rc8 next-20160105] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking

Re: [PATCH v2] thermal: re-calculate k_po/k_pu when update sustainable power

2016-01-05 Thread Daniel Thompson
On 05/01/16 16:33, Javi Merino wrote: On Mon, Jan 04, 2016 at 11:22:26AM +, Daniel Thompson wrote: On 01/01/16 00:03, Leo Yan wrote: Hi Eduardo, Thanks for review. On Thu, Dec 31, 2015 at 09:21:26AM -0800, Eduardo Valentin wrote: On Wed, Dec 30, 2015 at 06:38:40PM +0800, Leo Yan wrote:

[PATCH 0/5] usb-misc: cleanup sisusbvga

2016-01-05 Thread Peter Senna Tschudin
The file drivers/usb/misc/sisusbvga/sisusb.c had many (192) coding style issues reported by checkpatch. This file also had a problematic error path in the probe function that could result in dereferencing a null pointer. This patch series fix coding style issues and fix the problematic error pat

[PATCH 3/5] usb-misc: sisusbvga: Remove assignments from if tests

2016-01-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The file drivers/usb/misc/sisusbvga/sisusb.c had 6 assignments inside if tests. This patch move the assignement outside the test. Signed-off-by: Peter Senna Tschudin --- Tested by compilation only. drivers/usb/misc/sisusbvga/sisusb.c | 18 -- 1 file

[PATCH 1/5] usb-misc: sisusbvga: Fix coding style: white space

2016-01-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin This patch change only spaces, tabs, and newlines. The file drivers/usb/misc/sisusbvga/sisusb.c contained entire statements using 4 spaces for the last level of indetantion, and many other space and tab related issues. This patch fixes the following issues: - 83 ERROR

Re: [PATCH] Input: ALPS - Report v3 pinnacle trackstick device only if is present

2016-01-05 Thread Pali Rohár
On Monday 23 March 2015 12:42:25 Hans de Goede wrote: > Hi, > > On 22-03-15 14:47, Pali Rohár wrote: > >This patch move v3 pinnacle code for trackstick detection from > >alps_hw_init_v3() > >to alps_set_protocol() so ALPS_DUALPOINT flag can be cleared before > >registering > >trackstick input de

[PATCH 5/5] usb-misc: sisusbvga: Remove null test before kfree()

2016-01-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin This patch removes null test before calls to kfree() as kfree() can handle null pointers safely. Signed-off-by: Peter Senna Tschudin --- Tested by compilation only. drivers/usb/misc/sisusbvga/sisusb.c | 12 1 file changed, 4 insertions(+), 8 deletions(-

[PATCH 2/5] usb-misc: sisusbvga: Fix trivial coding style

2016-01-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin The file drivers/usb/misc/sisusbvga/sisusb.c contained coding style issues reported by checkpatch. This patch fixes the following errors: - 12 WARNING: braces {} are not necessary for single statement blocks - 4 ERROR: return is not a function, parentheses are not req

[PATCH 4/5] usb-misc: sisusbvga: Remove kmalloc logs and fix error path

2016-01-05 Thread Peter Senna Tschudin
From: Peter Senna Tschudin This patch remove four calls to dev_err() from sisusb_probe() as reporting memory allocation failures is redundant: - Remove a call to dev_err() that was reporting unsuccesful call to kzalloc(). - Remove two calls to dev_err() that were reporting unsuccesful call

[PATCH v3] iio: add ad5761 DAC driver

2016-01-05 Thread Ricardo Ribalda Delgado
ad5761 is a 1-channel DAC with configurable output range. The driver uses the regulator interface for its voltage ref. It shares its register layout with ad5761r, ad5721 and ad5721r. Differences: ad5761* are 16 bit, ad5721* are 12 bits. ad57*1r have an internal reference. Signed-off-by: Ricardo

Re: [RFC PATCH] X.509: Don't check the signature on apparently self-signed keys [ver #2]

2016-01-05 Thread Petko Manolov
On 16-01-05 16:40:31, David Howells wrote: > Mimi Zohar wrote: > > > You're missing Petko's patch: > > 41c89b6 IMA: create machine owner and blacklist keyrings > > It should also be cc'd to the keyrings mailing list. Right. If i am not terribly mistaken there's no way to revoke a certificate t

[PATCH] numa: remove stale node_has_online_mem() define

2016-01-05 Thread Chris Metcalf
This isn't used anywhere, so delete it. Looks like the last usage (in x86-specific code) was removed by Tejun in 2011 in commit bd6709a91a59 ("x86, NUMA: Make 32bit use common NUMA init path"). Signed-off-by: Chris Metcalf --- I can push this through the tile tree since half of it is tile-specif

Re: [PATCH 09/17] usb: host: ehci-dbg: fix up function definitions

2016-01-05 Thread Geyslan G. Bem
2016-01-05 13:29 GMT-03:00 Alan Stern : > On Tue, 5 Jan 2016, Joe Perches wrote: > >> On Tue, 2016-01-05 at 11:06 -0500, Alan Stern wrote: >> > Trying to come up with hard-and-fast rules for this sort of thing is >> > pretty hopeless. Even "Maximize readability" doesn't work too well, >> > because

Re: linux-next: manual merge of the rdma tree with the net-next tree

2016-01-05 Thread Or Gerlitz
On 1/5/2016 3:51 AM, Stephen Rothwell wrote: Hi Doug, Today's linux-next merge of the rdma tree got conflicts in: drivers/net/ethernet/mellanox/mlx5/core/vport.c include/linux/mlx5/mlx5_ifc.h include/linux/mlx5/vport.h between commits: e1d7d349c69d ("net/mlx5: Update access functi

Re: [PATCH v6 4/7] dax: add support for fsync/msync

2016-01-05 Thread Ross Zwisler
On Tue, Jan 05, 2016 at 12:13:58PM +0100, Jan Kara wrote: > On Wed 23-12-15 12:39:17, Ross Zwisler wrote: > > To properly handle fsync/msync in an efficient way DAX needs to track dirty > > pages so it is able to flush them durably to media on demand. > > > > The tracking of dirty pages is done vi

Re: [PATCH 1/2] ext4: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-05 Thread Jan Kara
On Sun 03-01-16 20:56:37, Toralf Förster wrote: > use the definition in include/uapi/linux/xattr.h > > Signed-off-by: Toralf Förster Looks good. You can add: Reviewed-by: Jan Kara Honza > --- > fs/ext4/xattr_security.c | 2 +- >

Re: [PATCH 0/2] Asus Wireless Radio Control driver

2016-01-05 Thread Darren Hart
On Tue, Jan 05, 2016 at 03:58:46PM +0200, Andy Shevchenko wrote: > On Tue, Jan 5, 2016 at 3:25 PM, João Paulo Rechi Vita > wrote: > > This series implements the driver for the "Asus Wireless Radio Control" > > device, > > as named on the vendor website, which handles notifications from the > >

[PATCH 0/2] [GIT PULL] tracing: Some minor fixes

2016-01-05 Thread Steven Rostedt
Linus, Two more fixes. 1. The recordmcount change had an output that used sprintf() (incorrectly) when it should have been a fprintf() to stderr. 2. The printk_formats file could crash if someone added a trace_printk() in the core kernel, and also added one in a module. This does not

[PATCH 1/2] ftrace/scripts: Fix incorrect use of sprintf in recordmcount

2016-01-05 Thread Steven Rostedt
From: Colin Ian King Fix build warning: scripts/recordmcount.c:589:4: warning: format not a string literal and no format arguments [-Wformat-security] sprintf("%s: failed\n", file); Fixes: a50bd43935586 ("ftrace/scripts: Have recordmcount copy the object file") Link: http://lkml.kernel.org

[PATCH 2/2] tracing: Fix setting of start_index in find_next()

2016-01-05 Thread Steven Rostedt
From: Qiu Peiyang When we do cat /sys/kernel/debug/tracing/printk_formats, we hit kernel panic at t_show. general protection fault: [#1] PREEMPT SMP CPU: 0 PID: 2957 Comm: sh Tainted: G W O 3.14.55-x86_64-01062-gd4acdc7 #2 RIP: 0010:[] [] t_show+0x22/0xe0 RSP: :88002b4ebe80 EFLAG

Re: [PATCH v6 4/7] dax: add support for fsync/msync

2016-01-05 Thread Dan Williams
On Tue, Jan 5, 2016 at 9:12 AM, Ross Zwisler wrote: > On Tue, Jan 05, 2016 at 12:13:58PM +0100, Jan Kara wrote: >> On Wed 23-12-15 12:39:17, Ross Zwisler wrote: >> > To properly handle fsync/msync in an efficient way DAX needs to track dirty >> > pages so it is able to flush them durably to media

Re: [PATCH v3] iio: add ad5761 DAC driver

2016-01-05 Thread Lars-Peter Clausen
On 01/05/2016 06:01 PM, Ricardo Ribalda Delgado wrote: > ad5761 is a 1-channel DAC with configurable output range. > The driver uses the regulator interface for its voltage ref. > > It shares its register layout with ad5761r, ad5721 and ad5721r. > > Differences: > ad5761* are 16 bit, ad5721* are

Re: [PATCH v9 08/13] arch/arm64: adopt prepare_exit_to_usermode() model from x86

2016-01-05 Thread Mark Rutland
On Mon, Jan 04, 2016 at 04:01:05PM -0500, Chris Metcalf wrote: > On 01/04/2016 03:33 PM, Mark Rutland wrote: > >Hi, > > > >On Mon, Jan 04, 2016 at 02:34:46PM -0500, Chris Metcalf wrote: > >>This change is a prerequisite change for TASK_ISOLATION but also > >>stands on its own for readability and ma

Re: [4.4-rc7] spinlock recursion while oom'ing.

2016-01-05 Thread Dave Jones
On Tue, Jan 05, 2016 at 05:35:36PM +0100, Michal Hocko wrote: > [CCing David] > > On Sun 03-01-16 17:27:28, Dave Jones wrote: > > This is an odd one.. > > > > Out of memory: Kill process 5861 (trinity-c10) score 504 or sacrifice child > > BUG: spinlock recursion on CPU#1, trinity-c8/8828

Re: [PATCH] platform/x86: Add Asus Wireless Radio Control driver

2016-01-05 Thread Darren Hart
On Tue, Jan 05, 2016 at 11:16:53AM -0500, João Paulo Rechi Vita wrote: > Some Asus notebooks like the Asus E202SA and the Asus X555UB have a > separate ACPI device for notifications from the airplane mode hotkey. > This device is called "Wireless Radio Control" in Asus websites and ASHS > in the DS

Re: [PATCH 2/2] asus-wireless: Add ACPI HID ATK4001

2016-01-05 Thread Darren Hart
On Tue, Jan 05, 2016 at 08:26:01AM -0500, João Paulo Rechi Vita wrote: > As reported in https://bugzilla.kernel.org/show_bug.cgi?id=98931#c22 in > the Asus UX31A the Asus Wireless Radio Control device (ASHS) uses the > HID "ATK4001". > > Signed-off-by: João Paulo Rechi Vita > Reported-by: Tasev N

Re: drm/qxl: regression (69e5d3f8 drm/qxl: only report first monitor as connected if we have no state)

2016-01-05 Thread Mike Galbraith
On Tue, 2016-01-05 at 17:17 +0100, Jiri Slaby wrote: > On 12/21/2015, 11:30 AM, Mike Galbraith wrote: > > Greetings, > > > > In every tree where 69e5d3f8 is applied, > > Hi, > > does it mean that upstream is broken too? Yes, with IFF booted straight to runlevel 5 (raciness) caveat. > > IFF a k

Re: [RFC PATCH 1/3] getcpu_cache system call: cache CPU number of running thread

2016-01-05 Thread Mathieu Desnoyers
- On Jan 5, 2016, at 7:04 AM, Will Deacon will.dea...@arm.com wrote: > Hi Mathieu, > > On Tue, Jan 05, 2016 at 02:01:58AM -0500, Mathieu Desnoyers wrote: >> Expose a new system call allowing threads to register userspace memory >> areas where to store the CPU number on which the calling threa

Re: [PATCH] media: i2c: ov2659: speedup probe if no device connected

2016-01-05 Thread Lad, Prabhakar
On Mon, Dec 21, 2015 at 1:54 PM, Grygorii Strashko wrote: > The ov2659 driver performs device detection and initialization in the > following way: > - send reset command REG_SOFTWARE_RESET > - load array of predefined register's setting (~150 values) > - read device version REG_SC_CHIP_ID_H/REG

[PATCH 2/2] arm64: factor work_pending state machine to C

2016-01-05 Thread Mark Rutland
Currently ret_fast_syscall, work_pending, and ret_to_user form an ad-hoc state machine that can be difficult to reason about due to duplicated code and a large number of branch targets. This patch factors the common logic out into the existing do_notify_resume function, converting the code to C in

[PATCH 1/2] arm64: entry: remove pointless SPSR mode check

2016-01-05 Thread Mark Rutland
In work_pending we may skip work if the stacked SPSR value represents anything other than an EL0 context. We then immediately invoke the kernel_exit 0 macro as part of ret_to_user, assuming a return to EL0. This is somewhat confusing. We use work_pending as part of the ret_to_user/ret_fast_syscal

Re: [RFC PATCH 1/3] getcpu_cache system call: cache CPU number of running thread

2016-01-05 Thread Mathieu Desnoyers
- On Jan 5, 2016, at 12:31 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Jan 5, 2016, at 7:04 AM, Will Deacon will.dea...@arm.com wrote: > >> Hi Mathieu, >> >> On Tue, Jan 05, 2016 at 02:01:58AM -0500, Mathieu Desnoyers wrote: >>> Expose a new system call allowing t

Re: [RFC][PATCH] sysrq: ensure manual invocation of the OOM killer under OOM livelock

2016-01-05 Thread Michal Hocko
On Tue 05-01-16 17:22:46, Michal Hocko wrote: > I guess this is not only sysrq+f > specific though. What about emergency reboot or manual crash invocation? I am a fool. For some reason I thought that em. reboot and the crash invocation rely on the WQ as well. They are not though. So scratch this a

Re: [RFC PATCH 1/3] getcpu_cache system call: cache CPU number of running thread

2016-01-05 Thread Russell King - ARM Linux
On Tue, Jan 05, 2016 at 05:31:45PM +, Mathieu Desnoyers wrote: > For instance, an application could create a linked list or hash map > of thread control structures, which could contain the current CPU > number of each thread. A dispatch thread could then traverse or > lookup this structure to s

Re: [PATCH v2] thermal: re-calculate k_po/k_pu when update sustainable power

2016-01-05 Thread Punit Agrawal
Daniel Thompson writes: > On 05/01/16 16:33, Javi Merino wrote: >> On Mon, Jan 04, 2016 at 11:22:26AM +, Daniel Thompson wrote: >>> On 01/01/16 00:03, Leo Yan wrote: Hi Eduardo, Thanks for review. On Thu, Dec 31, 2015 at 09:21:26AM -0800, Eduardo Valentin wrote: >

Re: [PATCH 1/2] regmap: irq: add support for configuration of trigger type

2016-01-05 Thread Mark Brown
On Tue, Dec 22, 2015 at 06:25:26PM +0530, Laxman Dewangan wrote: > + d->type_reg_stride = chip->type_reg_stride ? : 1; > + Please don't abuse the ternery operator, especially not the GCC extension - that's much less clear than just writing the if statement. signature.asc Description: PGP si

Re: [PATCH] net: filter: make JITs zero A for SKF_AD_ALU_XOR_X

2016-01-05 Thread Alexei Starovoitov
On Tue, Jan 05, 2016 at 05:36:47PM +0100, Daniel Borkmann wrote: > On 01/05/2016 04:23 PM, Rabin Vincent wrote: > >The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data > >instructions since it XORs A with X while all the others replace A with > >some loaded value. All the BPF JITs f

Re: [PATCH v2 02/14] irqchip: irq-pic32-evic: Add support for PIC32 interrupt controller

2016-01-05 Thread Joshua Henderson
Marc, On 12/15/2015 10:00 AM, Marc Zyngier wrote: > On 14/12/15 22:42, Joshua Henderson wrote: >> From: Cristian Birsan >> >> This adds support for the interrupt controller present on PIC32 class >> devices. >> >> The following features are supported: >> - DT properties for EVIC and for devices

Re: [PATCH 2/2] regmap: irq: add support to have callback pre/post irq handling

2016-01-05 Thread Mark Brown
On Tue, Dec 22, 2015 at 06:25:27PM +0530, Laxman Dewangan wrote: > Some of devices like MAXIM MAX77620 required to have the chip > specific configuration before processing interrupt and after > interrupt handling is done. I'd like to see the user for this... signature.asc Description: PGP signat

[PATCH 3.12 00/91] 3.12.52-stable review

2016-01-05 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.52 release. There are 91 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 Thu Jan 7 18:43:42 CET 2016. Anything receiv

[PATCH 3.12 03/91] MIPS: KVM: Fix CACHE immediate offset sign extension

2016-01-05 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit c5c2a3b998f1ff5a586f9d37e154070b8d550d17 upstream. The immediate field of the CACHE instruction is signed, so ensure that it gets sign extended by casting it to an int16_t rath

[PATCH 3.12 17/91] ipv6: distinguish frag queues by device for multicast and link-local packets

2016-01-05 Thread Jiri Slaby
From: Michal Kubeček 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 264640fc2c5f4f913db5c73fa3eb1ead2c45e9d7 ] If a fragmented multicast packet is received on an ethernet device which has an active macvlan on top of it, each fragm

[PATCH 3.12 15/91] net: ip6mr: fix static mfc/dev leaks on table destruction

2016-01-05 Thread Jiri Slaby
From: Nikolay Aleksandrov 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 4c6980462f32b4f282c5d8e5f7ea8070e2937725 ] Similar to ipv4, when destroying an mrt table the static mfc entries and the static devices are kept, which leads

[PATCH 3.12 78/91] af_unix: Revert 'lock_interruptible' in stream receive code

2016-01-05 Thread Jiri Slaby
From: Rainer Weikusat 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 3822b5c2fc62e3de8a0f33806ff279fb7df92432 ] With b3ca9b02b00704053a38bfe4c31dbbb9c13595d0, the AF_UNIX SOCK_STREAM receive code was changed from using mutex_lock(

[PATCH 3.12 50/91] firewire: core: use correct vendor/model IDs

2016-01-05 Thread Jiri Slaby
From: Clemens Ladisch 3.12-stable review patch. If anyone has any objections, please let me know. === commit d71e6a11737f4b3d857425a1d6f893231cbd1296 upstream. The kernel was using the vendor ID 0xd00d1e, which was inherited from the old ieee1394 driver stack. However, this ID wa

Re: [f2fs-dev] [PATCH 1/3] f2fs: check the page status filled from disk

2016-01-05 Thread Jaegeuk Kim
Hi Chao, On Tue, Jan 05, 2016 at 05:31:51PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Sunday, January 03, 2016 9:26 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@l

[PATCH 1/2] ext4: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-05 Thread Toralf Förster
use the definition in include/uapi/linux/xattr.h Signed-off-by: Toralf Förster Reviewed-by: Jan Kara --- fs/ext4/xattr_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/xattr_security.c b/fs/ext4/xattr_security.c index 36f4c1a..1a3d629 100644 --- a/fs/ext4/

Re: [RFC PATCH 1/3] getcpu_cache system call: cache CPU number of running thread

2016-01-05 Thread Mathieu Desnoyers
- On Jan 5, 2016, at 12:40 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: > On Tue, Jan 05, 2016 at 05:31:45PM +, Mathieu Desnoyers wrote: >> For instance, an application could create a linked list or hash map >> of thread control structures, which could contain the current CP

[PATCH 3.12 91/91] HID: dragonrise: fix HID Descriptor for 0x0006 PID

2016-01-05 Thread Jiri Slaby
From: Maciej Zuk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 18339f59c3a6698ee17d32970c9e1e450b16e7c3 upstream. Fixed HID descriptor for DragonRise Joystick. Replaced default descriptor which doubles Z axis and causes mixing values of X

[PATCH 3.12 82/91] target/stat: print full t10_wwn.model buffer

2016-01-05 Thread Jiri Slaby
From: David Disseldorp 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8f90353950b2da8d877c6ac3dde5e1109257a117 upstream. Cut 'n paste error saw it only process sizeof(t10_wwn.vendor) characters. Signed-off-by: David Disseldorp Signed-off-b

Applied "regmap: irq: add support for configuration of trigger type" to the regmap tree

2016-01-05 Thread Mark Brown
The patch regmap: irq: add support for configuration of trigger type has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

[PATCH 3.12 79/91] x86/setup: Do not reserve crashkernel high memory if low reservation failed

2016-01-05 Thread Jiri Slaby
From: Baoquan He 3.12-stable review patch. If anyone has any objections, please let me know. === commit eb6db83d105914c246ac5875be76fd4b944833d5 upstream. People reported that when allocating crashkernel memory using the ",high" and ",low" syntax, there were cases where the reserv

Applied "regulator: core: use dev_to_rdev" to the regulator tree

2016-01-05 Thread Mark Brown
The patch regulator: core: use dev_to_rdev has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

[PATCH 3.12 81/91] ahci: add new Intel device IDs

2016-01-05 Thread Jiri Slaby
From: Alexandra Yates 3.12-stable review patch. If anyone has any objections, please let me know. === commit 56e74338a535cbcc2f2da08b1ea1a92920194364 upstream. Adding Intel codename Lewisburg platform device IDs for SATA. Signed-off-by: Alexandra Yates Signed-off-by: Tejun Heo

[PATCH 3.12 80/91] ahci: Add Marvell 88se91a2 device id

2016-01-05 Thread Jiri Slaby
From: Johannes Thumshirn 3.12-stable review patch. If anyone has any objections, please let me know. === commit a40cf3f38881ce8543ceb9667150b4f2ead4c437 upstream. Add device id for Marvell 88se91a2 Signed-off-by: Johannes Thumshirn Signed-off-by: Tejun Heo Signed-off-by: Jiri S

[PATCH 3.12 09/91] snmp: Remove duplicate OUTMCAST stat increment

2016-01-05 Thread Jiri Slaby
From: Neil Horman 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 41033f029e393a64e81966cbe34d66c6cf8a2e7e ] the OUTMCAST stat is double incremented, getting bumped once in the mcast code itself, and again in the common ip output p

[PATCH 3.12 83/91] RDS: fix race condition when sending a message on unbound socket

2016-01-05 Thread Jiri Slaby
From: Quentin Casasnovas 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream. Sasha's found a NULL pointer dereference in the RDS connection code when sending a message to an apparently unbound so

[PATCH 3.12 86/91] i2c: i801: add Intel Lewisburg device IDs

2016-01-05 Thread Jiri Slaby
From: Alexandra Yates 3.12-stable review patch. If anyone has any objections, please let me know. === commit cdc5a3110e7c3ae793f367285789a6bc39c962dc upstream. Adding Intel codename Lewisburg platform device IDs for SMBus. Signed-off-by: Alexandra Yates Reviewed-by: Jean Delvare

[PATCH 3.12 88/91] PM / devfreq: Fix governor_store()

2016-01-05 Thread Jiri Slaby
From: Tobias Jakobi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 14a21e7ba8cf6eab968310c92ca19a00f13ce3d9 upstream. Writing the currently set governor into sysfs currently seems to fail. Fix this by setting the return code to zero before l

[PATCH 3.12 87/91] cdrom: Random writing support for BD-RE media

2016-01-05 Thread Jiri Slaby
From: Georgios Toptsidis 3.12-stable review patch. If anyone has any objections, please let me know. === commit f7e7868b4743f1cc5e59e6e0ddd3ccf9cfe53a1b upstream. Recently, i bought a blu-ray writer and noticed that while cdrecord worked perfectly, random writing didn't work on re

[PATCH 3.12 84/91] ALSA: hda - Disable 64bit address for Creative HDA controllers

2016-01-05 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit cadd16ea33a938d49aee99edd4758cc76048b399 upstream. We've had many reports that some Creative sound cards with CA0132 don't work well. Some reported that it starts working aft

[PATCH 3.12 89/91] PM / devfreq: Fix incorrect type issue.

2016-01-05 Thread Jiri Slaby
From: Xiaolong Ye 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5f25f066f75a67835abb5e400471a27abd09395b upstream. time_in_state in struct devfreq is defined as unsigned long, so devm_kzalloc should use sizeof(unsigned long) as argument ins

[PATCH 3.12 90/91] gpio/omap: raw read and write endian fix

2016-01-05 Thread Jiri Slaby
From: Victor Kamensky 3.12-stable review patch. If anyone has any objections, please let me know. === commit 661553b9c67c1c7496de5f603ee3d338ecad6850 upstream. All OMAP IP blocks expect LE data, but CPU may operate in BE mode. Need to use endian neutral functions to read/write h/w

[PATCH 3.12 76/91] pptp: verify sockaddr_len in pptp_bind() and pptp_connect()

2016-01-05 Thread Jiri Slaby
From: WANG Cong 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 09ccfd238e5a0e670d8178cf50180ea81ae09ae1 ] Reported-by: Dmitry Vyukov Signed-off-by: Cong Wang Signed-off-by: David S. Miller Signed-off-by: Jiri Slaby --- driver

[PATCH 3.12 77/91] bluetooth: Validate socket address length in sco_sock_bind().

2016-01-05 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 5233252fce714053f0151680933571a2da9cbfb4 ] Signed-off-by: David S. Miller Signed-off-by: Jiri Slaby --- net/bluetooth/sco.c | 3 +++ 1 file changed, 3 inser

[PATCH 3.12 75/91] skbuff: Fix offset error in skb_reorder_vlan_header

2016-01-05 Thread Jiri Slaby
From: Vlad Yasevich 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit f654861569872d10dcb79d9d7ca219b316f94ff0 ] skb_reorder_vlan_header is called after the vlan header has been pulled. As a result the offset of the begining of the

[PATCH 3.12 51/91] ip6mr: call del_timer_sync() in ip6mr_free_table()

2016-01-05 Thread Jiri Slaby
From: WANG Cong 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7ba0c47c34a1ea5bc7a24ca67309996cce0569b5 upstream. We need to wait for the flying timers, since we are going to free the mrtable right after it. Cc: Hannes Frederic Sowa Signed

[PATCH 3.12 48/91] netfilter: ipt_rpfilter: remove the nh_scope test in rpfilter_lookup_reverse

2016-01-05 Thread Jiri Slaby
From: lucien 3.12-stable review patch. If anyone has any objections, please let me know. === commit cc4998febd567d1c671684abce5595344bd4e8b2 upstream. --accept-local option works for res.type == RTN_LOCAL, which should be from the local table, but there, the fib_info's nh->nh_sco

[PATCH 3.12 74/91] vlan: Fix untag operations of stacked vlans with REORDER_HEADER off

2016-01-05 Thread Jiri Slaby
From: Vlad Yasevich 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit a6e18ff111701b4ff6947605bfbe9594ec42a6e8 ] When we have multiple stacked vlan devices all of which have turned off REORDER_HEADER flag, the untag operation does no

[PATCH 3.12 73/91] net: fix IP early demux races

2016-01-05 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 5037e9ef9454917b047f9f3a19b4dd179fbf7cd4 ] David Wilder reported crashes caused by dst reuse. I am seeing a crash on a distro V4.2.3 kernel caused by a double

[PATCH 3.12 71/91] net: add validation for the socket syscall protocol argument

2016-01-05 Thread Jiri Slaby
From: Hannes Frederic Sowa 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 79462ad02e861803b3840cc782248c7359451cd9 ] 郭永刚 reported that one could simply crash the kernel as root by using a simple program: int socket_fd;

[PATCH 3.12 72/91] sh_eth: fix kernel oops in skb_put()

2016-01-05 Thread Jiri Slaby
From: Sergei Shtylyov 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 248be83dcb3feb3f6332eb3d010a016402138484 ] In a low memory situation the following kernel oops occurs: Unable to handle kernel NULL pointer dereference at virtu

[PATCH 3.12 70/91] ipv6: sctp: clone options to avoid use after free

2016-01-05 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 9470e24f35ab81574da54e69df90c1eb4a96b43f ] SCTP is lacking proper np->opt cloning at accept() time. TCP and DCCP use ipv6_dup_options() helper, do the same in SCTP

[PATCH 3.12 67/91] atl1c: Improve driver not to do order 4 GFP_ATOMIC allocation

2016-01-05 Thread Jiri Slaby
From: Pavel Machek 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit f2a3771ae8aca879c32336c76ad05a017629bae2 ] atl1c driver is doing order-4 allocation with GFP_ATOMIC priority. That often breaks networking after resume. Switch to

[PATCH 3.12 69/91] sctp: update the netstamp_needed counter when copying sockets

2016-01-05 Thread Jiri Slaby
From: Marcelo Ricardo Leitner 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 01ce63c90170283a9855d1db4fe81934dddce648 ] Dmitry Vyukov reported that SCTP was triggering a WARN on socket destroy related to disabling sock timestamp.

[PATCH 3.12 85/91] i2c: i801: Add support for Intel Broxton

2016-01-05 Thread Jiri Slaby
From: Jarkko Nikula 3.12-stable review patch. If anyone has any objections, please let me know. === commit dd77f423e516293c37c2370b44fd700900409c48 upstream. This patch adds the SMBUS PCI ID of Intel Broxton. Signed-off-by: Jarkko Nikula Signed-off-by: Wolfram Sang Cc: Oliver N

[PATCH 3.12 57/91] nfs4: start callback_ident at idr 1

2016-01-05 Thread Jiri Slaby
From: Benjamin Coddington 3.12-stable review patch. If anyone has any objections, please let me know. === commit c68a027c05709330fe5b2f50c50d5fa02124b5d8 upstream. If clp->cl_cb_ident is zero, then nfs_cb_idr_remove_locked() skips removing it when the nfs_client is freed. A decod

Re: [f2fs-dev] [PATCH 2/3] f2fs: cover more area with nat_tree_lock

2016-01-05 Thread Jaegeuk Kim
Hi Chao, On Tue, Jan 05, 2016 at 05:33:31PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Sunday, January 03, 2016 9:26 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@l

[PATCH 3.12 68/91] sctp: use the same clock as if sock source timestamps were on

2016-01-05 Thread Jiri Slaby
From: Marcelo Ricardo Leitner 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit cb5e173ed7c03a0d4630ce68a95a186cce3cc872 ] SCTP echoes a cookie o INIT ACK chunks that contains a timestamp, for detecting stale cookies. This cookie is

Re: [PATCH v2 00/16] intel-lpss: support non-ACPI platforms

2016-01-05 Thread Laura Abbott
On 12/06/2015 05:44 PM, Rafael J. Wysocki wrote: On Monday, November 30, 2015 05:11:28 PM Andy Shevchenko wrote: This series includes few logical sets that bring a support of non-ACPI platforms for Intel Skylake. First part is a refactoring of built-in device properties support: - keep single v

[PATCH 3.12 61/91] USB: serial: Another Infineon flash loader USB ID

2016-01-05 Thread Jiri Slaby
From: Jonas Jonsson 3.12-stable review patch. If anyone has any objections, please let me know. === commit a0e80fbd56b4573de997c9a088a33abbc1121400 upstream. The flash loader has been seen on a Telit UE910 modem. The flash loader is a bit special, it presents both an ACM and CDC D

[PATCH 3.12 59/91] ocfs2: fix umask ignored issue

2016-01-05 Thread Jiri Slaby
From: Junxiao Bi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8f1eb48758aacf6c1ffce18179295adbf3bd7640 upstream. New created file's mode is not masked with umask, and this makes umask not work for ocfs2 volume. Fixes: 702e5bc ("ocfs2: use

[PATCH 3.12 60/91] USB: cdc_acm: Ignore Infineon Flash Loader utility

2016-01-05 Thread Jiri Slaby
From: Jonas Jonsson 3.12-stable review patch. If anyone has any objections, please let me know. === commit f33a7f72e5fc033daccbb8d4753d7c5c41a4d67b upstream. Some modems, such as the Telit UE910, are using an Infineon Flash Loader utility. It has two interfaces, 2/2/0 (Abstract Mo

[PATCH 3.12 58/91] nfs: if we have no valid attrs, then don't declare the attribute cache valid

2016-01-05 Thread Jiri Slaby
From: Jeff Layton 3.12-stable review patch. If anyone has any objections, please let me know. === commit c812012f9ca7cf89c9e1a1cd512e6c3b5be04b85 upstream. If we pass in an empty nfs_fattr struct to nfs_update_inode, it will (correctly) not update any of the attributes, but it the

[PATCH 3.12 65/91] usb: Use the USB_SS_MULT() macro to decode burst multiplier for log message

2016-01-05 Thread Jiri Slaby
From: Ben Hutchings 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5377adb092664d336ac212499961cac5e8728794 upstream. usb_parse_ss_endpoint_companion() now decodes the burst multiplier correctly in order to check that it's <= 3, but still us

[PATCH 3.12 63/91] USB: add quirk for devices with broken LPM

2016-01-05 Thread Jiri Slaby
From: Alan Stern 3.12-stable review patch. If anyone has any objections, please let me know. === commit ad87e03213b552a5c33d5e1e7a19a73768397010 upstream. Some USB device / host controller combinations seem to have problems with Link Power Management. For example, Steinar found t

[PATCH 3.12 64/91] USB: whci-hcd: add check for dma mapping error

2016-01-05 Thread Jiri Slaby
From: Alexey Khoroshilov 3.12-stable review patch. If anyone has any objections, please let me know. === commit f9fa1887dcf26bd346665a6ae3d3f53dec54cba1 upstream. qset_fill_page_list() do not check for dma mapping errors. Found by Linux Driver Verification project (linuxtesting.o

Re: [PATCH] [trivial] drm/i915 Fix typos in i915_gem_fence.c

2016-01-05 Thread Randy Dunlap
On 01/04/16 19:29, Masanari Iida wrote: > This patch fix some spelling typos found in Documentation/Docbook > gpu/ch04s03.html. This file was generated from comments within > source, so I have to fix typos in i915_gem_fence.c. > > Signed-off-by: Masanari Iida > --- > drivers/gpu/drm/i915/i915_g

[PATCH 3.12 62/91] USB: cp210x: Remove CP2110 ID from compatibility list

2016-01-05 Thread Jiri Slaby
From: Konstantin Shkolnyy 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7c90e610b60cd1ed6abafd806acfaedccbbe52d1 upstream. CP2110 ID (0x10c4, 0xea80) doesn't belong here because it's a HID and completely different from CP210x devices. Sign

[PATCH 3.12 66/91] gre6: allow to update all parameters via rtnl

2016-01-05 Thread Jiri Slaby
From: Nicolas Dichtel 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 6a61d4dbf4f54b5683e0f1e58d873cecca7cb977 ] Parameters were updated only if the kernel was unable to find the tunnel with the new parameters, ie only if core pama

[PATCH 3.12 52/91] Btrfs: fix race leading to incorrect item deletion when dropping extents

2016-01-05 Thread Jiri Slaby
From: Filipe Manana 3.12-stable review patch. If anyone has any objections, please let me know. === commit aeafbf8486c9e2bd53f5cc3c10c0b7fd7149d69c upstream. While running a stress test I got the following warning triggered: [191627.672810] [ cut here ]

[PATCH 3.12 49/91] netfilter: ip6t_SYNPROXY: fix NULL pointer dereference

2016-01-05 Thread Jiri Slaby
From: Phil Sutter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 96fffb4f23f124f297d51dedc9cf51d19eb88ee1 upstream. This happens when networking namespaces are enabled. Suggested-by: Patrick McHardy Signed-off-by: Phil Sutter Acked-by: Pa

Re: [PATCH v9 08/13] arch/arm64: adopt prepare_exit_to_usermode() model from x86

2016-01-05 Thread Mark Rutland
On Mon, Jan 04, 2016 at 02:31:42PM -0800, Andy Lutomirski wrote: > On Mon, Jan 4, 2016 at 12:33 PM, Mark Rutland wrote: > > Hi, > > > > On Mon, Jan 04, 2016 at 02:34:46PM -0500, Chris Metcalf wrote: > >> This change is a prerequisite change for TASK_ISOLATION but also > >> stands on its own for re

[PATCH 3.12 53/91] Btrfs: fix race leading to BUG_ON when running delalloc for nodatacow

2016-01-05 Thread Jiri Slaby
From: Filipe Manana 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1d512cb77bdbda80f0dd0620a3b260d697fd581d upstream. If we are using the NO_HOLES feature, we have a tiny time window when running delalloc for a nodatacow inode where we can r

[PATCH 3.12 55/91] ext4, jbd2: ensure entering into panic after recording an error in superblock

2016-01-05 Thread Jiri Slaby
From: Daeho Jeong 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4327ba52afd03fc4b5afa0ee1d774c9c5b0e85c5 upstream. If a EXT4 filesystem utilizes JBD2 journaling and an error occurs, the journaling will be aborted first and the error number

[PATCH 3.12 54/91] ext4: fix potential use after free in __ext4_journal_stop

2016-01-05 Thread Jiri Slaby
From: Lukas Czerner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6934da9238da947628be83635e365df41064b09b upstream. There is a use-after-free possibility in __ext4_journal_stop() in the case that we free the handle in the first jbd2_journa

[PATCH 3.12 56/91] firewire: ohci: fix JMicron JMB38x IT context discovery

2016-01-05 Thread Jiri Slaby
From: Stefan Richter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 100ceb66d5c40cc0c7018e06a9474302470be73c upstream. Reported by Clifford and Craig for JMicron OHCI-1394 + SDHCI combo controllers: Often or even most of the time, the contr

[PATCH 3.12 46/91] tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c

2016-01-05 Thread Jiri Slaby
From: Kosuke Tatsukawa 3.12-stable review patch. If anyone has any objections, please let me know. === BugLink: http://bugs.launchpad.net/bugs/1512815 commit e81107d4c6bd098878af9796b24edc8d4a9524fd upstream. My colleague ran into a program stall on a x86_64 server, where n_tty_r

[PATCH 3.12 14/91] net: ipmr: fix static mfc/dev leaks on table destruction

2016-01-05 Thread Jiri Slaby
From: Nikolay Aleksandrov 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 0e615e9601a15efeeb8942cf7cd4dadba0c8c5a7 ] When destroying an mrt table the static mfc entries and the static devices are kept, which leads to devices that c

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