Re: [PATCH 28/52] perf script: Allow callchains if any event samples them

2014-07-27 Thread Adrian Hunter
On 25/07/2014 4:27 p.m., Arnaldo Carvalho de Melo wrote: Em Tue, Jul 22, 2014 at 04:17:37PM +0300, Adrian Hunter escreveu: perf script was not displaying callchains if any selected event did not have PERF_SAMPLE_CALLCHAIN. Change this to disable callchains only if all selected events do not

Re: Bug on Kernel 3.16 r6: Sound and Buffering in Clementine with Files are Transferring to Music Directory

2014-07-27 Thread Mike Galbraith
On Sat, 2014-07-26 at 23:41 -0400, Nick Krause wrote: Hey Guys, I seem to be hitting my first kernel bug in the kernel stated in my subject line. When I transfer a lot of music for a brtfs external hard drive I have the music in clementine I am listening to is stopped for a few seconds and

Re: Bug on Kernel 3.16 r6: Sound and Buffering in Clementine with Files are Transferring to Music Directory

2014-07-27 Thread Mike Galbraith
On Sat, 2014-07-26 at 22:07 -0700, Matt Joras wrote: Nick, I could be wrong but I doubt this is symptomatic of a kernel bug as you seem to think. Are you saying that the music stutters during a transfer operation to your external hard drive? I.e. the music playback in Clementine

Re: [PATCH 3.15 000/109] 3.15.7-stable review

2014-07-27 Thread Satoru Takeuchi
At Sat, 26 Jul 2014 12:01:22 -0700, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.15.7 release. There are 109 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.

[PATCH] net/ipv4: Use IS_ERR_OR_NULL

2014-07-27 Thread Himangi Saraogi
This patch introduces the use of the macro IS_ERR_OR_NULL in place of tests for NULL and IS_ERR. The following Coccinelle semantic patch was used for making the change: @@ expression e; @@ - e == NULL || IS_ERR(e) + IS_ERR_OR_NULL(e) || ... Signed-off-by: Himangi Saraogi himangi...@gmail.com

[PATCH] openvswitch: Use IS_ERR_OR_NULL

2014-07-27 Thread Himangi Saraogi
This patch introduces the use of the macro IS_ERR_OR_NULL in place of tests for NULL and IS_ERR. The following Coccinelle semantic patch was used for making the change: @@ expression e; @@ - e == NULL || IS_ERR(e) + IS_ERR_OR_NULL(e) || ... Signed-off-by: Himangi Saraogi himangi...@gmail.com

[PATCH] net/udp_offload: Use IS_ERR_OR_NULL

2014-07-27 Thread Himangi Saraogi
This patch introduces the use of the macro IS_ERR_OR_NULL in place of tests for NULL and IS_ERR. The following Coccinelle semantic patch was used for making the change: @@ expression e; @@ - e == NULL || IS_ERR(e) + IS_ERR_OR_NULL(e) || ... Signed-off-by: Himangi Saraogi himangi...@gmail.com

Re: [RESEND RFC PATCH v1 0/70] Gloabl CPU Hot-plug flag _FROZEN Clean up

2014-07-27 Thread Chen, Gong
On Fri, Jul 25, 2014 at 05:00:02PM +0200, Robert Richter wrote: Back to long time ago (about 1.5 years), Thomas began the work for CPU hot-plug, one first thing is CPU hotplug flag cleanup. Paul hoped all the _FROZEN variants of the notifier actions can be removed at that time. Now here it

Re: [PATCH] Input: synaptics-rmi4 - fix compiler warnings in F11

2014-07-27 Thread Dmitry Torokhov
On Thu, Jul 24, 2014 at 01:08:09PM -0700, Andrew Duggan wrote: On 07/23/2014 06:41 PM, Christopher Heiny wrote: On 07/22/2014 11:11 PM, Dmitry Torokhov wrote: Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com I've reviewed this, and can say: Acked-by: Christopher Heiny

[PATCH] UBI: ubi_wl_flush(): Use list_for_each_entry_safe()

2014-07-27 Thread Richard Weinberger
Use the _safe variant because we're iterating over a list where items get deleted and freed. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/wl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index

Re: WARNING: CPU: 1 PID: 495 at mm/slab_common.c:69 kmem_cache_create+0x1a9/0x330()

2014-07-27 Thread Vladimir Davydov
On Sat, Jul 26, 2014 at 06:21:02PM +0200, Christoph Hellwig wrote: Here's a formal one. James, can I get your signoff for it? Vladimir, can I get a reviewed-by from you (or anyone else)? --- From 73b1034ab1418e2dea75ccf642bc85c728b57313 Mon Sep 17 00:00:00 2001 From: James Bottomley

copy_to_user function not working in stable build 2.6.36.4

2014-07-27 Thread zubraz singha
Hey Guys, While writing a read proc entry for Linux kernel (version 2.6.36.4), I found that the kernel function copy_to_user is not working properly. The kernel function used internally by copy_to_user i.e. __copy_to_user works fine and also this same function copy_to_user works quite well on the

