Re: [PATCH] um: use KERN_CONT in stack dump

2017-03-12 Thread Richard Weinberger
Vegard, Am 12.03.2017 um 10:38 schrieb Vegard Nossum: > Without KERN_CONT, the symbol will appear on a new line, making stack > traces completely unreadable: > > Call Trace: > [<6008e891>] ? > printk+0x0/0x94 > [<6001cce6>] > show_stack+0xfe/0x15b > [<600666ec>] ? >

Re: [PATCH] um: use KERN_CONT in stack dump

2017-03-12 Thread Vegard Nossum
On 12/03/2017 10:45, Richard Weinberger wrote: Am 12.03.2017 um 10:38 schrieb Vegard Nossum: Without KERN_CONT, the symbol will appear on a new line, making stack traces completely unreadable: [snip] I think it is better to fix the root of the problem by using a single printk. i.e. diff

[PATCH v3 RFC] mm/vmscan: more restrictive condition for retry of shrink_zones

2017-03-12 Thread Yisheng Xie
From: Yisheng Xie When we enter do_try_to_free_pages, the may_thrash is always clear, and it will retry shrink zones to tap cgroup's reserves memory by setting may_thrash when the former shrink_zones reclaim nothing. However, when memcg is disabled or on legacy

Re: [PATCH] locking/hung_task: Defer showing held locks

2017-03-12 Thread Vegard Nossum
On 12/03/2017 06:33, Tetsuo Handa wrote: When I was running my testcase which may block hundreds of threads on fs locks, I got lockup due to output from debug_show_all_locks() added by commit b2d4c2edb2e4f89a ("locking/hung_task: Show all locks"). For example, if 1000 threads were blocked in

Re: [PATCH v3 3/3] iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code

2017-03-12 Thread Geert Uytterhoeven
On Sun, Mar 12, 2017 at 6:38 AM, Magnus Damm wrote: > From: Magnus Damm > > Support the r8a7796 IPMMU by sharing feature flags between > r8a7795 and r8a7796. Also update IOMMU_OF_DECLARE to hook > up the updated compat string. > > Signed-off-by:

[PATCH] um: Fix _print_addr()

2017-03-12 Thread Richard Weinberger
Recent changes to printk() broke UML's stack trace output. Kill the root of the problem by using a single printk() statement. Fixes: 4bcc595ccd80decb ("printk: reinstate KERN_CONT for printing continuation lines") Cc: sta...@vger.kernel.org Cc: Vegard Nossum Tested-by:

[GIT pull] irq fixes for 4.11

2017-03-12 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus This update contains: - A workaround for a GIC erratum - A missing stub function for CONFIG_IRQDOMAIN=n - Fixes for a couple of type

[tip:x86/urgent] x86/tlb: Fix tlb flushing when lguest clears PGE

2017-03-12 Thread tip-bot for Daniel Borkmann
Commit-ID: 2c4ea6e28dbf15ab93632c5c189f3948366b8885 Gitweb: http://git.kernel.org/tip/2c4ea6e28dbf15ab93632c5c189f3948366b8885 Author: Daniel Borkmann AuthorDate: Sat, 11 Mar 2017 01:31:19 +0100 Committer: Thomas Gleixner CommitDate: Sun, 12

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-12 Thread Krzysztof Kozlowski
On Sun, Mar 12, 2017 at 11:18 AM, Vivek Gautam wrote: > Hi Kishon, > > > On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 09 March 2017 05:03 PM, Jaehoon Chung wrote: >>> Make the "samsung" directory and move the

[PATCH] um: use KERN_CONT in stack dump

2017-03-12 Thread Vegard Nossum
Without KERN_CONT, the symbol will appear on a new line, making stack traces completely unreadable: Call Trace: [<6008e891>] ? printk+0x0/0x94 [<6001cce6>] show_stack+0xfe/0x15b [<600666ec>] ? dump_stack_print_info+0xe1/0xea [<6008e891>] ? printk+0x0/0x94

Re: [PATCH v2 RFC] mm/vmscan: more restrictive condition for retry in do_try_to_free_pages

