Re: [PATCH v2 1/9] llist: Provide a safe version for llist_for_each

2017-02-12 Thread Byungchul Park
On Mon, Feb 13, 2017 at 03:52:44PM +0800, Huang, Ying wrote: > Byungchul Park writes: > > > On Mon, Feb 13, 2017 at 03:36:33PM +0800, Huang, Ying wrote: > >> Byungchul Park writes: > >> > >> > Sometimes we have to dereference next field of llist node before entering > >> > loop becasue the node

Re: [PATCH v3 1/2] mtd: ifc: Update dependency of IFC for LS1021A

2017-02-12 Thread Boris Brezillon
On Mon, 13 Feb 2017 07:39:41 + Alison Wang wrote: > Hi, Boris, > > Sorry, I forgot to change them. Should I resend them or you help to fix > that when applying? I can fix that when applying, no need to resend. Note that you missed 4.11 (already sent my PR to Brian), I'll queue it for

Re: [PATCH V4 2/2] Move stack parameters for sed_ioctl to prevent oversized stack with CONFIG_KASAN

2017-02-12 Thread Christoph Hellwig
> int sed_ioctl(struct opal_dev *dev, unsigned int cmd, unsigned long ptr) > { > + void *ioctl_ptr; > + int ret = -ENOTTY; > void __user *arg = (void __user *)ptr; Can we use this opportunity to clean up the usual ioctl argument mess. Id say pass the "void __user *argp" argument al

Re: [PATCH] spi-nor: use ERR_CAST in return

2017-02-12 Thread Boris Brezillon
On Mon, 13 Feb 2017 07:35:52 + Nicholas Mc Guire wrote: > On Sun, Feb 12, 2017 at 11:04:10PM +0100, Boris Brezillon wrote: > > +Mika > > > > On Sun, 12 Feb 2017 22:45:43 +0100 > > Boris Brezillon wrote: > > > > > On Sun, 12 Feb 2017 17:43:43 +0100 > > > Nicholas Mc Guire wrote: > > >

Re: [PATCH v2 1/9] llist: Provide a safe version for llist_for_each

2017-02-12 Thread Huang, Ying
Byungchul Park writes: > On Mon, Feb 13, 2017 at 03:36:33PM +0800, Huang, Ying wrote: >> Byungchul Park writes: >> >> > Sometimes we have to dereference next field of llist node before entering >> > loop becasue the node might be deleted or the next field might be >> > modified within the loop.

Re: [PATCH V4 1/2] uapi: sed-opal fix IOW for activate lsp to use correct struct

2017-02-12 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH v6 7/8] uapi: export all headers under uapi directories

2017-02-12 Thread Christoph Hellwig
> linux/genwqe/..install.cmd > linux/genwqe/.install Third time: NAK on exporting internal kbuild metadata.