[PATCH] [staging] bcm: fix code style

2014-07-27 Thread Zahari Doychev
this patch fixes some errors and warnings reported by checkpatch.pl Signed-off-by: Zahari Doychev zahari.doyc...@linux.com --- drivers/staging/bcm/PHSModule.h | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/staging/bcm/PHSModule.h

Re: copy_to_user function not working in stable build 2.6.36.4

2014-07-27 Thread Richard Weinberger
On Sun, Jul 27, 2014 at 10:22 AM, zubraz singha zubrajsin...@gmail.com wrote: Hey Guys, While writing a read proc entry for Linux kernel (version 2.6.36.4), I found that the kernel function copy_to_user is not working properly. The kernel function used internally by copy_to_user i.e.

Re: copy_to_user function not working in stable build 2.6.36.4

2014-07-27 Thread zubraz singha
I do understand that this is a very old build and its not being supported. As I wrote in my earlier mail, the function works fine with higher kernel versions. I will try to find out a work around for this. Appreciate your feedback. Zubraj On 7/27/14, Richard Weinberger

Re: copy_to_user function not working in stable build 2.6.36.4

2014-07-27 Thread Richard Weinberger
Am 27.07.2014 10:44, schrieb zubraz singha: I do understand that this is a very old build and its not being supported. As I wrote in my earlier mail, the function works fine with higher kernel versions. I will try to find out a work around for this. Appreciate your feedback. First I'd look

Re: copy_to_user function not working in stable build 2.6.36.4

2014-07-27 Thread zubraz singha
My mistake, I forgot to add this, the copy_to_user function I'm referring here is for X86 based architecture. What I have found: - 2.6.36.4 * copy_to_user calls _copy_to_user * _copy_to_user no definition. - 3.14 * copy_to_user calls _copy_to_user * _copy_to_user has a definiton *

Re: WARNING: CPU: 0 PID: 2623 at drivers/pnp/pnpacpi/core.c:96 pnpacpi_set_resource

2014-07-27 Thread Vinson Lee
On Fri, Jul 25, 2014 at 4:15 PM, Vinson Lee v...@twopensource.com wrote: On Thu, May 29, 2014 at 4:14 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, May 29, 2014 10:41:43 AM Zdenek Kabelac wrote: Hi I've noticed this message in my dmesg: (Possibly related to this commit?:

Re: [PATCH RFC] sched: deferred set priority (dprio)

2014-07-27 Thread Sergey Oboguev
On Sat, Jul 26, 2014 at 9:02 PM, Mike Galbraith umgwanakikb...@gmail.com wrote: On Sat, 2014-07-26 at 11:30 -0700, Sergey Oboguev wrote: On Sat, Jul 26, 2014 at 1:58 AM, Mike Galbraith umgwanakikb...@gmail.com wrote: On Fri, 2014-07-25 at 12:45 -0700, Sergey Oboguev wrote: [This is a repost

[GIT pull] perf fixes for 3.16

2014-07-27 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus A bunch of fixes for perf and kprobes: * Revert a commit, which caused a perf group regression * Silence dmesg spam * Fix kprobe probing

Re: [PATCH v2 21/25] amdkfd: Implement the create/destroy/update queue IOCTLs

2014-07-27 Thread Oded Gabbay
On 21/07/14 02:09, Jerome Glisse wrote: On Thu, Jul 17, 2014 at 04:29:28PM +0300, Oded Gabbay wrote: From: Ben Goz ben@amd.com Signed-off-by: Ben Goz ben@amd.com Signed-off-by: Oded Gabbay oded.gab...@amd.com --- drivers/gpu/drm/radeon/amdkfd/kfd_chardev.c | 133

Re: [RESEND RFC PATCH v1 0/70] Gloabl CPU Hot-plug flag _FROZEN Clean up

2014-07-27 Thread Borislav Petkov
On Sun, Jul 27, 2014 at 02:36:43AM -0400, Chen, Gong wrote: 1) This is RFC patch and I'm not sure if maintainers agree to remove XXX_FROZEN thoroughtly I think so because this is part of a bigger rework of the whole stinking CPU hotplug pile. And the frozen states are gone:

Re: [PATCH v2 16/25] amdkfd: Add module parameter of scheduling policy

2014-07-27 Thread Oded Gabbay
On 21/07/14 05:45, Jerome Glisse wrote: On Thu, Jul 17, 2014 at 04:29:23PM +0300, Oded Gabbay wrote: From: Ben Goz ben@amd.com This patch adds a new parameter to the amdkfd driver. This parameter enables the user to select the scheduling policy of the CP. The choices are: * CP Scheduling

Re: [PATCH RFC] sched: deferred set priority (dprio)

2014-07-27 Thread Mike Galbraith
On Sun, 2014-07-27 at 02:09 -0700, Sergey Oboguev wrote: On Sat, Jul 26, 2014 at 9:02 PM, Mike Galbraith umgwanakikb...@gmail.com wrote: On Sat, 2014-07-26 at 11:30 -0700, Sergey Oboguev wrote: On Sat, Jul 26, 2014 at 1:58 AM, Mike Galbraith umgwanakikb...@gmail.com wrote: On Fri,