2017-03-12 Thread Yisheng Xie
hi, Shakeel, On 03/12/2017 01:52 AM, Shakeel Butt wrote: > On Sat, Mar 11, 2017 at 5:51 AM, Yisheng Xie wrote: >> From: Yisheng Xie >> >> When we enter do_try_to_free_pages, the may_thrash is always clear, and >> it will retry shrink zones to tap

[PATCH] KVM: nVMX: don't reset kvm mmu twice

2017-03-12 Thread Wanpeng Li
From: Wanpeng Li kvm mmu is reset once successfully loading CR3 as part of emulating vmentry in nested_vmx_load_cr3(). We should not reset kvm mmu twice. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li

Re: kvm: WARNING in mmu_spte_clear_track_bits

2017-03-12 Thread Dmitry Vyukov
On Tue, Jan 17, 2017 at 5:00 PM, Dmitry Vyukov wrote: > On Tue, Jan 17, 2017 at 4:20 PM, Paolo Bonzini wrote: >> >> >> On 13/01/2017 12:15, Dmitry Vyukov wrote: >>> >>> I've commented out the WARNING for now, but I am seeing lots of >>> use-after-free's

[scsi] scsi: ufs: don't check unsigned type for a negative value

2017-03-12 Thread Tomas Winkler
Fix compilation warning drivers/scsi/ufs/ufshcd.c:7645:13: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if ((value < UFS_PM_LVL_0) || (value >= UFS_PM_LVL_MAX)) Signed-off-by: Tomas Winkler --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file

[GIT pull] x86 fixes for 4.11

2017-03-12 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus This update contains: - A fix for the kexec/purgatory regression which was introduced in the merge window via an innocent sparse fix. We

[PATCH] kbuild: strip the last slash in KBUILD_EXTMOD

2017-03-12 Thread Wei Yang
Current kbuild will build the target again if we run "make M=dir" and "make M=dir/" by turns, since if_changed will see the prerequisite is changed. The behavior may confuse the user a little, since actually we are building the same target and no difference. According to current implementation in

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-12 Thread Benjamin Gaignard
2017-03-05 13:04 GMT+01:00 Jonathan Cameron : > On 01/03/17 14:45, Benjamin Gaignard wrote: >> One of the features of STM32 trigger hardware block is a counter >> that can counts up/down depending of the levels and edges of the >> selected external pins. >> >> This patch allow to

[PATCH v2 17/23] MAINTAINERS: Add file patterns for pps device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Rodolfo Giometti Cc: Greg Kroah-Hartman Cc: linux...@ml.enneenne.com ---

[PATCH v2 23/23] MAINTAINERS: Add file patterns for xillybus device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Eli Billauer Cc: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman

[PATCH v2 09/23] MAINTAINERS: Add file patterns for infiniband device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Doug Ledford Cc: Sean Hefty Cc: Hal Rosenstock Cc:

[PATCH v2 18/23] MAINTAINERS: Add file patterns for serio device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Dmitry Torokhov Cc: Dmitry Torokhov Cc:

Re: [PATCH v3] staging: android: Replace strcpy with strlcpy

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 03:32:44AM +0530, simran singhal wrote: > Replace strcpy with strlcpy as strcpy does not check for buffer > overflow. Can there be a buffer overflow here? If not, then strcpy is just fine to use. Do you see a potential code path here that actually is a problem using

Re: [PATCH] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 06:12:31PM +0530, simran singhal wrote: > Convert macro GAT_CONFIG to static inline function as static inline > functions are preferred over macros. This change is possible since the > arguments at all call sites have the same type. > > This was done using Coccinelle: > >

Re: [PATCH 1/2] dt-bindings: mfd: Fix path to atmel/hlcdc-dc.txt

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 03:41:46PM +0100, Richard Genoud wrote: > Atmel hlcdc-dc documentation is actually in > Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt > > Signed-off-by: Richard Genoud > --- > Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt

Re: [v2 PATCH 1/3] mmc: sdhci-cadence: Fix writing PHY delay