RE: [PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method

2017-02-12 Thread Dexuan Cui
> From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Saturday, February 11, 2017 02:02 > ... > That's important if the stuff happens cross CPU. If the update happens on > the same CPU then this is a different story and as there are VMexits > involved they might provide the required ordering

Re: [PATCH v2 5/6] drm: convert drivers to use drm_of_find_panel_or_bridge

2017-02-12 Thread Boris Brezillon
On Thu, 9 Feb 2017 13:05:57 -0600 Rob Herring wrote: > Similar to the previous commit, convert drivers open coding OF graph > parsing to use drm_of_find_panel_or_bridge instead. > > This changes some error messages to debug messages (in the graph core). > Graph connections are often "no connect

Re: [PATCH v2] gpio: return NULL from gpiod_get_optional when GPIOLIB is disabled

2017-02-12 Thread Uwe Kleine-König
Hello, On Sun, Feb 12, 2017 at 05:15:01PM -0800, Dmitry Torokhov wrote: > On Sun, Feb 12, 2017 at 05:13:55PM -0800, Dmitry Torokhov wrote: > > Given the intent behind gpiod_get_optional() and friends it does not make > > sense to return -ENOSYS when GPIOLIB is disabled: the driver is expected to >

Re: [PATCH v2 1/9] llist: Provide a safe version for llist_for_each

2017-02-12 Thread Byungchul Park
On Mon, Feb 13, 2017 at 03:36:33PM +0800, Huang, Ying wrote: > Byungchul Park writes: > > > Sometimes we have to dereference next field of llist node before entering > > loop becasue the node might be deleted or the next field might be > > modified within the loop. So this adds the safe version o

Re: [PATCH RFC] spi-nor: provide a range for poll_timout

2017-02-12 Thread Nicholas Mc Guire
On Sun, Feb 12, 2017 at 10:59:23PM +0100, Boris Brezillon wrote: > +Mika > > On Sun, 12 Feb 2017 17:42:57 +0100 > Nicholas Mc Guire wrote: > > > The overall poll time here is INTEL_SPI_TIMEOUT * 1000 which is > > 5000 * 1000 - so 5seconds and it is coded as a tight loop here delay_us > > to rea

RE: [PATCH v3 1/2] mtd: ifc: Update dependency of IFC for LS1021A

2017-02-12 Thread Alison Wang
Hi, Boris, Sorry, I forgot to change them. Should I resend them or you help to fix that when applying? Best Regards, Alison Wang > > Hi Alison, > > The subject prefix is still wrong, should be 'memory: ifc: '. > > On Mon, 13 Feb 2017 14:46:55 +0800 > Alison Wang wrote: > > > As Fr

Re: [PATCH v3 2/2] gpio: mockup: implement event injecting over debugfs

2017-02-12 Thread Linus Walleij
On Mon, Feb 6, 2017 at 3:11 PM, Bartosz Golaszewski wrote: > Create a debugfs directory for every mockup chip and a single file > for every line. Writing (0 or 1) to these files allows the user to > inject line events (falling or rising edge respectively). > > Signed-off-by: Bartosz Golaszewski

Re: [PATCH] spi-nor: use true/false for bool

2017-02-12 Thread Nicholas Mc Guire
On Sun, Feb 12, 2017 at 11:01:44PM +0100, Boris Brezillon wrote: > +Mika > > On Sun, 12 Feb 2017 22:50:44 +0100 > Boris Brezillon wrote: > > > On Sun, 12 Feb 2017 17:43:31 +0100 > > Nicholas Mc Guire wrote: > > > > > writeable in struct intel_spi is a boolean and assignment should be to > > >

Re: [PATCH v3 1/2] gpio: mockup: add a dummy irqchip

2017-02-12 Thread Linus Walleij
On Mon, Feb 6, 2017 at 3:11 PM, Bartosz Golaszewski wrote: > Setup a dummy irqchip that will allow us to inject line events for > testing purposes. > > Signed-off-by: Bartosz Golaszewski Patch applied. Yours, Linus Walleij

Re: [PATCH] spi-nor: use ERR_CAST in return

2017-02-12 Thread Nicholas Mc Guire
On Sun, Feb 12, 2017 at 11:04:10PM +0100, Boris Brezillon wrote: > +Mika > > On Sun, 12 Feb 2017 22:45:43 +0100 > Boris Brezillon wrote: > > > On Sun, 12 Feb 2017 17:43:43 +0100 > > Nicholas Mc Guire wrote: > > > > > This fixes a sparse warning about > > > > Your commit message seems to be

Re: [PATCH v2 1/9] llist: Provide a safe version for llist_for_each

2017-02-12 Thread Huang, Ying
Byungchul Park writes: > Sometimes we have to dereference next field of llist node before entering > loop becasue the node might be deleted or the next field might be > modified within the loop. So this adds the safe version of llist_for_each, > that is, llist_for_each_safe. > > Signed-off-by: By

Re: [PATCH v3 1/2] mtd: ifc: Update dependency of IFC for LS1021A

2017-02-12 Thread Boris Brezillon
Hi Alison, The subject prefix is still wrong, should be 'memory: ifc: '. On Mon, 13 Feb 2017 14:46:55 +0800 Alison Wang wrote: > As Freescale/NXP IFC controller is available on LS1021A, the dependency > for LS1021A is added. > > LS1021A is an earlier product and is not compatible with later >

[PATCH v2 1/9] llist: Provide a safe version for llist_for_each

2017-02-12 Thread Byungchul Park
Sometimes we have to dereference next field of llist node before entering loop becasue the node might be deleted or the next field might be modified within the loop. So this adds the safe version of llist_for_each, that is, llist_for_each_safe. Signed-off-by: Byungchul Park --- include/linux/lli

[PATCH v2 6/9] namespace.c: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- fs/namespace.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index b5b1259..5cb2229 100644 --- a/fs/namespace.c +++ b/fs/na

[PATCH v2 0/9] Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Change from v1 - split one patch to several ones, one for each subsystem. - replace for_each with the safe version where it's necessary. Byungchul Park (9): llist: Provide a safe version for llist_for_each bcache: Don't reinvent the wheel but use existing llist API raid5: Don't reinvent the

[PATCH v2 9/9] mm: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- mm/vmalloc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 3ca82d4..8c0eb45 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@

[PATCH v2 7/9] irq_work: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- kernel/irq_work.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kernel/irq_work.c b/kernel/irq_work.c index bcf107c..e2ebe8c 100644 --- a/kernel/irq_work.c +++ b/k

[PATCH v2 2/9] bcache: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- drivers/md/bcache/closure.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index 864e673..18

[PATCH v2 8/9] sched: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- kernel/sched/core.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index d01f9d0..417060b 100644 --- a/kernel/sc

[PATCH v2 5/9] fput: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- fs/file_table.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index 6d982b5..3209da2 100644 --- a/fs/file_table.c +++ b/f

[PATCH v2 3/9] raid5: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- drivers/md/raid5.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 36c13e4..22a0326 100644 --- a/drivers/md/raid5.c ++

[PATCH v2 4/9] vhost/scsi: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- drivers/vhost/scsi.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 253310c..a4cb966 100644 --- a/drivers/v

[PATCH v3 2/2] mtd: nand: Update dependency of IFC for LS1021A

2017-02-12 Thread Alison Wang
As NAND support for Freescale/NXP IFC controller is available on LS1021A, the dependency for LS1021A is added. LS1021A is an earlier product and is not compatible with later LayerScape architecture. So ARCH_LAYERSCAPE can't cover LS1021A. Signed-off-by: Alison Wang --- Changes in v3: - Update th

RE: [PATCH v2 2/2] mtd: nand: Update dependency of IFC for LS1021A

2017-02-12 Thread Alison Wang
Hi, Boris, > On Thu, 5 Jan 2017 02:02:30 + > Alison Wang wrote: > > > > On 01/04/2017 02:46 AM, Alison Wang wrote: > > > >> On 01/03/2017 03:41 AM, Alison Wang wrote: > > > >>> As NAND support for Freescale/NXP IFC controller is available > on > > > >>> LS1021A, the dependency for LS1021A is

[PATCH v3 1/2] mtd: ifc: Update dependency of IFC for LS1021A

2017-02-12 Thread Alison Wang
As Freescale/NXP IFC controller is available on LS1021A, the dependency for LS1021A is added. LS1021A is an earlier product and is not compatible with later LayerScape architecture. So ARCH_LAYERSCAPE can't cover LS1021A. Signed-off-by: Alison Wang --- Changes in v3: - Update the commit message.

Re: [PATCH 0/3] s390: audit and remove needless module.h includes

2017-02-12 Thread Heiko Carstens
On Thu, Feb 09, 2017 at 03:20:22PM -0500, Paul Gortmaker wrote: > Paul Gortmaker (3): > s390: kernel: Audit and remove any unnecessary uses of module.h > s390: mm: Audit and remove any unnecessary uses of module.h > s390: Audit and remove any remaining unnecessary uses of module.h Applied, t

Re: [PATCH] perf: Fix CONFIG_KPROBE_EVENTS and CONFIG_UPROBE_EVENTS typos

2017-02-12 Thread Ingo Molnar
* Anton Blanchard wrote: > From: Anton Blanchard > > Fix some incorrect Kconfig options, they should be CONFIG_KPROBE_EVENT > and CONFIG_UPROBE_EVENT. > > Signed-off-by: Anton Blanchard > --- > arch/sparc/configs/sparc64_defconfig | 2 +- > tools/perf/util/probe-file.c | 8

Re: linux-next: build failure after merge of the rcu tree

2017-02-12 Thread Stephen Rothwell
Hi Paul, On Sun, 12 Feb 2017 20:37:48 -0800 "Paul E. McKenney" wrote: > > I chickened out on that commit for this merge window, so it will come > back at -rc1. But I will cover that when I rebase to -rc1. OK, thanks. -- Cheers, Stephen Rothwell

Re: [PATCH] Make EN2 pin optional in the TRF7970A driver

2017-02-12 Thread Heiko Schocher
Hello Rob, Am 10.02.2017 um 16:51 schrieb Rob Herring: On Tue, Feb 07, 2017 at 06:22:04AM +0100, Heiko Schocher wrote: From: Guan Ben Make the EN2 pin optional. This is useful for boards, which have this pin fix wired, for example to ground. Signed-off-by: Guan Ben Signed-off-by: Mark Jonas

linux-next: Tree for Feb 13

2017-02-12 Thread Stephen Rothwell
Hi all, Changes since 20170210: The ipsec-next tree gained a conflict against the net-next tree. The rdma-leon gained a conflict against Linus' tree. The l2mtd-tree lost its build failure. Non-merge commits (relative to Linus' tree): 8646 9682 files changed, 388711 insertions(+), 182504 delet