Re: [PATCH v2 RESEND 18/23] pm8001: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-07-27 Thread Jack Wang
Hi Alex, Looks Ok for me. Please feel free to add my: Reviewed-by: Jack Wang xjtu...@gmail.com Thanks, Jack 2014-07-26 10:33 GMT+02:00 Alexander Gordeev agord...@redhat.com: On Wed, Jul 16, 2014 at 08:05:22PM +0200, Alexander Gordeev wrote: As result of deprecation of MSI-X/MSI enablement

Re: [PATCH v2 15/25] amdkfd: Add kernel queue module

2014-07-27 Thread Oded Gabbay
On 21/07/14 05:42, Jerome Glisse wrote: On Thu, Jul 17, 2014 at 04:29:22PM +0300, Oded Gabbay wrote: From: Ben Goz ben@amd.com The kernel queue module enables the amdkfd to establish kernel queues, not exposed to user space. The kernel queues are used for HIQ (HSA Interface Queue) and

Re: [PATCH v2 13/25] amdkfd: Add queue module

2014-07-27 Thread Oded Gabbay
On 21/07/14 02:06, Jerome Glisse wrote: On Thu, Jul 17, 2014 at 04:29:20PM +0300, Oded Gabbay wrote: From: Ben Goz ben@amd.com The queue module enables allocating and initializing queues uniformly. Signed-off-by: Ben Goz ben@amd.com Signed-off-by: Oded Gabbay oded.gab...@amd.com ---

Re: [PATCH v2 12/25] amdkfd: Add binding/unbinding calls to amd_iommu driver

2014-07-27 Thread Oded Gabbay
On 21/07/14 02:04, Jerome Glisse wrote: On Thu, Jul 17, 2014 at 04:29:19PM +0300, Oded Gabbay wrote: This patch adds the functions to bind and unbind pasid from a device through the amd_iommu driver. The unbind function is called when the mm_struct of the process is released. The bind

Re: [PATCH v2 10/25] amdkfd: Add topology module to amdkfd

2014-07-27 Thread Oded Gabbay
On 21/07/14 01:37, Jerome Glisse wrote: On Thu, Jul 17, 2014 at 04:29:17PM +0300, Oded Gabbay wrote: From: Evgeny Pinchuk evgeny.pinc...@amd.com This patch adds the topology module to the driver. The topology is exposed to userspace through the sysfs. The calls to add and remove a device

[PATCH] staging: vt6655: coding style: Fixed commenting style Few lines were crossing 80 characters limit

2014-07-27 Thread Rahul Garg
Signed-off-by: Rahul Garg rahul.lnm...@gmail.com --- drivers/staging/vt6655/tcrc.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/tcrc.c b/drivers/staging/vt6655/tcrc.c index ed6868a..bf8d4c3 100644 --- a/drivers/staging/vt6655/tcrc.c +++

Re: [PATCH v2 10/25] amdkfd: Add topology module to amdkfd

2014-07-27 Thread Oded Gabbay
On 21/07/14 01:37, Jerome Glisse wrote: On Thu, Jul 17, 2014 at 04:29:17PM +0300, Oded Gabbay wrote: From: Evgeny Pinchuk evgeny.pinc...@amd.com This patch adds the topology module to the driver. The topology is exposed to userspace through the sysfs. The calls to add and remove a device

[PATCH] s390: net: claw.c: Fix a define larger than in a sizeof in conjunction with strncpy

2014-07-27 Thread Rickard Strandqvist
The MAX_NAME_LEN is larger than sizeof, which could potentially giving lots of error here. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/s390/net/claw.c | 31 +++ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git

[PATCH] s390: net: claw.c: Fix a define larger than in a sizeof in conjunction with strncpy

2014-07-27 Thread Rickard Strandqvist
Tried also optimize and clarify what youare after here, although this is a string of 7 characters, to overwrite the dual hardly matters :) Probably it would have been clearer to use snprintf with %s , but the solution is a bit slower though...? Rickard Strandqvist (1): s390: net:

Re: [PATCH 10/11] capsicum: prctl(2) to force use of O_BENEATH

2014-07-27 Thread David Drysdale
On Fri, Jul 25, 2014 at 5:00 PM, Andy Lutomirski l...@amacapital.net wrote: On Jul 25, 2014 7:02 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 25/07/2014 15:47, David Drysdale ha scritto: @@ -1996,6 +2013,17 @@ SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long,

Re: [PATCH 11/11] seccomp: Add tgid and tid into seccomp_data

2014-07-27 Thread David Drysdale
On Fri, Jul 25, 2014 at 6:18 PM, Andy Lutomirski l...@amacapital.net wrote: [cc: Eric Biederman] On Fri, Jul 25, 2014 at 10:10 AM, Kees Cook keesc...@chromium.org wrote: On Fri, Jul 25, 2014 at 8:59 AM, Andy Lutomirski l...@amacapital.net wrote: On Jul 25, 2014 6:48 AM, David Drysdale

