Re: [PATCH v3 2/2] sched: consider missed ticks when updating global cpu load

2015-10-04 Thread Byungchul Park
On Fri, Oct 02, 2015 at 05:59:06PM +0200, Peter Zijlstra wrote: > On Fri, Oct 02, 2015 at 04:46:14PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > in hrtimer_interrupt(), the first tick_program_event() can be failed > > because the next timer could be already expired due t

Re: [PATCH] staging: rdma: Fix braces around if/else

2015-10-04 Thread Or Gerlitz
On 10/3/2015 11:55 PM, Martin Kletzander wrote: Get rid of all ELSE_AFTER_BRACE type errors reported by checkpatch.pl. Hi Greg, Is there a way to signal people/tools that a certain driver parks in staging on their way **out** of the kernel and not the other way around? I guess you (nor Doug)

[PATCH] lockdep: drop unlikely behind DEBUG_LOCKS_WARN_ON()

2015-10-04 Thread Geliang Tang
DEBUG_LOCKS_WARN_ON() already contain an unlikely compiler flag. Drop it. Signed-off-by: Geliang Tang --- kernel/locking/lockdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index deae390..9d8cbb1 100644 --- a/kernel/lo

[PATCH] cfg80211: drop unlikely behind WARN_ON()

2015-10-04 Thread Geliang Tang
WARN_ON() already contain an unlikely compiler flag. Drop it. Signed-off-by: Geliang Tang --- drivers/net/wireless/ath/ath6kl/cfg80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.

[PATCH 3/5] staging: fsl-mc: add function to return pointer to root dprc

2015-10-04 Thread itai.katz
From: Itai Katz To support multiple root dprcs, instead of relying on the dev_root field of the bus type struct, instead create a function to traverse to the root dprc and return a pointer to the device struct Signed-off-by: Itai Katz --- drivers/staging/fsl-mc/bus/mc-bus.c | 38

[PATCH 4/5] staging: fsl-mc: add counter to track number of root DPRCs

2015-10-04 Thread itai.katz
From: Itai Katz Add a counter to track the number of root DPRCs. When this counter is greater then 0 it means that at least one root DPRC device exists. Signed-off-by: Itai Katz --- drivers/staging/fsl-mc/bus/mc-bus.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff

Re: [PATCH] staging: rdma: Fix braces around if/else

2015-10-04 Thread Greg Kroah-Hartman
On Sun, Oct 04, 2015 at 09:47:52AM +0300, Or Gerlitz wrote: > On 10/3/2015 11:55 PM, Martin Kletzander wrote: > >Get rid of all ELSE_AFTER_BRACE type errors reported by checkpatch.pl. > > Hi Greg, > > Is there a way to signal people/tools that a certain driver parks in staging > on their way **ou

Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller.

2015-10-04 Thread majun (F)
Hi Thomas: 在 2015/10/1 5:37, Thomas Gleixner 写道: > On Wed, 30 Sep 2015, MaJun wrote: > > First of all. > > [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller > > is not a proper subject line, but that's the least of your problems. > >> +#include >> +#include >> +#inc

[PATCH 0/5] staging: fsl-mc: multiple root DPRCs

2015-10-04 Thread itai.katz
From: Itai Katz This patch series adds support for supporting multiple root DPRCs, which is an item on the TODO list. (This situation can is possible when assigning multiple DPRCs to KVM virtual machines.) Patch 1 abstracts the test for existence of an fsl-mc bus instance into a function. Patc

[PATCH 2/5] staging: fsl-mc: abstract test for whether a dprc is a root dprc

2015-10-04 Thread itai.katz
From: Itai Katz Instead of relying on assumptions about fields in data structures, abstract the test for whether a dprc is a root dprc into a function. Signed-off-by: Itai Katz --- drivers/staging/fsl-mc/bus/mc-bus.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) di

[PATCH 1/5] staging: fsl-mc: abstract test for existence of fsl-mc bus

2015-10-04 Thread itai.katz
From: Itai Katz Add function to test for existence of an fsl-mc bus instance instead of doing this by looking directly at a field in the bus type struct. Signed-off-by: Itai Katz --- drivers/staging/fsl-mc/bus/mc-bus.c | 13 +++-- drivers/staging/fsl-mc/include/mc.h |2 ++ 2 file

[PATCH 5/5] staging: fsl-mc: remove references to dev_root

2015-10-04 Thread itai.katz
From: Itai Katz The dev_root field in the bus type struct has been replaced by a new mechanism to identify the root dprc. Remove all references to dev_root. Signed-off-by: Itai Katz --- drivers/staging/fsl-mc/bus/mc-bus.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/stagi

[GIT PULL REQUEST] md fixes for 4.3

2015-10-04 Thread Neil Brown
Hi Linus, a few md bug fixes. Thanks, NeilBrown The following changes since commit bcee19f424a0d8c26ecf2607b73c690802658b29: Merge branch 'for-4.3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup (2015-09-21 18:26:54 -0700) are available in the git repository at: git://

Re: [PATCH 01/18] mpt2sas: Use mpi headers from mpt3sas

2015-10-04 Thread Christoph Hellwig
Wasn't this originally my patch? Not that I really care for this trivial move, but the commit log just sounded familar. -- 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/ma