Re: [PATCH 1/1] dma: imx-sdma: add 1ms delay to ensure SDMA channel is stopped

2017-02-12 Thread Jiada Wang
Hello Vinod On 02/13/2017 11:05 AM, Vinod Koul wrote: On Fri, Feb 10, 2017 at 06:46:45AM -0800, jiada_w...@mentor.com wrote: From: Jiada Wang sdma_disable_channel() cannot ensure dma is stopped to access module's FIFOs. Maybe SDMA core is running and accessing BD when disable of corresponding

Re: [PATCH] Input: tsc2004/5 - do not use irq_set_irq_wake() directly

2017-02-12 Thread Sebastian Reichel
Hi, On Sun, Feb 12, 2017 at 03:43:33PM -0800, Dmitry Torokhov wrote: > Instead of setting irq_set_irq_wake() directly in probe(), mark the device > as wakeup-capable, and use enable_irq_wake() and disable_irq_wake() in > suspend/resume path. > > Signed-off-by: Dmitry Torokhov Reviewed-By: Sebas

[PATCH RFC 3/3] arm64: dts: register Hi6220's coresight debug module

2017-02-12 Thread Leo Yan
Bind coresight debug driver for Hi6220. Signed-off-by: Leo Yan --- .../boot/dts/hisilicon/hikey_6220_coresight.dtsi | 73 ++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi b/arch/arm64/boot/dts/hisilicon/hikey_6220_co