Re: [PATCH 11/11] seccomp: Add tgid and tid into seccomp_data

2014-07-27 Thread David Drysdale
On Fri, Jul 25, 2014 at 7:32 PM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Jul 25, 2014 at 11:22 AM, Julien Tinnes j...@google.com wrote: On Fri, Jul 25, 2014 at 10:38 AM, Kees Cook keesc...@chromium.org wrote: On Fri, Jul 25, 2014 at 10:18 AM, Andy Lutomirski l...@amacapital.net

Re: [PATCH] crypto: rng.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-27 Thread Rickard Strandqvist
2014-07-27 4:35 GMT+02:00 Mark D Rustad mrus...@gmail.com: Rickard, On Jul 26, 2014, at 7:18 AM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: Replacing strncpy with strlcpy to avoid strings that lacks null terminate. Signed-off-by: Rickard Strandqvist

[PATCH 2/3] ARM: dts: exynos: Add PMU to Exynos5410

2014-07-27 Thread Andreas Färber
Exynos initialization code now relies on obtaining the PMU address, so prepare a PMU node for Exynos5410. Fixes: fce9e5bb2526 (ARM: EXYNOS: Add support for mapping PMU base address via DT) Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/exynos5410.dtsi | 5 + 1 file

[PATCH 1/3] Documentation: devicetree: Document exynos5410 PMU

2014-07-27 Thread Andreas Färber
We will start using samsung,exynos5410-pmu. Signed-off-by: Andreas Färber afaer...@suse.de --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt

[PATCH 3/3] ARM: EXYNOS: Add support for Exynos5410 PMU

2014-07-27 Thread Andreas Färber
Exynos initialization code now relies on obtaining the PMU address, so add the new 5410 value to the list of compatible string matches. This unbreaks booting on 5410 based boards. Fixes: fce9e5bb2526 (ARM: EXYNOS: Add support for mapping PMU base address via DT) Signed-off-by: Andreas Färber

[PATCH 0/3] ARM: EXYNOS: Fix Exynos5410 boot

2014-07-27 Thread Andreas Färber
Hello, This mini-series unbreaks booting on 5410 based ODROID-XU. Since I do not have access to a TRM, the address is a guess based on 5250 and 5410. Such a node was not present in the 3.14 downstream tree. Regards, Andreas Andreas Färber (3): Documentation: devicetree: Document exynos5410

Re: [PATCH 0/3] ARM: EXYNOS: Fix Exynos5410 boot

2014-07-27 Thread Andreas Färber
Am 27.07.2014 14:22, schrieb Andreas Färber: Hello, This mini-series unbreaks booting on 5410 based ODROID-XU. Since I do not have access to a TRM, the address is a guess based on 5250 and 5410. Such a node was not present in the 3.14 downstream tree. s/5410/5420/ Regards, Andreas

Re: General flags to turn things off (getrandom, pid lookup, etc)

2014-07-27 Thread David Drysdale
On Fri, Jul 25, 2014 at 7:30 PM, Andy Lutomirski l...@amacapital.net wrote: [new thread because this sort of combines two threads] There is recent interest in having a way to turn generally-available kernel features off. Maybe we should add a good one so we can stop bikeshedding and avoid

Re: [PATCH v2 15/25] amdkfd: Add kernel queue module

2014-07-27 Thread Christian König
Am 27.07.2014 um 13:05 schrieb Oded Gabbay: On 21/07/14 05:42, Jerome Glisse wrote: On Thu, Jul 17, 2014 at 04:29:22PM +0300, Oded Gabbay wrote: From: Ben Goz ben@amd.com The kernel queue module enables the amdkfd to establish kernel queues, not exposed to user space. The kernel queues

Re: [PATCH v2] iio: hid-sensor-magn-3d: Fix build warning

2014-07-27 Thread Jonathan Cameron
On 25/07/14 22:14, Reyad Attiyat wrote: Fix build warning, sizeof() called on dynamically sized pointer, by removing the call and the dependent function parameter. It is not needed or used in this driver, when pushing values to an iio buffer. Changes from v1 - Fix mistake in varible name

Re: [PATCH] nfs3_list_one_acl(): check get_acl() result with IS_ERR_OR_NULL

2014-07-27 Thread Christoph Hellwig
On Sat, Jul 26, 2014 at 02:58:01PM +0300, Andrey Utkin wrote: There was a check for result being not NULL. But get_acl() may return NULL, or ERR_PTR, or actual pointer. The purpose of the function where current change is done is to list ACLs only when they are available, so any error condition

Re: [BUG] nfs3_list_one_acl oops

2014-07-27 Thread Christoph Hellwig
Thanks Russell, the patch looks good. Andrew sent the same patch just a little earlier as well. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH v3] iio: add support of the max5821

2014-07-27 Thread Jonathan Cameron
On 25/07/14 22:43, Philippe Reynes wrote: Signed-off-by: Philippe Reynes trem...@yahoo.fr Applied to the togreg branch of iio.git. Note this will be initially pushed out as testing to let the autobuilders play with it. Thanks, Jonathan --- .../devicetree/bindings/iio/dac/max5821.txt