2017-03-12 Thread Masahiro Yamada
2017-03-06 22:38 GMT+09:00 Piotr Sroka : > Add polling for ACK to be sure that data are written to PHY register. > > Signed-off-by: Piotr Sroka > --- > Changes for v2: > - fix indent > --- This one looks OK. Reviewed-by: Masahiro Yamada

[PATCH v3] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread simran singhal
Convert macro GAT_CONFIG to static inline function as static inline functions are preferred over macros. This change is possible since the arguments at all call sites have the same type. The uses were updated with Coccinelle: @r1@ expression dev,reg,chan,src; @@ -GAT_CONFIG(chan, src)

[PATCH v2] staging: media: Remove unused function atomisp_set_stop_timeout()

2017-03-12 Thread simran singhal
The function atomisp_set_stop_timeout on being called, simply returns back. The function hasn't been mentioned in the TODO and doesn't have FIXME code around. Hence, atomisp_set_stop_timeout and its calls have been removed. This was done using Coccinelle. @@ identifier f; @@ void f(...) {

Linux 4.9.14

2017-03-12 Thread Greg KH
I'm announcing the release of the 4.9.14 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: [v6 1/8] bus: fsl-mc: dpio: add DPIO driver overview document

2017-03-12 Thread Greg KH
On Wed, Mar 08, 2017 at 04:54:43PM -0500, Roy Pledge wrote: > From: Stuart Yoder > > add document describing the dpio driver and it's role, components > and major interfaces > > Signed-off-by: Stuart Yoder You need to also sign off on patches you

[PATCH] staging: iio: ade7753: replace mlock with driver private lock

2017-03-12 Thread simran singhal
The IIO subsystem is redefining iio_dev->mlock to be used by the IIO core only for protecting device operating mode changes. ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. In this driver, mlock was being used to protect hardware state changes. Replace it with a lock in the devices

[PATCH 3/3] staging: dngc: ch->ch_bd is already assigned to bd variable

2017-03-12 Thread Daeseok Youn
The bd variable in dgnc_tty_digiseta() is assigned with ch->ch_bd but it is not used in this function except checking NULL. The ch->ch_bd could be replaced with bd variable in dgnc_tty_digiseta() Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1

drivers/gpu/drm/tinydrm/mipi-dbi.c:657:2-3: Unneeded semicolon

2017-03-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 106e4da60209b508894956b6adf4688f84c1766d commit: 1f47e6cbf58d10392a2158b0e33ef72ad681e40f drm/tinydrm: Add support for Multi-Inno MI0283QT display date: 3 weeks ago coccinelle warnings: (new ones

[PATCH 2/3] staging: dgnc: remove useless switch-case statements

2017-03-12 Thread Daeseok Youn
The dgnc_tty_send_break() has a switch-case condition for msec. It is no use except case -1. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c

[PATCH] drm/tinydrm: fix semicolon.cocci warnings

2017-03-12 Thread kbuild test robot
drivers/gpu/drm/tinydrm/mipi-dbi.c:657:2-3: Unneeded semicolon drivers/gpu/drm/tinydrm/mipi-dbi.c:593:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: Fengguang Wu --- mipi-dbi.c |4 ++-- 1

[PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl

2017-03-12 Thread Andrii
Signed-off-by: Andrii Vladyka diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c index 255c30e..b324429 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ap.c +++ b/drivers/staging/rtl8188eu/core/rtw_ap.c @@ -30,7 +30,6 @@ void

Re: [PATCH v4 0/5] ARM: K2G: Add support for TI-SCI Generic PM Domains

2017-03-12 Thread Rafael J. Wysocki
On Tuesday, March 07, 2017 04:22:29 AM Dave Gerlach wrote: > Hi, > This is v4 of the series to add support for TI-SCI Generic PM Domains. > Previous versions can be found here: > > v3: https://www.spinics.net/lists/kernel/msg2413975.html > v2: https://www.spinics.net/lists/kernel/msg2364612.html

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-12 Thread Vivek Gautam
On Sun, Mar 12, 2017 at 2:53 PM, Krzysztof Kozlowski wrote: > On Sun, Mar 12, 2017 at 11:18 AM, Vivek Gautam > wrote: >> Hi Kishon, >> >> >> On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 09

[PATCH 1/2] ARM: dts: sun4i: Add CAN node and can0_pins_a pinctrl settings

2017-03-12 Thread Patrick Menschel
The A10 SoC has an on-board CAN controller. This patch adds the device node and the corresponding pinctrl settings for pins PH20 and PH21. This patch is adapted from the description in Documentation/devicetree/bindings/net/can/sun4i_can.txt Signed-off-by: Patrick Menschel

[PATCH 2/2] ARM: dts: sun7i: Add CAN node and can0_pins_a pinctrl settings

2017-03-12 Thread Patrick Menschel
The A20 SoC has an on-board CAN controller. This patch adds the device node and the corresponding pinctrl settings for pins PH20 and PH21. The CAN controller is inherited from the A10 SoC and uses the same driver. This patch is adapted from the description in

[PATCH 0/2] ARM: dts: sunxi: Add CAN node and can0_pins_a pinctrl setting

2017-03-12 Thread Patrick Menschel
The Allwinner A10/A20 SoCs have an on-board CAN (Controller Area Network) controller. This patch adds the CAN core to the SoC's include files, sun4i-a10.dtsi and sun7i-a20.dtsi. On linux-can mailing list was a discussion about updating the device tree bindings https://lkml.org/lkml/2015/9/17/220

Re: [PATCH v2 1/5] staging: rtl8192e: Fix coding style issues

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 12:20:44AM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > Fix coding style issues and comments in rtl_core.c What issues would that be? Please always be specific and tell us what you do. Also always test-build your patches, otherwise

Re: [PATCH 01/10] ALSA SoC MAX98927 driver - Initial release

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 11:52:39PM +0900, Ryan Lee wrote: > From: Ryan Lee > > Signed-off-by: Ryan Lee > --- > > Initial release of ALSA SoC MAX98927 driver. > > .../devicetree/bindings/sound/max98927.txt | 32 + In

Re: [PATCH 2/2] drm/panel: simple: Add support for Winstar WF35LTIACD

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 04:21:56PM +0100, Richard Genoud wrote: > This adds support for the Winstar Display Co. WF35LTIACD 3.5" QVGA TFT > LCD panel, which can be supported by the simple panel driver. > > Signed-off-by: Richard Genoud > --- >

Re: [PATCH 2/2] staging: dvb-frontends: removed code in comments.

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 09:16:32PM +0530, Arushi Singhal wrote: > Commenting Code Is a Bad Idea. No, "Commenting code is a good idea". I think you mean "commenting out code is a bad idea", correct? And no need for putting the sentance in all caps. thanks, greg k-h

Re: [PATCH] staging: atomisp: clean up return logic, remove redunant code

2017-03-12 Thread Julia Lawall
On Sun, 12 Mar 2017, walter harms wrote: > > > Am 11.03.2017 20:32, schrieb Colin King: > > From: Colin Ian King > > > > There is no need to check if ret is non-zero, remove this > > redundant check and just return the error status from the call > > to

[PATCH v2] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread simran singhal
Convert macro GAT_CONFIG to static inline function as static inline functions are preferred over macros. This change is possible since the arguments at all call sites have the same type. This was done using Coccinelle: @r@ expression e; @@ - #define GAT_CONFIG(chan, src) e + static inline

Re: [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 05:30:09PM +0200, Andrii wrote: > Fixed three code style warnings (multiple line dereference) reported > by checkpatch.pl script. > > Signed-off-by: Andrii Vladyka > diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c >

Re: [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-12 Thread Andrii
On Sun, 12 Mar 2017 16:42:07 +0100 Greg KH wrote: > On Sun, Mar 12, 2017 at 05:30:09PM +0200, Andrii wrote: > > Fixed three code style warnings (multiple line dereference) reported > > by checkpatch.pl script. > > > > Signed-off-by: Andrii Vladyka >

[PATCH] net: usb: asix88179_178a: use new api ethtool_{get|set}_link_ksettings

2017-03-12 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/usb/ax88179_178a.c | 14

Re: [PATCH v4 3/5] dt-bindings: Add TI SCI PM Domains

2017-03-12 Thread santosh.shilim...@oracle.com
On 3/7/17 2:22 AM, Dave Gerlach wrote: Add a generic power domain implementation, TI SCI PM Domains, that will hook into the genpd framework and allow the TI SCI protocol to control device power states. Also, provide macros representing each device index as understood by TI SCI to be used in

[PATCH 2/4] Documentation: input: fix path to input code defnitions

2017-03-12 Thread Martin Kepplinger
The UAPI header split failed to update the documentation in input-programming.txt; fix things accordingly. Signed-off-by: Martin Kepplinger --- Documentation/input/input-programming.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 4/4] Documentation: input: fix path to struct ff_effect's definition

2017-03-12 Thread Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger --- Documentation/input/ff.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/input/ff.txt

[PATCH 1/4] Documentation: hid: fix path to input bus definitions

2017-03-12 Thread Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger --- Documentation/hid/hidraw.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/hid/hidraw.txt

[PATCH 3/4] Documentation: admin-guide: fix path to input key definitions

2017-03-12 Thread Martin Kepplinger
The UAPI header split failed to update the documentation here; fix things accordingly. Signed-off-by: Martin Kepplinger --- Documentation/admin-guide/sysrq.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/sysrq.rst

Re: [PATCH] kbuild: strip the last slash in KBUILD_EXTMOD

2017-03-12 Thread Wei Yang
On Sat, Mar 11, 2017 at 10:34:50PM +0900, Masahiro Yamada wrote: >Hi Wei, > > >2017-02-23 0:08 GMT+09:00 Wei Yang : >> Current kbuild will build the target again if we run "make M=dir" and "make >> M=dir/" by turns, since if_changed will see the prerequisite is changed.

Re: [BUG] 4.11.0-rc1 panic on shutdown X61s

2017-03-12 Thread Borislav Petkov
On Sat, Mar 11, 2017 at 09:37:23PM -0800, l...@pengaru.com wrote: > Hello list, > > Here's a photo of the panic, on imgur to be kind to vger: > http://imgur.com/a/wZI32 > > I'm out on a sailboat so can't really do much, but had a chance with internet So you didn't bring another box with you on

[PATCH v2 01/23] MAINTAINERS: Add file patterns for auxdisplay device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Miguel Ojeda Sandonis Cc: Greg Kroah-Hartman --- Please apply

[PATCH v2 05/23] MAINTAINERS: Add file patterns for dove device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Jason Cooper Cc: Andrew Lunn Cc: Sebastian Hesselbarth

[PATCH v2 00/23] MAINTAINERS: Add file patterns for subsystem device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Hi all, Submitters of device tree binding documentation regularly forget to CC the subsystem maintainer due to missing entries in MAINTAINERS for Documentation/devicetree/bindings/. This patch series is an attempt to add (most) missing entries. Maintainers: Please apply the appropriate

[PATCH v2 20/23] MAINTAINERS: Add file patterns for tpm device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Jarkko Sakkinen Cc: Peter Huewe Cc: Marcel Selhorst

[PATCH v2 14/23] MAINTAINERS: Add file patterns for nios2 device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Ley Foon Tan Cc: nios2-...@lists.rocketboards.org --- Please apply this patch directly if you want to be

Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector

2017-03-12 Thread Boris Petkov
On March 9, 2017 11:08:17 AM GMT+01:00, Borislav Petkov wrote: >From: Borislav Petkov ... >diff --git a/arch/x86/ras/Kconfig b/arch/x86/ras/Kconfig >index 0bc60a308730..2a2d89d39af6 100644 >--- a/arch/x86/ras/Kconfig >+++ b/arch/x86/ras/Kconfig >@@ -7,3 +7,17 @@

Re: [BUG] 4.11.0-rc1 panic on shutdown X61s

2017-03-12 Thread Andy Shevchenko
On Sun, Mar 12, 2017 at 2:26 PM, Borislav Petkov wrote: > On Sun, Mar 12, 2017 at 12:57:03PM +0100, Borislav Petkov wrote: >> On Sat, Mar 11, 2017 at 09:37:23PM -0800, l...@pengaru.com wrote: >> > Hello list, >> > >> > Here's a photo of the panic, on imgur to be kind to vger: >> >

Re: [PATCH v1] staging: media: Remove unused function atomisp_set_stop_timeout()

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 07:05:05PM +0530, simran singhal wrote: > The function atomisp_set_stop_timeout on being called, simply returns > back. The function hasn't been mentioned in the TODO and doesn't have > FIXME code around. Hence, atomisp_set_stop_timeout and its calls have been > removed. >

Re: [PATCH 1/2] devicetree: add vendor prefix for Winstar Display Corp.

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 04:21:55PM +0100, Richard Genoud wrote: > Winstar Display Corp. is specialized in LCD displays for embedded > products. > cf: http://www.winstar.com.tw > > Signed-off-by: Richard Genoud > --- >

Re: [PATCH v3] staging: android: Replace strcpy with strlcpy

2017-03-12 Thread SIMRAN SINGHAL
On Sun, Mar 12, 2017 at 7:04 PM, Greg KH wrote: > On Sun, Mar 12, 2017 at 03:32:44AM +0530, simran singhal wrote: >> Replace strcpy with strlcpy as strcpy does not check for buffer >> overflow. > > Can there be a buffer overflow here? If not, then strcpy is just fine

Re: [PATCH] ASoC: cs35l35: trivial fix to indentation

2017-03-12 Thread walter harms
Am 11.03.2017 20:19, schrieb Colin King: > From: Colin Ian King > > Remove extraneous tab to correct the nesting level indentation > > Detected by CoverityScan, CID#1416584 ("Nesting level does > not match indentation") > > Signed-off-by: Colin Ian King

Re: [PATCH] staging: atomisp: clean up return logic, remove redunant code

2017-03-12 Thread walter harms
Am 11.03.2017 20:32, schrieb Colin King: > From: Colin Ian King > > There is no need to check if ret is non-zero, remove this > redundant check and just return the error status from the call > to mt9m114_write_reg_array. > > Detected by CoverityScan, CID#1416577

Re: [PATCH v3] staging: android: Replace strcpy with strlcpy

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 08:25:28PM +0530, SIMRAN SINGHAL wrote: > On Sun, Mar 12, 2017 at 7:04 PM, Greg KH wrote: > > On Sun, Mar 12, 2017 at 03:32:44AM +0530, simran singhal wrote: > >> Replace strcpy with strlcpy as strcpy does not check for buffer > >> overflow. > >

Can We Talk is Urgent

2017-03-12 Thread Mrs Susan B

[PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-12 Thread Andrii
Fixed three code style warnings (multiple line dereference) reported by checkpatch.pl script. Signed-off-by: Andrii Vladyka diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 6134eba..a050748 100644 ---

Re: [PATCH] morse code panics for 2.5.65

2017-03-12 Thread Tomas Szepe
Hello Oleksij, > can you please give GPL permission for this code. Fine by me. -- Tomas Szepe

Re: [PATCH v2 06/23] MAINTAINERS: Add file patterns for dsa device tree bindings

2017-03-12 Thread Andrew Lunn
On Sun, Mar 12, 2017 at 02:16:50PM +0100, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > diff --git a/MAINTAINERS b/MAINTAINERS > index ce461fefec6c9463..c0822d4fa5c3ade5 100644 > --- a/MAINTAINERS >

Re: [PATCH v3] statx: optimize copy of struct statx to userspace

2017-03-12 Thread David Howells
Eric Biggers wrote: > +static int cp_statx(const struct kstat *stat, struct statx __user *buffer) > ... > + struct statx tmp; This function needs to be "noinline" as tmp is big. > - return statx_set_result(, buffer); > + > + return cp_statx(, buffer); Can you

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-12 Thread Vivek Gautam
Hi Kishon, On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 09 March 2017 05:03 PM, Jaehoon Chung wrote: >> Make the "samsung" directory and move the Samsung specific files to >> there for maintaining the files relevant to Samsung. > > The

Linux 4.4.53

2017-03-12 Thread Greg KH
I'm announcing the release of the 4.4.53 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

[PATCH v2 16/23] MAINTAINERS: Add file patterns for powerpc device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman

[PATCH v2 15/23] MAINTAINERS: Add file patterns for perf device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Will Deacon Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org --- Please

[PATCH v2 21/23] MAINTAINERS: Add file patterns for w1 device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Evgeniy Polyakov Cc: Greg Kroah-Hartman --- Please apply this patch directly

[PATCH v2 19/23] MAINTAINERS: Add file patterns for ti device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Acked-by: Santosh Shilimkar Cc: Santosh Shilimkar Cc: linux-kernel@vger.kernel.org Cc:

[PATCH v2 10/23] MAINTAINERS: Add file patterns for ipmi device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Corey Minyard Cc: openipmi-develo...@lists.sourceforge.net --- Please apply this patch directly if you want

[PATCH v2 02/23] MAINTAINERS: Add file patterns for clocksource device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Daniel Lezcano Cc: Thomas Gleixner --- Please apply this patch directly if

[PATCH v2 11/23] MAINTAINERS: Add file patterns for mailbox device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Jassi Brar --- Please apply this patch directly if you want to be involved in device tree binding

[PATCH v2 06/23] MAINTAINERS: Add file patterns for dsa device tree bindings

2017-03-12 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven Cc: Andrew Lunn Cc: Vivien Didelot Cc: net...@vger.kernel.org --- Please

Re: [PATCH] staging: lustre: replace simple_strtoul with kstrtoint

2017-03-12 Thread Greg Kroah-Hartman
On Thu, Mar 09, 2017 at 03:53:00PM +0100, Marcin Ciupak wrote: > Replace simple_strtoul with kstrtoint. Why? > simple_strtoul is marked for obsoletion. > > Signed-off-by: Marcin Ciupak > --- > drivers/staging/lustre/lustre/obdclass/obd_mount.c | 20

Re: [PATCH] staging: lustre fix constant comparision style issue in lu_object.h

2017-03-12 Thread Greg KH
On Sat, Mar 11, 2017 at 01:07:40PM +, Craig Inches wrote: > This patch resolves the "Comparisons should place the constant on > the right side of the test" found with checkpatch tool. Both are constants, I think checkpatch is the thing that is wrong here, don't you agree? thanks, greg k-h

Re: [PATCH v1 1/7] staging: gc2235: Remove unnecessary typecast of c90 int constant

2017-03-12 Thread Greg KH
On Fri, Mar 10, 2017 at 04:20:23AM +0530, simran singhal wrote: > This patch removes unnecessary typecast of c90 int constant. > > WARNING: Unnecessary typecast of c90 int constant > > Signed-off-by: simran singhal > --- > drivers/staging/media/atomisp/i2c/gc2235.c |

Re: [PATCH] Add blank line after function/struct/union/enum declarations

2017-03-12 Thread Greg Kroah-Hartman
On Sat, Mar 11, 2017 at 12:12:43AM +0530, Arushi Singhal wrote: > This patch fixes the warnings reported by checkpatch.pl > for please use a blank line after function/struct/union/enum > declarations. > > Signed-off-by: Arushi Singhal You didn't put what

Re: [PATCH] staging: speakup: Comparison to NULL could be written

2017-03-12 Thread Greg Kroah-Hartman
On Sat, Mar 11, 2017 at 12:29:09AM +0530, Arushi Singhal wrote: > Fixed coding style for null comparisons in speakup driver to be more > consistant with the rest of the kernel coding style. > > Signed-off-by: Arushi Singhal > --- >

Re: [PATCH v3] tpm: do not suspend/resume if power stays on

2017-03-12 Thread Rob Herring
On Fri, Mar 03, 2017 at 05:09:59PM +0100, Enric Balletbo i Serra wrote: > From: Sonny Rao > > The suspend/resume behavior of the TPM can be controlled by setting > "powered-while-suspended" in the DTS. This is useful for the cases > when hardware does not power-off the

Re: [PATCH 1/1] HID: clamp input to logical range if no null state

2017-03-12 Thread Tomasz Kramkowski
On Thu, Mar 09, 2017 at 09:16:06AM +0100, Benjamin Tissoires wrote: > We have a "clamp()" function in the kernel that does the job directly > and which is more readable. Also, this makes testing the out of range > values twice. > > How about: > > diff --git a/drivers/hid/hid-input.c

[PATCH 1/3] staging: dgnc: ch->ch_bd is already assigned to bd variable

2017-03-12 Thread Daeseok Youn
The bd variable in dgnc_tty_send_break() is assigned with ch->ch_bd but it is not used in this function except checking NULL. The ch->ch_bd could be replaced with bd variable in dgnc_tty_send_break() Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 2 +-

[PATCH v1] x86/platform/intel-mid: Correct MSI for watchdog device

2017-03-12 Thread Andy Shevchenko
The interrupt line used for watchdog is 12 according to the official Intel Edison BSP code. And indeed after fixing it we start getting an interrupt and thus: [ 191.699951] Kernel panic - not syncing: Kernel Watchdog Fixes: 78a3bb9e408b ("x86: intel-mid: add watchdog platform code for

Re: [Outreachy kernel] [PATCH v2] staging: comedi: amplc_pci224: Convert macro GAT_CONFIG to static inline function

2017-03-12 Thread Julia Lawall
On Sun, 12 Mar 2017, simran singhal wrote: > Convert macro GAT_CONFIG to static inline function as static inline > functions are preferred over macros. This change is possible since the > arguments at all call sites have the same type. > > This was done using Coccinelle: > > @r@ > expression e;

Re: [PATCH v1] staging: media: Remove unused function atomisp_set_stop_timeout()

2017-03-12 Thread SIMRAN SINGHAL
On Sun, Mar 12, 2017 at 7:24 PM, Greg KH wrote: > On Fri, Mar 10, 2017 at 07:05:05PM +0530, simran singhal wrote: >> The function atomisp_set_stop_timeout on being called, simply returns >> back. The function hasn't been mentioned in the TODO and doesn't have >> FIXME

Re: [PATCH] staging: lustre: replace simple_strtoul with kstrtoint

2017-03-12 Thread Marcin Ciupak
On Sun, Mar 12, 2017 at 02:36:47PM +0100, Greg Kroah-Hartman wrote: > On Thu, Mar 09, 2017 at 03:53:00PM +0100, Marcin Ciupak wrote: > > Replace simple_strtoul with kstrtoint. > > Why? Because > > simple_strtoul is marked for obsoletion. as reported by checkpatch.pl. > > > > Signed-off-by:

Re: [Outreachy kernel] [PATCH] staging: adis16060_core: Use private driver lock instead of mlock

2017-03-12 Thread Alison Schofield
On Sun, Mar 12, 2017 at 06:40:52PM +0530, simran singhal wrote: > The IIO subsystem is redefining iio_dev->mlock to be used by > the IIO core only for protecting device operating mode changes. > ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes. > > In this driver, mlock was being used

Re: [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-12 Thread Greg KH
On Sun, Mar 12, 2017 at 05:47:33PM +0200, Andrii wrote: > On Sun, 12 Mar 2017 16:42:07 +0100 > Greg KH wrote: > > > On Sun, Mar 12, 2017 at 05:30:09PM +0200, Andrii wrote: > > > Fixed three code style warnings (multiple line dereference) reported > > > by

Re: [PATCH 1/3] ata: add Palmchip BK3710 PATA controller driver

2017-03-12 Thread Sergei Shtylyov
Hello! On 03/09/2017 04:01 PM, Bartlomiej Zolnierkiewicz wrote: Add Palmchip BK3710 PATA controller driver. Signed-off-by: Bartlomiej Zolnierkiewicz [...] diff --git a/drivers/ata/pata_bk3710.c b/drivers/ata/pata_bk3710.c new file mode 100644 index

Re: [PATCH 0/3] staging: sm750fb: multiple checkpatch issues

2017-03-12 Thread Greg KH
On Sat, Mar 11, 2017 at 08:54:07AM +0530, Arushi Singhal wrote: > Improve readability by fixing multiple checkpatch.pl > issues in sm750fb driver. > > Arushi Singhal (3): > staging: sm750fb: function prototype argument should have an > identifier name > staging: sm750fb: fixes add blank

  1   2   3   4   5   6   7   >