Re: [PATCH 1/2] block: generic request_queue reference counting

2015-10-04 Thread Ming Lei
On Wed, Sep 30, 2015 at 8:41 AM, Dan Williams wrote: > Allow pmem, and other synchronous/bio-based block drivers, to fallback Just a bit curious, why not extend it for all(both synchronous and asynchrounous) bio-based drivers? As you mentioned in introductory message, all bio based drivers may ha

Re: [PATCH v3 2/4] firmware: use acpi to detect QEMU fw_cfg device for sysfs fw_cfg driver

2015-10-04 Thread Michael S. Tsirkin
On Sat, Oct 03, 2015 at 07:28:07PM -0400, Gabriel L. Somlo wrote: > From: Gabriel Somlo > > Instead of blindly probing fw_cfg registers at known IOport and MMIO > locations, use the ACPI subsystem to determine whether a QEMU fw_cfg > device is present, and, if found, to initialize it. > > This l

Re: RFC: reduce CONFIG_SCSI_CONSTANTS impact by 4k

2015-10-04 Thread Christoph Hellwig
On Sun, Oct 04, 2015 at 12:09:58AM +0200, Rasmus Villemoes wrote: > On Sat, Oct 03 2015, Christoph Hellwig wrote: > > > Hi Rasmus, > > > > I like this idea. But maybe it's also time to just move the constants > > to a plain text file and auto-generate C headers from them? That way > > the forma

nfs race condition

2015-10-04 Thread Nicolas Parpandet
Hello, I'm doing some " crontab -e, exit with :x" on NFS mount point, and there is a race condition whent removing temporary files : 7701 write(2, "No modification made\n", 21) = 21 7701 open("/tmp/crontab.vYPoHR", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4 7701 getdents(4, {{d_ino=733