RE: [PATCH v2] mmc: dw_mmc: Make sure we don't get stuck when we get an error

2014-07-27 Thread Seungwon Jeon
Hi Chris Ulf, I hope you find this patch for next. Thanks, Seungwon Jeon On Wed, May 21, 2014, Seungwon Jeon wrote: On Wed, May 21, 2014, Doug Anderson wrote: If we happened to get a data error at just the wrong time the dw_mmc driver could get into a state where it would never complete

[PATCH] Documentation: laptops: freefall.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-27 Thread Rickard Strandqvist
Added a guaranteed null-terminate after call to strncpy. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- Documentation/laptops/freefall.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/laptops/freefall.c

Re: [PATCH 00/10] of: Core devicetree changeset support

2014-07-27 Thread Grant Likely
On Fri, 25 Jul 2014 13:10:15 -0500, Nathan Fontenot nf...@austin.ibm.com wrote: On 07/23/2014 06:44 PM, Grant Likely wrote: Hi all, This is a rollup of all the patches that I queued up today for linux-next for the devicetree changeset and overlay work. I'm reposting these patches

Re: [PATCH 3.15 000/109] 3.15.7-stable review

2014-07-27 Thread Greg Kroah-Hartman
On Sun, Jul 27, 2014 at 04:04:38PM +0900, Satoru Takeuchi wrote: At Sat, 26 Jul 2014 12:01:22 -0700, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.15.7 release. There are 109 patches in this series, all will be posted as a response to this one. If