[PATCH RFC 2/3] coresight: add support for debug module

2017-02-12 Thread Leo Yan
Coresight includes debug module and usually the module connects with CPU debug logic. ARMv8 architecture reference manual (ARMv8-ARM) has defined the debug registers in the chapter "H9: External Debug Register Descriptions". After enable the debug module we can check CPU state and PC value, etc. S

Re: [PATCH] Input: pwm-beeper: support customized freq for SND_BELL

2017-02-12 Thread Heiko Schocher
Hello Rob, Am 10.02.2017 um 16:48 schrieb Rob Herring: On Tue, Feb 07, 2017 at 06:21:34AM +0100, Heiko Schocher wrote: From: Guan Ben extend the pwm-beeper driver to support customized frequency for SND_BELL from device tree. Signed-off-by: Guan Ben Signed-off-by: Mark Jonas [h...@denx.de:

[PATCH RFC 1/3] coresight: binding for coresight debug driver

2017-02-12 Thread Leo Yan
Adding compatible string for new coresight debug driver. Signed-off-by: Leo Yan --- Documentation/devicetree/bindings/arm/coresight.txt | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/coresight.txt b/Documentation/devicetree/bin

[PATCH RFC 0/3] coresight: enable debug module

2017-02-12 Thread Leo Yan
This patch series is to enable coresight debug module. With debug module we can check CPU state and PC value, etc. So this is helpful for CPU lockup bugs, e.g. if one CPU has run into infinite loop with IRQ disabled. The hang CPU cannot switch context and handle any interrupt, so it cannot handle S

[PATCH] x86: kernel: fix unused variable warning in vm86_32.c

2017-02-12 Thread Seunghun Han
If CONFIG_TRANSPARENT_HUGEPAGE is not set in kernel config, a warning is shown in vm86_32.c. The warning is as follows: >arch/x86/kernel/vm86_32.c: In function ‘mark_screen_rdonly’: >arch/x86/kernel/vm86_32.c:180:26: warning: unused variable ‘vma’ >[-Wunused-variable] > struct vm_area_struct *vma

Re: [lkp] [x86/acpi] dc6db24d24: BUG: unable to handle kernel paging request at 0000116007090008

2017-02-12 Thread Ye Xiaolong
Hi, liyang On 02/13, Dou Liyang wrote: >Hi, Xiaolong > >At 02/13/2017 09:37 AM, Ye Xiaolong wrote: >>On 11/21, Dou Liyang wrote: >>>Hi, Xiaolong, >>> >>>At 11/21/2016 09:31 AM, Ye Xiaolong wrote: On 11/18, Dou Liyang wrote: >Hi xiaolong > >At 11/18/2016 02:16 PM, Ye Xiaolong wrote:

Re: [RFC][PATCH 12/21] tracing: Account for variables in named trigger compatibility

2017-02-12 Thread Namhyung Kim
On Wed, Feb 08, 2017 at 11:25:08AM -0600, Tom Zanussi wrote: > Named triggers must also have the same set of variables in order to be > considered compatible - update the trigger match test to account for > that. > > The reason for this requirement is that named triggers with variables > are meant

Re: [RFC][PATCH 11/21] tracing: Add variable support to hist triggers

2017-02-12 Thread Namhyung Kim
On Wed, Feb 08, 2017 at 11:25:07AM -0600, Tom Zanussi wrote: > Add support for saving the value of a current event's event field by > assigning it to a variable that can be read by a subsequent event. > > The basic syntax for saving a variable is to simply prefix a unique > variable name not corre

Re: [PATCH] llist: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
On Mon, Feb 13, 2017 at 05:43:26AM +, Al Viro wrote: > On Mon, Feb 13, 2017 at 01:10:13PM +0900, Byungchul Park wrote: > > Although llist provides proper APIs, they are not used. Make them used. > > > @@ -231,12 +231,10 @@ static void __fput(struct file *file) > > static void delayed_fput(str

Re: [PATCH] llist: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
On Mon, Feb 13, 2017 at 01:38:36PM +0800, Huang, Ying wrote: > Hi, Byungchul, > > Byungchul Park writes: > > > Although llist provides proper APIs, they are not used. Make them used. > > > > Signed-off-by: Byungchul Park > > --- > > drivers/md/bcache/closure.c | 15 ++- > > drivers

Re: ANNOUNCE: mdadm 4.0 - A tool for managing md Soft RAID under Linux

2017-02-12 Thread zhilong
On 02/13/2017 01:08 PM, zhilong wrote: Hi, Jes; On 01/13/2017 12:41 AM, Jes Sorensen wrote: On 01/11/17 23:24, Guoqing Jiang wrote: On 01/12/2017 12:59 AM, Jes Sorensen wrote: On 01/11/17 11:52, Shaohua Li wrote: On Tue, Jan 10, 2017 at 11:49:04AM -0600, Bruce Dubbs wrote: Jes Sorensen w

[PATCH v2 23/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.h - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h b/drivers/staging/rtl81

[PATCH v2 24/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c b/drivers/staging/rtl8192u/ieee802

Re: [PATCHSET for-4.11] cgroup: implement cgroup v2 thread mode

2017-02-12 Thread Mike Galbraith
On Sun, 2017-02-12 at 07:59 +0100, Mike Galbraith wrote: > On Sun, 2017-02-12 at 14:05 +0900, Tejun Heo wrote: > > > > I think cgroup tree depth is a more significant issue; because of > > > hierarchy we often do tree walks (uo-to-root or down-to-task). > > > > > > So creating elaborate trees is

[PATCH v2 25/25] Staging: rtl8192u: ieee80211: ieee80211.h - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/ieee80211.h | 61 +++--- 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/r

[PATCH v2 22/25] Staging: rtl8192u: ieee80211: ieee80211_rx.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 91 +++ 1 file changed, 58 insertions(+), 33 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c b/drivers/stagin

[PATCH v2 19/25] Staging: rtl8192u: ieee80211: rtl819x_BA.h - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h b/drivers/staging/rtl8192u/ieee80

[PATCH v2 20/25] Staging: rtl8192u: ieee80211: ieee80211_wx.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 87 --- 1 file changed, 47 insertions(+), 40 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c b/drivers/stagin

[PATCH v2 21/25] Staging: rtl8192u: ieee80211: ieee80211_tx.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 290 +++--- 1 file changed, 150 insertions(+), 140 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c b/drivers/stag

[PATCH v2 18/25] Staging: rtl8192u: ieee80211: rtl819x_HT.h - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h | 69 + 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h b/drivers/staging/

[PATCH v2 16/25] Staging: rtl8192u: ieee80211: rtl819x_HTProc.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- .../staging/rtl8192u/ieee80211/rtl819x_HTProc.c| 164 ++--- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/stag

[PATCH v2 17/25] Staging: rtl8192u: ieee80211: rtl819x_BAProc.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- .../staging/rtl8192u/ieee80211/rtl819x_BAProc.c| 28 +++--- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c b/drivers/stag

[PATCH v2 14/25] Staging: rtl8192u: ieee80211: ieee80211_softmac.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- .../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 71 +++--- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/s

Re: [PATCH] llist: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Al Viro
On Mon, Feb 13, 2017 at 01:10:13PM +0900, Byungchul Park wrote: > Although llist provides proper APIs, they are not used. Make them used. > @@ -231,12 +231,10 @@ static void __fput(struct file *file) > static void delayed_fput(struct work_struct *unused) > { > struct llist_node *node = lli

[PATCH v2 15/25] Staging: rtl8192u: ieee80211: ieee80211_module.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- .../staging/rtl8192u/ieee80211/ieee80211_module.c | 60 +++--- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/st

[PATCH v2 12/25] Staging: rtl8192u: ieee80211: ieee80211_crypt_wep.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c b/drivers/staging/rtl8192u

[PATCH v2 13/25] Staging: rtl8192u: ieee80211: rtl819x_TSProc.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c b/drivers/staging/rtl8192u/ieee802

[PATCH v2 11/25] Staging: rtl8192u: r8180_93cx6.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r8180_93cx6.c | 36 +- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/staging/rtl8192u/r8180_93cx6.c b/drivers/staging/rtl8192u/

[PATCH v2 10/25] Staging: rtl8192u: r8190_rtl8256.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r8190_rtl8256.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c b/drivers/staging/rtl8192u/r8190_rtl8256.c

[PATCH v2 09/25] Staging: rtl8192u: r8190_rtl8256.h - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r8190_rtl8256.h | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.h b/drivers/staging/rtl8192u/r8190_rtl8

[RESEND PATCH 0/2] sched/fair: Add documentation and optimize __update_sched_avg()

2017-02-12 Thread Yuyang Du
Hi Peter, I found I have some patches that go nowhere, out of which two stand out. So I resend them. The first one adds a document about how to calculate the constants used in load tracking, which was suggested by you and mentioned in commit 7b20b916e953cabef569541f991a0a583bc344cb Author:

[PATCH v2 07/25] Staging: rtl8192u: r8192U_core.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r8192U_core.c | 70 +- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/

[PATCH v2 08/25] Staging: rtl8192u: r8192U.h - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r8192U.h | 39 ++- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U.h b/drivers/staging/rtl8192u/r8192

[PATCH v2 06/25] Staging: rtl8192u: r8192U_dm.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r8192U_dm.c | 175 +++ 1 file changed, 97 insertions(+), 78 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl8192u/r8

[PATCH v2 03/25] Staging: rtl8192u: r819xU_cmdpkt.h - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments. Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r819xU_cmdpkt.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h b/drivers/staging/rtl8192u/r819xU_cmdpkt.h index f

[PATCH v2 05/25] Staging: rtl8192u: r8192U_hw.h - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r8192U_hw.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_hw.h b/drivers/staging/rtl8192u/r8192U_hw.

[PATCH v2 04/25] Staging: rtl8192u: r819xU_cmdpkt.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- Version #1 had a problem where I commented out valid code. drivers/staging/rtl8192u/r819xU_cmdpkt.c | 82 1 file changed, 52 insertions(+), 30 deletions(-) diff --git a

[PATCH v2 01/25] Staging: rtl8192u: r819xU_phy.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r819xU_phy.c | 41 +++ 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers/staging/rtl8192u/r

[RESEND PATCH 2/2] sched/fair: Optimize __update_sched_avg()

2017-02-12 Thread Yuyang Du
__update_load_avg() has the following steps: 1. add the remainder of the last incomplete period 2. decay old sum 3. accumulate new sum in full periods since last_update_time 4. accumulate the current incomplete period 5. update averages However, there is no need to separately compute st

[RESEND PATCH 1/2] documentation: Add scheduler/sched-avg.txt

2017-02-12 Thread Yuyang Du
This doc file has the program to generate the constants to compute sched averages. Signed-off-by: Yuyang Du --- Documentation/scheduler/sched-avg.txt | 94 +++ 1 file changed, 94 insertions(+) create mode 100644 Documentation/scheduler/sched-avg.txt diff --git a

[PATCH v2 02/25] Staging: rtl8192u: r819xU_firmware.c - style fix

2017-02-12 Thread Derek Robson
Fixed style of block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r819xU_firmware.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_firmware.c b/drivers/staging/rtl8192u/r819xU_firmware.c index

[PATCH v2 00/25] Staging: rtl8192u - fixed block comments

2017-02-12 Thread Derek Robson
Fixed style of block comments across all of the rtl8192u driver This driver has a lot of code commented out that could be deleted, I have not changed that. Version #1 had a bug in 04/25 where I commented out valid code. Derek Robson (25): Staging: rtl8192u: r819xU_phy.c - style fix Staging

Re: [PATCH] llist: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Huang, Ying
Hi, Byungchul, Byungchul Park writes: > Although llist provides proper APIs, they are not used. Make them used. > > Signed-off-by: Byungchul Park > --- > drivers/md/bcache/closure.c | 15 ++- > drivers/md/raid5.c | 4 +--- > drivers/vhost/scsi.c| 9 ++--- > f

Re: [PATCH 10/11] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-02-12 Thread Smitha T Murthy
On Mon, 2017-02-06 at 15:54 +0100, Andrzej Hajda wrote: > Hi Smitha, > > I have no big experience with HEVC, so it is hard to review it > appropriately but I will try do my best. > As these control names goes to user space you should be very careful > about it. > I guess it could be good to compar

Re: [lkp] [x86/acpi] dc6db24d24: BUG: unable to handle kernel paging request at 0000116007090008

2017-02-12 Thread Dou Liyang
Hi, Xiaolong At 02/13/2017 09:37 AM, Ye Xiaolong wrote: On 11/21, Dou Liyang wrote: Hi, Xiaolong, At 11/21/2016 09:31 AM, Ye Xiaolong wrote: On 11/18, Dou Liyang wrote: Hi xiaolong At 11/18/2016 02:16 PM, Ye Xiaolong wrote: Hi, liyang Sorry for the late. On 10/31, Dou Liyang wrote: Hi,

Re: [PATCHSET for-4.11] cgroup: implement cgroup v2 thread mode

2017-02-12 Thread Mike Galbraith
On Sun, 2017-02-12 at 13:16 -0800, Paul Turner wrote: > > > On Thursday, February 9, 2017, Peter Zijlstra wrote: > > On Thu, Feb 09, 2017 at 05:07:16AM -0800, Paul Turner wrote: > > > The only case that this does not support vs ".threads" would be some > > > hybrid where we co-mingle threads fro

Re: [PATCH v2] arm64: use is_vmalloc_addr

2017-02-12 Thread Andreas Färber
Hi, Am 09.02.2017 um 12:45 schrieb Miles Chen: > To is_vmalloc_addr() to check if an address is a vmalloc address "Use ..."? Regards, Andreas > instead of checking VMALLOC_START and VMALLOC_END manually. > > Signed-off-by: Miles Chen -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, German

[PATCH] powerpc/xmon: add turn off xmon option

2017-02-12 Thread Pan Xinhui
Once xmon is triggered, there is no interface to turn it off again. However there exists disable/enable xmon code flows. And more important, System reset interrupt on powerVM will fire an oops to make a dump. At that time, xmon should not be triggered. So add 'z' option after current 'x|X' exit co

Re: [PATCH] llist: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread Byungchul Park
On Mon, Feb 13, 2017 at 03:56:08PM +1100, NeilBrown wrote: > On Mon, Feb 13 2017, Byungchul Park wrote: > > > Although llist provides proper APIs, they are not used. Make them used. > > > > Signed-off-by: Byungchul Park > > --- > > drivers/md/bcache/closure.c | 15 ++- > > drivers/md

Re: ANNOUNCE: mdadm 4.0 - A tool for managing md Soft RAID under Linux

2017-02-12 Thread zhilong
Hi, Jes; On 01/13/2017 12:41 AM, Jes Sorensen wrote: On 01/11/17 23:24, Guoqing Jiang wrote: On 01/12/2017 12:59 AM, Jes Sorensen wrote: On 01/11/17 11:52, Shaohua Li wrote: On Tue, Jan 10, 2017 at 11:49:04AM -0600, Bruce Dubbs wrote: Jes Sorensen wrote: I am pleased to announce the avail

Re: [PATCH V2 3/7] mm: reclaim MADV_FREE pages

2017-02-12 Thread Minchan Kim
On Fri, Feb 10, 2017 at 09:43:07AM -0800, Shaohua Li wrote: < snip > > > > diff --git a/mm/vmscan.c b/mm/vmscan.c > > > index 947ab6f..b304a84 100644 > > > --- a/mm/vmscan.c > > > +++ b/mm/vmscan.c > > > @@ -864,7 +864,7 @@ static enum page_references > > > page_check_references(struct page *pag

Re: [PATCH RFC] ptr_ring: fix race conditions when resizing

2017-02-12 Thread Jason Wang
On 2017年02月11日 06:31, Michael S. Tsirkin wrote: Resizing currently drops consumer lock. This can cause entries to be reordered, which isn't good in itself. More importantly, consumer can detect a false ring empty condition and block forever. Further, nesting of consumer within producer lock

Re: [PATCH 0/3] Add support for MyGica T230C DVB-T2 stick

2017-02-12 Thread Antti Palosaari
On 02/12/2017 05:26 PM, Stefan Brüns wrote: The required command sequence for the new tuner (Si2141) was traced from the current Windows driver and verified with a small python script/libusb. The changes to the Si2168 and cxusb driver are mostly addition of the required IDs and some glue code. S

Re: [PATCH v2 5/6] drm: convert drivers to use drm_of_find_panel_or_bridge

2017-02-12 Thread Archit Taneja
On 02/10/2017 12:35 AM, Rob Herring wrote: Similar to the previous commit, convert drivers open coding OF graph parsing to use drm_of_find_panel_or_bridge instead. This changes some error messages to debug messages (in the graph core). Graph connections are often "no connects" depending on the

Re: [PATCH V2 2/7] mm: move MADV_FREE pages into LRU_INACTIVE_FILE list

2017-02-12 Thread Minchan Kim
Hi Shaohua, On Fri, Feb 10, 2017 at 09:30:09AM -0800, Shaohua Li wrote: < snip > > > > +static inline bool page_is_lazyfree(struct page *page) > > > +{ > > > + return PageAnon(page) && !PageSwapBacked(page); > > > +} > > > + > > > > trivial: > > > > How about using PageLazyFree for consistency

Re: [PATCH] llist: Don't reinvent the wheel but use existing llist API

2017-02-12 Thread NeilBrown
On Mon, Feb 13 2017, Byungchul Park wrote: > Although llist provides proper APIs, they are not used. Make them used. > > Signed-off-by: Byungchul Park > --- > drivers/md/bcache/closure.c | 15 ++- > drivers/md/raid5.c | 4 +--- > drivers/vhost/scsi.c| 9 ++--- >

Re: [PATCH v2 3/6] drm: of: introduce drm_of_find_panel_or_bridge

2017-02-12 Thread Archit Taneja
On 02/10/2017 12:35 AM, Rob Herring wrote: Many drivers have a common pattern of searching the OF graph for either an attached panel or bridge and then finding the DRM struct for the panel or bridge. Also, most drivers need to handle deferred probing when the DRM device is not yet instantiated.

Re: linux-next: build failure after merge of the rcu tree

2017-02-12 Thread Paul E. McKenney
On Mon, Feb 13, 2017 at 01:21:33PM +1100, Stephen Rothwell wrote: > Hi Paul, > > On Thu, 19 Jan 2017 13:54:37 -0800 Paul McKenney wrote: > > > > On Wed, Jan 18, 2017 at 7:34 PM, Stephen Rothwell > > wrote: > > > Hi Paul, > > > > > > After merging the rcu tree, today's linux-next build (x86_64 a

Re: [lkp-robot] [platform/x86] b925ff7dcd: BUG:unable_to_handle_kernel

2017-02-12 Thread Jonathan Woithe
Michael On Mon, Feb 13, 2017 at 10:40:15AM +0800, kernel test robot wrote: > FYI, we noticed the following commit: > > commit: b925ff7dcd1fc45b86baaebd3442f8b484123716 ("platform/x86: > fujitsu-laptop: only register backlight device if FUJ02B1 is present") > url: > https://github.com/0day-ci/li

Re: [PATCH] sched/deadline: Remove redundant code replenishing runtime

2017-02-12 Thread Byungchul Park
On Mon, Feb 13, 2017 at 11:30:09AM +0900, Byungchul Park wrote: > On Fri, Feb 10, 2017 at 01:39:33PM +, Juri Lelli wrote: > > Hi, > > > > On 10/02/17 18:11, Byungchul Park wrote: > > > For a task passing its deadline while !rq, it will be replenished > > > in the following path because dl_se->

  1   2   3   4   >