Re: [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings

2015-10-04 Thread Maxime Coquelin
Hi Daniel, On 10/03/2015 10:35 PM, Daniel Thompson wrote: This adds documenttaion of device tree binds for the STM32 hardware s/documenttaion/documentation/ random number generator. Signed-off-by: Daniel Thompson --- .../devicetree/bindings/hwrng/stm32-rng.txt | 21

Re: [PATCH 02/11] staging: dgnc: remove multiple blank lines

2015-10-04 Thread Greg Kroah-Hartman
On Sat, Oct 03, 2015 at 08:52:40PM +0530, Sudip Mukherjee wrote: > checkpatch warns us about multiple blank lines which are not needed. > Remove them. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/dgnc/dgnc_driver.c | 10 > drivers/staging/dgnc/dgnc_mgmt.c | 5 > dr

[PATCH v7 0/7] perf tools: Add 'perf-config' command

2015-10-04 Thread Taeung Song
So far, it is difficult that the state of perf configs is looked through and there's no knowing what kind of other variables except variables in perfconfig.example. Also perf configs can't be changed without manually modifying $HOME/.perfconfig or $(sysconfdir)/perfconfig file. So I suggest this

[PATCH v7 7/7] perf config: Add a option 'remove' to perf-config

2015-10-04 Thread Taeung Song
A option 'remove' is to remove specific config variables. For the syntax examples, # perf config [] -r | --remove [section.name ...] Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-config.txt | 6 + tools/perf/builtin-config.c | 38

[PATCH v7 6/7] perf config: normalize a value depending on default type of it

2015-10-04 Thread Taeung Song
Whether or not user mis-type wrong data type to set config, normalize the value. If a config user enter isn't contained in default configs, just pass as it is. For the examples, # perf config report.queue-size=1M # perf config report.queue-size report.queue-size=1048576 Signed-off-by: Ta

[PATCH v7 1/7] perf tools: Add 'perf-config' command

2015-10-04 Thread Taeung Song
The perf configuration file contains many variables which can make the perf command's action more effective. But looking through state of configuration is difficult and there's no knowing what kind of other variables except variables in perfconfig.example exist. So This patch adds 'perf-config' com

[PATCH v7 2/7] perf config: Add '--system' and '--user' options to select which config file is used

2015-10-04 Thread Taeung Song
Which config file is used is decided in only perf_config(). And a perf-config command depend on perf_config() to list config variables with values. So add '--system' and '--user' options to select which config file to be used without perf_config(). The file-options '--system' means $(sysconfdir)/p

[PATCH v7 4/7] perf config: Add 'get' functionality

2015-10-04 Thread Taeung Song
This patch consists of functions which can get specific config variables. For the syntax examples, perf config [] [section.name ...] display key-value pairs of specific config variables # perf config report.queue-size report.children Signed-off-by: Taeung Song --- tools/perf/Docume

[PATCH v7 5/7] perf config: Add 'set' feature

2015-10-04 Thread Taeung Song
This patch consists of functions which can set specific config variables. For the syntax examples, perf config [] [options] [section.name[=value] ...] set specific config variables # perf config report.queue-size=100M report.children=true Signed-off-by: Taeung Song --- tools/perf/D

[PATCH v7 3/7] perf config: Add a option 'list-all' to perf-config

2015-10-04 Thread Taeung Song
A option 'list-all' is to display both current config variables and all possible config variables with default values. The syntax examples are like below perf config [] [options] display all perf config with default values. # perf config -a | --list-all Signed-off-by: Taeung Song --

Re: [PATCH 1/2] drivers: staging: wilc1000: Move spin lock to the start of critical section

2015-10-04 Thread Greg KH
On Sat, Oct 03, 2015 at 02:57:29PM +0530, Chandra S Gorentla wrote: > The spin_lock_irqsave is moved to just beginning of critical section. > This change moves a couple of return statements out of the lock. > > Signed-off-by: Chandra S Gorentla > --- > drivers/staging/wilc1000/wilc_msgqueue.c |

Re: [PATCH 2/2] drivers: staging: wilc1000: Call kfree only for error cases

2015-10-04 Thread Greg KH
On Sat, Oct 03, 2015 at 02:57:30PM +0530, Chandra S Gorentla wrote: > - kfree is being called for the members of the queue without >de-queuing them; they are just inserted within this function; >they are supposed to be de-queued and freed in a function >for receiving the queue items >

[PATCH] mwifiex: fix a comment typo

2015-10-04 Thread Geliang Tang
Just fix a typo in the code comment. Signed-off-by: Geliang Tang --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index 30cbafb..b7ac45f 100644 --- a/

Re: [PATCH] staging: rtl8723au: Fix Sparse errors in rtl8723a_cmd.c

2015-10-04 Thread Greg Kroah-Hartman
On Fri, Oct 02, 2015 at 08:36:28PM -0400, Jacob Kiefer wrote: > From: Jacob Kiefer > > This patch fixes the following sparse errors: > > > CHECK drivers/staging/rtl8723au/hal/rtl8723a_cmd.c > ... > drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:118:25: warning: incorrect type > in assignment

Re: [PATCH 3/3] Staging: rtl8192u: remove ieee80211_ccmp_null()

2015-10-04 Thread Greg KH
On Sat, Oct 03, 2015 at 01:09:56PM -0800, mike dupuis wrote: > This is a patch to remove the function ieee80211_ccmp_null(). > This function does nothing and can therefore be safely removed. > > Signed-off-by: Mike Dupuis > --- > drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 --- > 1

Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-04 Thread Maxime Coquelin
Hi Daniel, On 10/03/2015 10:35 PM, Daniel Thompson wrote: Add support for STMicroelectronics STM32 random number generator. The config value defaults to N, reflecting the fact that STM32 is a very low resource microcontroller platform and unlikely to be targeted by any "grown up" defconfigs. S

[PATCH] isci: fix two comment typos

2015-10-04 Thread Geliang Tang
Just fix two typos in the code comment. Signed-off-by: Geliang Tang --- drivers/scsi/isci/request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c index cfd0084..8fe106f 100644 --- a/drivers/scsi/isci/request.c ++

[PATCH] IB/iser: fix a comment typo

2015-10-04 Thread Geliang Tang
Just fix a typo in the code comment. Signed-off-by: Geliang Tang --- drivers/infiniband/ulp/iser/iscsi_iser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index f58ff96..8f2f105 100644 ---

[PATCH] btrfs: fix a comment typo

2015-10-04 Thread Geliang Tang
Just fix a typo in the code comment. Signed-off-by: Geliang Tang --- fs/btrfs/free-space-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index abe3a66..7332995 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/

Re: [PATCH] staging: rdma: Fix braces around if/else

2015-10-04 Thread Martin Kletzander
On Sun, Oct 04, 2015 at 08:20:09AM +0100, Greg Kroah-Hartman wrote: On Sun, Oct 04, 2015 at 09:47:52AM +0300, Or Gerlitz wrote: On 10/3/2015 11:55 PM, Martin Kletzander wrote: >Get rid of all ELSE_AFTER_BRACE type errors reported by checkpatch.pl. Hi Greg, Is there a way to signal people/tools

Re: [PATCH 3/3] ARM: dts: stm32f429: Adopt STM32 RNG driver

2015-10-04 Thread Maxime Coquelin
Hi Daniel, On 10/03/2015 10:35 PM, Daniel Thompson wrote: New bindings and driver have been created for STM32 series parts. This patch integrates this changes. Signed-off-by: Daniel Thompson --- arch/arm/boot/dts/stm32f429.dtsi | 7 +++ 1 file changed, 7 insertions(+) Acked-by: Maxim

Re: [PATCH v8 0/3] usb: xhci-platform: Configure 64-bit DMA mask if the platform is capable

2015-10-04 Thread Greg KH
On Wed, Sep 30, 2015 at 02:24:30PM -0700, Duc Dang wrote: > On Thu, Sep 17, 2015 at 11:19 AM, Duc Dang wrote: > > The xhci platform driver does not work with system that only supports > > 64-bit DMA as it requests 32-bit DMA mask during driver initialization. > > This patch set addresses this issu

Re: [PATCH 2/2] drivers: staging: wilc1000: Call kfree only for error cases

2015-10-04 Thread Dan Carpenter
On Sun, Oct 04, 2015 at 09:44:57AM +0100, Greg KH wrote: > Aren't you now leaking memory as you aren't freeing pstrMessage and the > buffer on the "normal" return path? It's supposed to. It's a bug fix. I explained to him in the first version that his changelog sucks. regards, dan carpenter --

Re: [PATCH V5 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-10-04 Thread Greg Kroah-Hartman
On Sun, Sep 27, 2015 at 03:48:24PM +0200, Rafael J. Wysocki wrote: > On Sun, Sep 27, 2015 at 12:04 AM, Viresh Kumar > wrote: > > global_lock is defined as an unsigned long and accessing only its lower > > 32 bits from sysfs is incorrect, as we need to consider other 32 bits > > for big endian 64-

Re: [PATCH 15/15] dma: remove external references to dma_supported

2015-10-04 Thread Greg KH
On Sat, Oct 03, 2015 at 05:19:39PM +0200, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig > --- > Documentation/DMA-API.txt | 13 - > drivers/usb/host/ehci-hcd.c | 2 +- > drivers/usb/host/fotg210-hcd.c | 2 +- > drivers/usb/host/fusbh200-hcd.c | 2 +- > driv

Re: [PATCH 06/14] RFC: usb/host/fotg210: replace msleep by usleep_range

2015-10-04 Thread Peter Senna Tschudin
On Fri, Oct 2, 2015 at 7:52 PM, Alan Stern wrote: > On Fri, 2 Oct 2015, Felipe Balbi wrote: > >> On Mon, Sep 21, 2015 at 05:01:10PM +0200, Peter Senna Tschudin wrote: >> > msleep under 20ms can result in sleeping up to 20ms, which may not be >> > intended. Replace msleep(5) by usleep_range(5000, 6

Re: [PATCH v2 3/3] mfd: add CSR SiRFSoC on-chip power management module driver

2015-10-04 Thread Barry Song
2015-09-29 16:55 GMT+08:00 Lee Jones : > On Tue, 29 Sep 2015, Barry Song wrote: > >> 2015-09-29 15:16 GMT+08:00 Lee Jones : >> > On Tue, 29 Sep 2015, Barry Song wrote: >> >> >> >> +static int sirfsoc_pwrc_probe(struct platform_device *pdev) >> >> >> >> +{ >> >> >> >> + struct device_node *np =

Re: [PATCH 1/2] drivers: staging: wilc1000: Move spin lock to the start of critical section

2015-10-04 Thread Chandra Gorentla
On Sun, Oct 04, 2015 at 09:43:35AM +0100, Greg KH wrote: > On Sat, Oct 03, 2015 at 02:57:29PM +0530, Chandra S Gorentla wrote: > > The spin_lock_irqsave is moved to just beginning of critical section. > > This change moves a couple of return statements out of the lock. > > > > Signed-off-by: Chand

Re: [PATCH 2/2] drivers: staging: wilc1000: Call kfree only for error cases

2015-10-04 Thread Greg KH
On Sun, Oct 04, 2015 at 12:16:31PM +0300, Dan Carpenter wrote: > On Sun, Oct 04, 2015 at 09:44:57AM +0100, Greg KH wrote: > > Aren't you now leaking memory as you aren't freeing pstrMessage and the > > buffer on the "normal" return path? > > It's supposed to. It's a bug fix. I explained to him i

Re: [PATCH] staging: rdma: Fix braces around if/else

2015-10-04 Thread Greg Kroah-Hartman
On Sun, Oct 04, 2015 at 11:05:50AM +0200, Martin Kletzander wrote: > On Sun, Oct 04, 2015 at 08:20:09AM +0100, Greg Kroah-Hartman wrote: > >On Sun, Oct 04, 2015 at 09:47:52AM +0300, Or Gerlitz wrote: > >>On 10/3/2015 11:55 PM, Martin Kletzander wrote: > >>>Get rid of all ELSE_AFTER_BRACE type error

Re: [PATCH 1/2] drivers: staging: wilc1000: Move spin lock to the start of critical section

2015-10-04 Thread Greg KH
On Sun, Oct 04, 2015 at 03:37:13PM +0530, Chandra Gorentla wrote: > On Sun, Oct 04, 2015 at 09:43:35AM +0100, Greg KH wrote: > > On Sat, Oct 03, 2015 at 02:57:29PM +0530, Chandra S Gorentla wrote: > > > The spin_lock_irqsave is moved to just beginning of critical section. > > > This change moves a

Re: [PATCH 2/2] drivers: staging: wilc1000: Call kfree only for error cases

2015-10-04 Thread Chandra Gorentla
On Sun, Oct 04, 2015 at 09:44:57AM +0100, Greg KH wrote: > On Sat, Oct 03, 2015 at 02:57:30PM +0530, Chandra S Gorentla wrote: > > - kfree is being called for the members of the queue without > >de-queuing them; they are just inserted within this function; > >they are supposed to be de-que

Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-04 Thread Linus Walleij
On Sat, Oct 3, 2015 at 10:35 PM, Daniel Thompson wrote: > Add support for STMicroelectronics STM32 random number generator. > > The config value defaults to N, reflecting the fact that STM32 is a > very low resource microcontroller platform and unlikely to be targeted > by any "grown up" defconfi

[PATCH v2] video: fbdev: add Marvell PXA framebuffer binding

2015-10-04 Thread Robert Jarzmik
Add documentation for the PXA frambuffer devicetree binding. Signed-off-by: Robert Jarzmik --- Since v1: Philipp's review on the whole binding --- .../devicetree/bindings/video/marvell,pxafb.txt| 80 ++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/de

Re: [PATCH][RESEND] drm: panel-simple: add URT UMSH-8596MD-xT panel support

2015-10-04 Thread Emil Velikov
Hi Maciej, On 2 October 2015 at 22:40, Maciej S. Szmigiero wrote: > Anybody here? > > I've already submitted this patch two times but received no response... > Seems that the maintainer (Thierry) isn't Cc'ed. You might want to split the DT binding and vendor prefix to separate patches. -Emil --

Re: [PATCH] coccinelle: misc: remove "complex return code" warnings

2015-10-04 Thread Johan Hovold
On Fri, Oct 02, 2015 at 11:33:46PM +0200, Julia Lawall wrote: > Do you consider that this function would be better off in two lines? > > static int mxt_acquire_irq(struct mxt_data *data) > { > int error; > > enable_irq(data->irq); > > error = mxt_process_messages_until_in

Re: [PATCH] coccinelle: misc: remove "complex return code" warnings

2015-10-04 Thread Johan Hovold
On Sat, Oct 03, 2015 at 06:24:27PM +0200, Julia Lawall wrote: > Acked-by: Julia Lawall > > Perhaps there is a more restricted version that can be acceptable, but I'm > OK with dropping the current version. Great, thanks! Johan -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH 3/3] mm/nommu: drop unlikely behind BUG_ON()

2015-10-04 Thread Leon Romanovsky
On Sun, Oct 4, 2015 at 9:18 AM, Geliang Tang wrote: > BUG_ON() already contain an unlikely compiler flag. Drop it. It is not the case if CONFIG_BUG and HAVE_ARCH_BUG_ON are not set. > > Signed-off-by: Geliang Tang > --- > mm/nommu.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletion

Re: [PATCH 4/4] nvmem: sunxi: Check for memory allocation failure

2015-10-04 Thread Greg KH
On Wed, Sep 30, 2015 at 01:36:31PM +0100, Srinivas Kandagatla wrote: > From: Maxime Ripard > > The sunxi_sid driver doesn't check for kmalloc return status before > derefencing the returned pointer, which could lead to a NULL pointer > dereference if kmalloc failed. Check for its return code to m

Re: [char-misc 1/2 4.3 V2] mei: Fix debugfs filename in error output

2015-10-04 Thread Greg Kroah-Hartman
On Mon, Sep 21, 2015 at 10:58:15AM +0300, Tomas Winkler wrote: > From: Alexander Kuleshov > > Signed-off-by: Alexander Kuleshov > Signed-off-by: Tomas Winkler > --- > V2: fixed author address > > drivers/misc/mei/debugfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

For Your Kind Notice

2015-10-04 Thread Qatar
You have been selected to receive ($950,000.00 USD) as Charity Donations/Aid from (Qatar Foundation) provide the below information ASAP. 1:Full Names: 2:Complete Address: 3:Direct Telephone numbers Sincerely, Dr.Allan Faroze Mohammed. Email: poesq0...@foxmail.com Tel:+44 70457 96790 -- To unsub

Re: [PATCH 0/2] memory: Fix module autoload for OF platform driver

2015-10-04 Thread Greg Kroah-Hartman
On Tue, Sep 29, 2015 at 10:40:17AM -0700, santosh shilimkar wrote: > +Greg, arm-sock folks > > On 9/17/2015 10:56 AM, santosh shilimkar wrote: > >On 9/17/2015 10:41 AM, Luis de Bethencourt wrote: > >>Hello, > >> > >>These patches add the missing MODULE_DEVICE_TABLE() for OF to export > >>the infor

Re: [PATCH] misc: mic: use kstrdup() in mic_sysfs

2015-10-04 Thread Greg Kroah-Hartman
On Fri, Oct 02, 2015 at 10:43:34AM +0800, Geliang Tang wrote: > Use kstrdup instead of kmalloc and strncpy. > > Signed-off-by: Geliang Tang > --- > drivers/misc/mic/host/mic_sysfs.c | 23 --- > 1 file changed, 4 insertions(+), 19 deletions(-) This file isn't even in the tree

Re: [PATCH] staging: iio: adc: fix comment block coding style issue

2015-10-04 Thread Lars-Peter Clausen
On 10/03/2015 08:32 PM, Hugo Camboulive wrote: > This patch to ad7746.c makes the comment block end with a */ > on a separate line. > > Signed-off-by: Hugo Camboulive > --- > drivers/staging/iio/cdc/ad7746.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/stagin

Re: [PATCH] misc: mic: replace kfree with put_device

2015-10-04 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2015 at 12:58:22AM +0800, Geliang Tang wrote: > Handle a failed device_register(), replace kfree() with put_device(), > which will call mbus_release_dev() or scif_release_dev(). > > Signed-off-by: Geliang Tang > --- > drivers/misc/mic/bus/mic_bus.c | 2 +- > drivers/misc/mic/bus

Re: [PATCH] Staging: iio: meter: Use devm functions

2015-10-04 Thread Lars-Peter Clausen
On 10/04/2015 06:34 AM, Shraddha Barke wrote: > [...] Hi, Thanks for the patch. > - st->trig = iio_trigger_alloc("%s-dev%d", > - spi_get_device_id(st->us)->name, > - indio_dev->id); > + st->trig = devm_iio_trigger_al

Re: [PATCH 2/2] drivers/base/node.c: skip non-present sections in register_mem_sect_under_node

2015-10-04 Thread Greg KH
On Tue, Sep 22, 2015 at 04:27:01AM -0400, Jan Stancek wrote: > > > > > - Original Message - > > From: "Jan Stancek" > > To: gre...@linuxfoundation.org > > Cc: linux-kernel@vger.kernel.org, linux...@kvack.org, "Dave Young" > > > > Sent: Wednesday, 9 September, 2015 1:11:23 PM > > Subj

Re: [PATCH] Staging: iio: meter: Use devm functions

2015-10-04 Thread Jonathan Cameron
On 04/10/15 05:34, Shraddha Barke wrote: > Introduce use of managed resource function devm_iio_trigger_alloc > instead of iio_trigger_alloc and devm_request_irq instead of request_irq > Remove corresponding calls to iio_trigger_free and free_irq in the probe > and remove functions. > The now unnece

Re: [PATCH 8/24] ver_linux: e2fsprogs.patch

2015-10-04 Thread Alexander Kapshuk
On Sun, Oct 4, 2015 at 4:48 AM, Theodore Ts'o wrote: > On Sat, Oct 03, 2015 at 04:23:02PM +0300, Alexander Kapshuk wrote: >> 'tune2fs' is located in varying places depending on the distro. >> Current implementation output on distros where 'tune2fs' is found at >> a location that is not available i

Re: [PATCH v2] scsi: dpt: remove i2o header in uapi

2015-10-04 Thread Greg Kroah-Hartman
On Sun, Oct 04, 2015 at 01:22:50AM +0200, Gabriel Laskar wrote: > The i2o subsystem was removed by > commit 4a72a7af462d ("staging: remove i2o subsystem") but the header was > still used by drivers/scsi/dpt_i2o.c driver. > > This patch moves the structures used from the header into dpti_i2o.h. >

Re: [patch 1/2] x86/process: Add proper bound checks in 64bit get_wchan()

2015-10-04 Thread Dmitry Vyukov
On Sat, Oct 3, 2015 at 1:31 PM, Andrey Ryabinin wrote: > 2015-10-03 13:54 GMT+03:00 Thomas Gleixner : >> On Fri, 2 Oct 2015, Sasha Levin wrote: >>> I'm seeing a different issue with this patch: >>> >>> [ 5228.736320] BUG: KASAN: out-of-bounds in get_wchan+0xf9/0x1b0 at addr >>> 88049d2b7c50 >

Re: [PATCH 2/24] ver_linux: path2bin_test.patch

2015-10-04 Thread Alexander Kapshuk
On Sat, Oct 3, 2015 at 4:10 PM, Alexander Kapshuk wrote: > As suggested by Jim Davis , this patch checks for > binaries in the user's $PATH first by calling 'which name-of-binary'. If > the binary is not found there, an attempt is made to find it elsewhere > on the system. 'whereis name-of-binary'

Re: Problems with printk logs and my driver

2015-10-04 Thread Eric Curtin
On 30 September 2015 at 13:07, Austin S Hemmelgarn wrote: > On 2015-09-29 18:11, Eric Curtin wrote: >> >> On 25 September 2015 at 16:45, Austin S Hemmelgarn >> wrote: >>> >>> On 2015-09-25 08:02, Jiri Kosina wrote: On Fri, 25 Sep 2015, Felipe Tonello wrote: > Maybe a bette

Re: [PATCH] Staging: iio: meter: Use devm functions

2015-10-04 Thread Shraddha Barke
On Sun, 4 Oct 2015, Jonathan Cameron wrote: On 04/10/15 05:34, Shraddha Barke wrote: Introduce use of managed resource function devm_iio_trigger_alloc instead of iio_trigger_alloc and devm_request_irq instead of request_irq Remove corresponding calls to iio_trigger_free and free_irq in the pr

Re: [PATCH v2 6/7] squashfs: xattr simplifications

2015-10-04 Thread Andreas Grünbacher
2015-10-04 8:29 GMT+02:00 Christoph Hellwig : > IS it just me or is this handler broke before and after this patch? It > only copies out the prefix, but not the actual xattr name. Well, squashfs appends the rest of the name in squashfs_listxattr, so it's not broken, just different. I have tried cl

Re: [PATCH] extcon: Modify the id and name of external connector

2015-10-04 Thread Charles Keepax
On Sun, Oct 04, 2015 at 12:45:36PM +0900, Chanwoo Choi wrote: > This patch modifies the id and name of external connector with the additional > prefix to clarify both attribute and meaning of external connector as > following: > - EXTCON_CHG_* mean the charger connector. > - EXTCON_JACK_* mean the

Re: [PATCH v2 1/4] fs: have flush_delayed_fput flush the workqueue job

2015-10-04 Thread Jeff Layton
On Thu, 17 Sep 2015 08:39:44 -0400 Jeff Layton wrote: > I think there's a potential race in flush_delayed_fput. A kthread does > an fput() and that file gets added to the list and the delayed work is > scheduled. More than 1 jiffy passes, and the workqueue thread picks up > the work and starts ru

[PATCH] ASoC: sun4i-codec: Rework and fix headphone routing

2015-10-04 Thread Maxime Ripard
Most of the boards have their headphone jack directly connected to the matching pins of the SoCs. Since most of the time we will have the same routing path, it makes sense to put that in the driver, and only have a property describing whether that route is enabled or not. It also fixes the followi

Re: [PATCH v3] kbuild: document recursive dependency limitation / resolution

2015-10-04 Thread Valentin Rothberg
Hi Luis, I finally found some time to read your patch. Thanks for doing this work in such great detail. What I miss in the text is a general discussion of the widespread use of selects. In my opinion, selects should be (like gotos) considered harmful: First, selects ignore the user selection a

Re: [PATCH 2/2] iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs

2015-10-04 Thread Jonathan Cameron
On 02/10/15 13:45, Paul Cercueil wrote: > This patch adds support for the AD5592R (spi) and AD5593R (i2c) > ADC/DAC devices. > > Signed-off-by: Paul Cercueil SMBUS makes the assumption that the wire order is little endian. As such all the i2c drivers should be doing an necessary endian conversion

Re: [PATCH 3/3] iio: ad5064: Always use external vref if there is no internal vref

2015-10-04 Thread Jonathan Cameron
On 02/10/15 13:41, Paul Cercueil wrote: > If the device does not have an internal reference, there is no > other choice but to use the external reference. In that case, > it does not make much sense to have to specify it. > > This patch ensures that the external reference is used if the > device d

Re: [PATCH] perf tools: Fix build errors with mipsel-linux-uclibc compiler

2015-10-04 Thread Alexey Brodkin
Hello Stephane, Armaldo, On Tue, 2015-09-22 at 00:06 +0300, Aaro Koskinen wrote: > Hi, > > On Mon, Sep 21, 2015 at 04:29:39PM +, Alexey Brodkin wrote: > > > Em Fri, Sep 04, 2015 at 04:01:54PM -0700, Petri Gynther escreveu: > > > > On Fri, Sep 4, 2015 at 3:48 PM, Arnaldo Carvalho de Melo > > >

Re: [PATCH v5 2/5] soc: sunxi: Add driver for Allwinner Reduced Serial Bus

2015-10-04 Thread Maxime Ripard
Hi, On Thu, Oct 01, 2015 at 07:57:48PM +0800, Chen-Yu Tsai wrote: > Reduced Serial Bus (RSB) is an Allwinner proprietery interface > used to communicate with PMICs and other peripheral ICs. > > RSB is a two-wire push-pull serial bus that supports 1 master > device and up to 15 active slave device

[PATCH RESEND 0/6] staging: dgnc: checkpatch cleanups

2015-10-04 Thread Sudip Mukherjee
Resending after rebasing on current staging-testing tree. Few patches of the original series are already applied only these checkpatch related patches did not apply due to other changes. regards sudip Sudip Mukherjee (6): staging: dgnc: remove multiple blank lines staging: dgnc: remove blankl

[PATCH RESEND 1/6] staging: dgnc: remove multiple blank lines

2015-10-04 Thread Sudip Mukherjee
checkpatch warns us about multiple blank lines which are not needed. Remove them. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_driver.c | 10 drivers/staging/dgnc/dgnc_mgmt.c | 5 drivers/staging/dgnc/dgnc_neo.c| 37 --- drivers/stagin

[PATCH RESEND 4/6] staging: dgnc: remove space after cast

2015-10-04 Thread Sudip Mukherjee
Space is not necessary after typecast. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 6 +++--- drivers/staging/dgnc/dgnc_driver.c | 6 +++--- drivers/staging/dgnc/dgnc_mgmt.c | 6 +++--- drivers/staging/dgnc/dgnc_neo.c| 12 ++-- drivers/staging/dgnc/dgn

[PATCH RESEND 3/6] staging: dgnc: remove blankline after brace

2015-10-04 Thread Sudip Mukherjee
Blank lines are not needed after opening braces. checkpatch was giving us warnings about this. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 4 drivers/staging/dgnc/dgnc_driver.c | 3 --- drivers/staging/dgnc/dgnc_mgmt.c | 1 - drivers/staging/dgnc/dgnc_neo.c

[PATCH RESEND 5/6] staging: dgnc: alignment style

2015-10-04 Thread Sudip Mukherjee
checkpatch was warning us that the alignment should match the open parenthesis. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 14 +++--- drivers/staging/dgnc/dgnc_driver.c | 2 +- drivers/staging/dgnc/dgnc_neo.c| 2 +- drivers/staging/dgnc/dgnc_tty.c|

[PATCH RESEND 6/6] staging: dgnc: remove parenthesis

2015-10-04 Thread Sudip Mukherjee
checkpatch was warning us about extra unneeded parenthesis. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_neo.c | 2 +- drivers/staging/dgnc/dgnc_sysfs.c | 48 +++ drivers/staging/dgnc/dgnc_tty.c | 14 ++-- 3 files changed, 32 inser

[PATCH RESEND 2/6] staging: dgnc: remove blankline before brace

2015-10-04 Thread Sudip Mukherjee
Blank lines are not needed before closing braces. checkpatch was giving warning about this. Signed-off-by: Sudip Mukherjee --- drivers/staging/dgnc/dgnc_cls.c| 7 --- drivers/staging/dgnc/dgnc_driver.c | 2 -- drivers/staging/dgnc/dgnc_mgmt.c | 1 - drivers/staging/dgnc/dgnc_neo.c|

[PATCH v2] staging: iio: adc: fix comment block coding style issue

2015-10-04 Thread Hugo Camboulive
This patch to ad7746.c makes the comment blocks end with a */ on a separate line, and start with a /* on an empty line. Signed-off-by: Hugo Camboulive --- drivers/staging/iio/cdc/ad7746.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/cdc/ad7746.c

Re: [PATCH v3] arm64: Introduce IRQ stack

2015-10-04 Thread Jungseok Lee
On Oct 3, 2015, at 1:23 AM, James Morse wrote: > Hi, Hi James, > > On 22/09/15 13:11, Jungseok Lee wrote: >> Currently, kernel context and interrupts are handled using a single >> kernel stack navigated by sp_el1. This forces a system to use 16KB >> stack, not 8KB one. This restriction makes lo

Re: [PATCH 1/3] scsi: drop unlikely behind BUG_ON()

2015-10-04 Thread Bart Van Assche
On 10/03/15 23:18, Geliang Tang wrote: BUG_ON() already contain an unlikely compiler flag. Drop it. Signed-off-by: Geliang Tang Reviewed-by: Bart Van Assche -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] Staging: iio: meter: Use devm functions

2015-10-04 Thread Jonathan Cameron
On 04/10/15 13:43, Shraddha Barke wrote: > > > On Sun, 4 Oct 2015, Jonathan Cameron wrote: > >> On 04/10/15 05:34, Shraddha Barke wrote: >>> Introduce use of managed resource function devm_iio_trigger_alloc >>> instead of iio_trigger_alloc and devm_request_irq instead of request_irq >>> Remove c

Re: [PATCH v2] staging: iio: adc: fix comment block coding style issue

2015-10-04 Thread Jonathan Cameron
On 04/10/15 17:30, Hugo Camboulive wrote: > This patch to ad7746.c makes the comment blocks end with a */ > on a separate line, and start with a /* on an empty line. > > Signed-off-by: Hugo Camboulive Thanks. Applied to the togreg branch of iio.git - initially pushed out as staging for the autom

Re: [PATCH 4/4] nvmem: sunxi: Check for memory allocation failure

2015-10-04 Thread Srinivas Kandagatla
On 04/10/15 12:04, Greg KH wrote: On Wed, Sep 30, 2015 at 01:36:31PM +0100, Srinivas Kandagatla wrote: From: Maxime Ripard The sunxi_sid driver doesn't check for kmalloc return status before derefencing the returned pointer, which could lead to a NULL pointer dereference if kmalloc failed. C

[PATCH v2] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-04 Thread William Breathitt Gray
The ACCES 104-IDIO-16 family of PC/104 utility boards feature 16 optically isolated inputs and 16 optically isolated FET solid state outputs. This driver provides GPIO support for these 32 channels of digital I/O. Change-of-State detection interrupts are not supported. GPIO 0-15 correspond to digi

Re: [PATCH] power: print function name of callbacks

2015-10-04 Thread Pavel Machek
On Tue 2015-09-22 10:26:37, Douglas Anderson wrote: > The printouts writen to the logs by suspend can be a bit opaque: it can > be hard to track them down to the actual function called. You might > see: It seems simple enough. Acked-by: Pavel Machek > +static ktime_t initcall_debug_start(struc

Re: 4.3-rc0: snd_hda_intel 0000:00:1b.0: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

2015-10-04 Thread Pavel Machek
On Tue 2015-09-08 23:05:35, Takashi Iwai wrote: > On Tue, 08 Sep 2015 22:52:02 +0200, > Pavel Machek wrote: > > > > Hi! > > > > On something like 4c12ab7e5e2e892fa94df500f96001837918a281 ... I got > > > > [ 6078.393375] snd_hda_intel :00:1b.0: IRQ timing workaround is > > activated for card

Re: [PATCH] [v4] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-10-04 Thread Pavel Machek
Hi! > > > > 3) I'm not sure I understand the changelog correctly. What happens > > > > when BIOS reports less memory on hibernation? Will you magically > > > > remove memory from kernel at runtime? Will /proc/meminfo be invalid > > after resume? > > > > Will all the memory management tuning need fi

Re: [PATCH] PM/hibernate: fix a comment typo

2015-10-04 Thread Pavel Machek
On Tue 2015-09-29 20:36:58, Geliang Tang wrote: > Just fix a typo in a function name in kerneldoc comments. > > Signed-off-by: Geliang Tang Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-10-04 Thread Pavel Machek
Hi! > > > > > >> > This suggests we forget about power/wakeup == "off" and introduce an > > >> > "inhibit" attribute instead. > > >> > > >> If we do that, can it still be regarded as a PM attribute? > > > > > > Why not? Consider this: Is there any reason to support inhibit when > > > CONFIG_PM is

  1   2   3   >