Re: [PATCH v4 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-07-27 Thread Herbert Xu
On Sat, Jul 26, 2014 at 04:01:26PM +0200, Corentin LABBE wrote: Even if it is undocumented, the hardware seems to support it. Since crypto_ahash_ctx is for a tfm, does ahash_request_ctx is the good place to store data ? (after a call to crypto_ahash_set_reqsize in cra_init) Yes any hash

[PATCH] scsi: qla4xxx: ql4_mbx.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-27 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And in some cases modified to copy one character less than the overall length, as the entire area is already zeroed. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se ---

Re: [PATCH 3.4 00/23] 3.4.100-stable review

2014-07-27 Thread Guenter Roeck
On 07/26/2014 12:02 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.100 release. There are 23 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

Re: [PATCH 3.10 00/56] 3.10.50-stable review

2014-07-27 Thread Guenter Roeck
On 07/26/2014 12:01 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.50 release. There are 56 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

Re: [PATCH 3.14 00/87] 3.14.14-stable review

2014-07-27 Thread Guenter Roeck
On 07/26/2014 12:01 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.14 release. There are 87 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

Re: [PATCH 3.15 000/109] 3.15.7-stable review

2014-07-27 Thread Guenter Roeck
On 07/26/2014 12:01 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.15.7 release. There are 109 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

Re: [PATCH 4/5] [SCSI] Do not use platform_bus as a parent

2014-07-27 Thread Greg Kroah-Hartman
On Sun, Jul 27, 2014 at 07:52:57AM +0400, James Bottomley wrote: On Sat, 2014-07-26 at 13:11 -0700, Greg Kroah-Hartman wrote: On Fri, Jul 25, 2014 at 07:46:56AM -0700, James Bottomley wrote: On Fri, 2014-07-25 at 15:23 +0100, Pawel Moll wrote: The host devices without a parent were

[PATCH] scsi: 3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-27 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And use the sizeof on the to string rather than strlen on the from string. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/scsi/3w-9xxx.c |3 ++- 1 file changed, 2 insertions(+),

Re: [PATCH 3.15 000/109] 3.15.7-stable review

2014-07-27 Thread Greg Kroah-Hartman
On Sun, Jul 27, 2014 at 08:01:38AM -0700, Guenter Roeck wrote: On 07/26/2014 12:01 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.15.7 release. There are 109 patches in this series, all will be posted as a response to this one. If anyone has any issues

[PATCH] scsi: bfa: bfa_fcbuild.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-27 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And use the sizeof on the to string rather than strlen on the from string. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/scsi/bfa/bfa_fcbuild.c |8 1 file changed, 4

Re: [PATCH] nfs3_list_one_acl(): check get_acl() result with IS_ERR_OR_NULL

2014-07-27 Thread Trond Myklebust
On Sun, Jul 27, 2014 at 9:19 AM, Christoph Hellwig h...@infradead.org wrote: On Sat, Jul 26, 2014 at 02:58:01PM +0300, Andrey Utkin wrote: There was a check for result being not NULL. But get_acl() may return NULL, or ERR_PTR, or actual pointer. The purpose of the function where current change

Re: [BUG] nfs3_list_one_acl oops

2014-07-27 Thread Trond Myklebust
On Sun, Jul 27, 2014 at 9:19 AM, Christoph Hellwig h...@infradead.org wrote: Thanks Russell, the patch looks good. No. It needs to use an IS_ERR_OR_NULL() test at least in order to work correctly. -- Trond Myklebust Linux NFS client maintainer, PrimaryData trond.mykleb...@primarydata.com --

Re: [RFC][PATCH] irq: Rework IRQF_NO_SUSPENDED

2014-07-27 Thread Rafael J. Wysocki
On Saturday, July 26, 2014 12:25:29 AM Rafael J. Wysocki wrote: On Friday, July 25, 2014 11:00:12 PM Thomas Gleixner wrote: On Fri, 25 Jul 2014, Rafael J. Wysocki wrote: On Friday, July 25, 2014 03:25:41 PM Peter Zijlstra wrote: OK, so Rafael said there's devices that keep on raising

[PATCH] scsi: bfa: bfa_fcs_lport.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-27 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. In some cases modified to copy one character less than the overall length, as the entire area is already zeroed. And replacing strncat with strlcat because of incorrect use. Signed-off-by: Rickard Strandqvist

Re: [RFC PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up kthreads

2014-07-27 Thread Pranith Kumar
Hi Paul, On Fri, Jul 25, 2014 at 6:47 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Fri, Jul 25, 2014 at 04:19:43PM -0400, Pranith Kumar wrote: I checked all the locations where gp_flags is being updated and the root node lock is held in all the cases. So I guess we can remove

Re: [PATCH] staging: vt6655: coding style: Fixed commenting style Few lines were crossing 80 characters limit

2014-07-27 Thread Greg KH
On Sun, Jul 27, 2014 at 04:51:43PM +0530, Rahul Garg wrote: Signed-off-by: Rahul Garg rahul.lnm...@gmail.com --- drivers/staging/vt6655/tcrc.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) I know this is a tiny patch, but you are doing two different things here, and

Re: [RFC PATCH 1/1] ethtool: adding support for multiple slave port configuration

2014-07-27 Thread John Fastabend
On 07/26/2014 07:47 PM, Ben Hutchings wrote: On Fri, 2014-07-25 at 17:58 +0530, Mugunthan V N wrote: Some Ethernet Swtich controllers like CPSW in AM335x, TI814x, DRA7x and AM43xx SoCs, Network Coprocessor in AM5K2E0x, Realtek Switch controllers etc has to capability of conneting multiple

Re: questions regarding drivers/staging/iio/accel/sca3000_core.c

2014-07-27 Thread Jonathan Cameron
On 21/07/14 09:24, Himangi Saraogi wrote: Hi, I was looking at the possibility of using a managed interface for iio_device_register in sca3000_probe. But this will lead to the iio_device_unregister function being called after sca3000_unconfigure_ring in the remove function. I have a few

Re: [RFC PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up kthreads

2014-07-27 Thread Paul E. McKenney
On Sun, Jul 27, 2014 at 11:55:38AM -0400, Pranith Kumar wrote: Hi Paul, On Fri, Jul 25, 2014 at 6:47 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Fri, Jul 25, 2014 at 04:19:43PM -0400, Pranith Kumar wrote: I checked all the locations where gp_flags is being updated and the

[PATCH] scsi: bfa: bfa_fcs.c: Cleaning up missing null-terminate in conjunction with strncpy strncat

2014-07-27 Thread Rickard Strandqvist
Replacing strncp with strlcpy to avoid strings that lacks null terminate. And strncat with strlcat because of incorrect use, removed same the duplicated code. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/scsi/bfa/bfa_fcs.c | 80

Re: [RFC PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up kthreads

2014-07-27 Thread Pranith Kumar
On Sun, Jul 27, 2014 at 12:29 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sun, Jul 27, 2014 at 11:55:38AM -0400, Pranith Kumar wrote: Hi Paul, On Fri, Jul 25, 2014 at 6:47 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Fri, Jul 25, 2014 at 04:19:43PM -0400, Pranith

[PATCH] irqchip: gic-v3: Only define gic_peek_irq() when building SMP

2014-07-27 Thread Mark Brown
From: Mark Brown broo...@linaro.org If building with CONFIG_SMP disbled (for example, with allnoconfig) then GCC complains that the static function gic_peek_irq() is defined but not used since the only reference is in the SMP initialisation code. Fix this by moving the function definition inside

[PATCH] fs: make cont_expand_zero interruptible

2014-07-27 Thread Mikulas Patocka
This patch makes it possible to kill a process looping in cont_expand_zero. A process may spend a lot of time in this function, so it is desirable to be able to kill it. It happened to me that I wanted to copy a piece data from the disk to a file. By mistake, I used the seek parameter to dd

[PATCH] staging: ft1000: fix some checkpatch complaints

2014-07-27 Thread Nicolas Thery
This patch fixes the following errors and warnings: ft1000_proc.c:26: WARNING: Use #include linux/io.h instead of asm/io.h ft1000_proc.c:27: WARNING: Use #include linux/uaccess.h instead of asm/uaccess.h ft1000_proc.c:33: ERROR: Macros with multiple statements should be enclosed in a do - while

Re: [RFC PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up kthreads

2014-07-27 Thread Paul E. McKenney
On Sun, Jul 27, 2014 at 12:44:30PM -0400, Pranith Kumar wrote: On Sun, Jul 27, 2014 at 12:29 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sun, Jul 27, 2014 at 11:55:38AM -0400, Pranith Kumar wrote: Hi Paul, On Fri, Jul 25, 2014 at 6:47 PM, Paul E. McKenney

Re: [RFC PATCH 1/1] rcu: Use rcu_gp_kthread_wake() to wake up kthreads

2014-07-27 Thread Paul E. McKenney
On Fri, Jul 25, 2014 at 07:29:37PM -0400, Pranith Kumar wrote: On 07/25/2014 07:15 PM, Paul E. McKenney wrote: On Fri, Jul 25, 2014 at 06:23:41PM -0400, Pranith Kumar wrote: Here total is the total number of times we enter th function rcu_report_qs_rsp() and unnecessary is the times we

Re: [PATCH] staging: ft1000: fix some checkpatch complaints

2014-07-27 Thread Joe Perches
On Sun, 2014-07-27 at 19:08 +0200, Nicolas Thery wrote: This patch fixes the following errors and warnings: [] diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c [] @@ -23,34 +23,38 @@ [] -#define seq_putx(m, message, size,

Re: [PATCH] staging: ft1000: fix some checkpatch complaints

2014-07-27 Thread Greg KH
On Sun, Jul 27, 2014 at 10:23:53AM -0700, Joe Perches wrote: On Sun, 2014-07-27 at 19:08 +0200, Nicolas Thery wrote: This patch fixes the following errors and warnings: [] diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c

[PATCH] staging: rtl8821ae: fixed a space coding style issue

2014-07-27 Thread Sylvain Calador
Fixed a coding style issue. Signed-off-by: Sylvain Calador sylvain.cala...@gmail.com --- drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.h

Re: [PATCH] staging: ft1000: fix some checkpatch complaints

2014-07-27 Thread Nicolas Thery
On Sun, Jul 27, 2014 at 10:35:38AM -0700, Greg KH wrote: On Sun, Jul 27, 2014 at 10:23:53AM -0700, Joe Perches wrote: On Sun, 2014-07-27 at 19:08 +0200, Nicolas Thery wrote: This patch fixes the following errors and warnings: [] diff --git

Re: [PATCH] staging: ft1000: fix some checkpatch complaints

2014-07-27 Thread Joe Perches
On Sun, 2014-07-27 at 10:35 -0700, Greg KH wrote: How about removing the proc files entirely, as I doubt they are really needed :) unnecessary proc entry removals are always good too. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] tty/n_gsm.c: do not clear gsm_mux entry when the gsm is not closed

2014-07-27 Thread Greg Kroah-Hartman
On Thu, Jul 24, 2014 at 05:17:01PM +0800, xinhui.pan wrote: If the gsmtty is still used by some process, we could not just simply clear gsm_mux[gsm-num]. Clear it when gsm is being free. Otherwise we will hit crashes when userspace close the gsmtty. Also add gsm_mux_get() and gsm_mux_put()

Re: [PATCH] staging: vt6655: fix direct dereferencing of user pointer

2014-07-27 Thread Greg Kroah-Hartman
On Sat, Jul 26, 2014 at 11:44:57AM +0100, Malcolm Priestley wrote: On 26/07/14 10:18, Guillaume CLÉMENT wrote: On Sat, Jul 26, 2014 at 10:24:30AM +0200, Guillaume CLÉMENT wrote: Hi Malcolm, On Sat, Jul 26, 2014 at 12:09:49AM +0100, Malcolm Priestley wrote: Hi Guillaume On 25/07/14 13:47,

[PATCH] staging: lustre: lov: Fix sparse warning using plain integer as NULL pointer

2014-07-27 Thread Marc Fite
This patch fixes the warning generated by sparse: Using plain integer as NULL pointer by replacing the offending 0s with NULL. drivers/staging/lustre/lustre/lov/lov_obd.c:902:48: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lov/lov_obd.c:946:54: warning: Using

[PATCH] staging: ft1000: remove procfs entries

2014-07-27 Thread Nicolas Thery
This patch started as a fix to some checkpatch complaints in ft1000 procfs code but Greg suggested to remove the procfs entries altogether: http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2014-July/055594.html Signed-off-by: Nicolas Thery nth...@gmail.com ---

Re: [PATCH] Staging: vt6655: removed redundant comments from device.h

2014-07-27 Thread Greg KH
On Fri, Jul 25, 2014 at 07:18:37PM +0300, Igor Bezukh wrote: Removed redundant comments from device.h header file. Signed-off-by: Igor Bezukh igb...@gmail.com --- drivers/staging/vt6655/device.h | 82 ++- 1 file changed, 21 insertions(+), 61

Re: [PATCH] Staging: vt6655: removed redundant comments from iwctl.h

2014-07-27 Thread Greg KH
On Fri, Jul 25, 2014 at 07:35:12PM +0300, Igor Bezukh wrote: Removed redundant comments from iwctl.h header file. Signed-off-by: Igor Bezukh igb...@gmail.com --- drivers/staging/vt6655/iwctl.h | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) Also doesn't apply :(

Re: [PATCH] Staging: vt6655: removed redundant comments from key.h

2014-07-27 Thread Greg KH
On Fri, Jul 25, 2014 at 07:37:45PM +0300, Igor Bezukh wrote: Removed redundant comments from key.h header file. Signed-off-by: Igor Bezukh igb...@gmail.com --- drivers/staging/vt6655/key.h | 26 +++--- 1 file changed, 7 insertions(+), 19 deletions(-) Also doesn't

Re: [PATCH] Staging: vt6655: removed redundant comments from mac.h

2014-07-27 Thread Greg KH
On Fri, Jul 25, 2014 at 07:45:53PM +0300, Igor Bezukh wrote: Removed redundant comments from mac.h header file. Signed-off-by: Igor Bezukh igb...@gmail.com --- drivers/staging/vt6655/mac.h | 388 -- 1 file changed, 188 insertions(+), 200

Re: [PATCH RFC tip/core/rcu] Fix attempt to avoid offloading callbacks unless requested

2014-07-27 Thread Paul E. McKenney
On Sat, Jul 26, 2014 at 09:34:11PM -0400, Pranith Kumar wrote: On Fri, Jul 25, 2014 at 7:36 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: [ Note: This applies on top of commit 187497fa5e9e (rcu: Allow for NULL tick_nohz_full_mask when nohz_full= missing) in -tip or

Re: [PATCH] arm64/crypto: fix makefile rule for aes-glue-%.o

2014-07-27 Thread Sam Ravnborg
Btw. the current solution is already faulty - even with the fix. There are no support for make C=2 arch/.../crypto/ So can you elaborate on how it is faulty? When you run make C=2 arch/.../crypto/ then sparse shall be run for all .c files also if they are already built. But due to the

Re: [PATCH] staging: ced1401: userspace: use1401.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-27 Thread Greg Kroah-Hartman
On Sun, Jul 27, 2014 at 01:10:25AM +0200, Rickard Strandqvist wrote: Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And replacing strncat with strlcat because of incorrect use. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se ---

Re: [PATCH] staging: vt6655: fix direct dereferencing of user pointer

2014-07-27 Thread Malcolm Priestley
On 27/07/14 19:21, Greg Kroah-Hartman wrote: On Sat, Jul 26, 2014 at 11:44:57AM +0100, Malcolm Priestley wrote: On 26/07/14 10:18, Guillaume CLÉMENT wrote: On Sat, Jul 26, 2014 at 10:24:30AM +0200, Guillaume CLÉMENT wrote: Hi Malcolm, On Sat, Jul 26, 2014 at 12:09:49AM +0100, Malcolm

Re: [PATCH 1/3] staging: comedi: amplc_dio200_common: prevent extra free_irq()

2014-07-27 Thread Greg Kroah-Hartman
On Fri, Jul 25, 2014 at 06:23:10PM +, Hartley Sweeten wrote: On Friday, July 25, 2014 10:07 AM, Ian Abbott wrote: `dio200_detach()` in amplc_dio200.c calls `amplc_dio200_common_detach()` in amplc_dio200_common.c, followed by `comedi_legacy_detach()` in ../drivers.c. Both of those

Re: [PATCH 1/2] iio: adc: exynos_adc: add support for s3c64xx adc

2014-07-27 Thread Hartmut Knaack
Chanwoo Choi schrieb: From: Arnd Bergmann a...@arndb.de The ADC in s3c64xx is almost the same as exynosv1, but has a different 'select' method. Adding this here will be helpful to move over the existing s3c64xx platform from the legacy plat-samsung/adc driver to the new exynos-adc.

Re: [PATCH v10 2/2] dmaengine: sun6i: Add driver for the Allwinner A31 DMA controller

2014-07-27 Thread Mark Brown
On Tue, Jul 01, 2014 at 01:48:52PM +0100, Mark Rutland wrote: On Tue, Jul 01, 2014 at 08:21:19AM +0100, Maxime Ripard wrote: It feels a little fragile to rely on the organisation of the clock tree and the naming thereof. If the IP block is ever reused on an SoC with a different clock

Re: [PATCH] Documentation: laptops: freefall.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-27 Thread Pavel Machek
On Sun 2014-07-27 16:40:43, Rickard Strandqvist wrote: Added a guaranteed null-terminate after call to strncpy. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se Acked-by: Pavel Machek pa...@ucw.cz -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] nfs3_list_one_acl(): check get_acl() result with IS_ERR_OR_NULL

2014-07-27 Thread Christoph Hellwig
On Sun, Jul 27, 2014 at 11:13:50AM -0400, Trond Myklebust wrote: Why are we not passing the error code back to the caller here in the case where we have one? One of the main purposes of returning an error in get_acl() is to ensure that we pass -EOPNOTSUPP if the operation fails due to lack of

  1   2   3   4   5   >