Re: [PATCH] dt-bindings: net: dsa: ksz9477: fix indentation for switch spi bindings

2018-12-24 Thread David Miller
From: Sergio Paracuellos Date: Sat, 22 Dec 2018 08:39:09 +0100 > Switch bindings for spi managed mode are using spaces instead of tabs. > Fix them to get a file with a proper kernel indentation style. > > Signed-off-by: Sergio Paracuellos This doesn't apply to any of my trees so I'm going to a

Re: [PATCH net-next] staging: octeon: fix build failure with XFRM enabled

2018-12-24 Thread David Miller
From: Florian Westphal Date: Fri, 21 Dec 2018 21:57:26 +0100 > skb->sp doesn't exist anymore in the next-next tree, so mips defconfig > no longer builds. Use helper instead to reset the secpath. > > Not even compile tested. > > Cc: Greg Kroah-Hartman > Reported-by: Guenter Roeck > Fixes: 416

[PATCH v2] staging: wlan-ng: prism2fw.c: Fix "Possible unnecessary 'out of memory' message" checkpatch.pl warning"

2018-12-24 Thread Prathamesh Deshpande
This patch removes unnecessary out of memory warning message from wlan-ng prism2fw.c file. Signed-off-by: Prathamesh Deshpande --- drivers/staging/wlan-ng/prism2fw.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wla

[PATCH] staging: wlan-ng: prism2fw.c: Fix "Possible unnecessary 'out of memory' message" checkpatch.pl warning"

2018-12-24 Thread Prathamesh Deshpande
This patch removes unnecessary out of memory warning message from wlan-ng prism2fw.c file. Signed-off-by: Prathamesh Deshpande --- drivers/staging/wlan-ng/prism2fw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c index

[PATCH] rts5208: Add a check on the status of ms_send_cmd

2018-12-24 Thread Aditya Pakki
In mspro_stop_seq_mode(), ms_send_cmd() may fail. The patch attempts to detect a failure before flushing the registers via rtsx_write_register. Signed-off-by: Aditya Pakki --- drivers/staging/rts5208/ms.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rts5

Re: [PATCH v1 1/2] binderfs: implement "max" mount option

2018-12-24 Thread Christian Brauner
On Mon, Dec 24, 2018 at 12:45:59PM +0100, Greg KH wrote: > On Mon, Dec 24, 2018 at 12:09:37PM +0100, Christian Brauner wrote: > > On Sun, Dec 23, 2018 at 03:35:49PM +0100, Christian Brauner wrote: > > > Since binderfs can be mounted by userns root in non-initial user > > > namespaces > > > some pr

Re: [PATCH v1 1/2] binderfs: implement "max" mount option

2018-12-24 Thread Greg KH
On Mon, Dec 24, 2018 at 12:09:37PM +0100, Christian Brauner wrote: > On Sun, Dec 23, 2018 at 03:35:49PM +0100, Christian Brauner wrote: > > Since binderfs can be mounted by userns root in non-initial user namespaces > > some precautions are in order. First, a way to set a maximum on the number > >

[PATCH v2 3/3] staging: mt7621-dts: add pci-phy related bindings to board's device tree

2018-12-24 Thread Sergio Paracuellos
New driver for pci phy has been added, as well as. pci driver has been changed to use kernel's generic PHY API. Add related PCI PHY bindings accordly. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-dts/mt7621.dtsi | 40 ++ 1 file changed, 40 insertions(+) d

[PATCH v2 1/3] staging: mt7621-pci-phy: add new driver for phy part of mt7621-pci

2018-12-24 Thread Sergio Paracuellos
Phy part of the pci for this SoC can be handled using a generic phy driver. This commit extracts phy part of the mt7621-pci into a new 'mt7621-pci-phy' driver. Signed-off-by: Sergio Paracuellos --- drivers/staging/Kconfig | 2 + drivers/staging/Makefile

[PATCH v2 0/3] staging: mt7621-pci: extract PCI PHY part into a new 'pci-mt7621-phy' driver

2018-12-24 Thread Sergio Paracuellos
There is a lot of code related with PHY part of the mt7621 PCI driver that can be extracted to a new PHY generic driver to do the same function. This patch series add a new 'mt7621-pci-phy' driver to handle those and updates the mt7621-pci driver code to use generic kernel's PHY API. This makes th

[PATCH v2 2/3] staging: mt7621-pci: handle phy using new generic phy 'pci-mt7621-phy' driver

2018-12-24 Thread Sergio Paracuellos
Phy part of this driver has been moved to a new 'pci-mt7621-phy' driver. Change code to use kernel's generic phy API removing also no more need moved code. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 250 +++- 1 file changed, 32 insertions(

Re: [PATCH v1 1/2] binderfs: implement "max" mount option

2018-12-24 Thread Christian Brauner
On Sun, Dec 23, 2018 at 03:35:49PM +0100, Christian Brauner wrote: > Since binderfs can be mounted by userns root in non-initial user namespaces > some precautions are in order. First, a way to set a maximum on the number > of binder devices that can be allocated per binderfs instance and second, a

[PATCH 0/3] staging: mt7621-pci: extract PCI PHY part into a new 'pci-mt7621-phy' driver

2018-12-24 Thread Sergio Paracuellos
There is a lot of code related with PHY part of the mt7621 PCI driver that can be extracted to a new PHY generic driver to do the same function. This patch series add a new 'mt7621-pci-phy' driver to handle those and updates the mt7621-pci driver code to use generic kernel's PHY API. This makes th

[PATCH 3/3] staging: mt7621-dts: add pci-phy related bindings to board's device tree

2018-12-24 Thread Sergio Paracuellos
New driver for pci phy has been added, as well as. pci driver has been changed to use kernel's generic PHY API. Add related PCI PHY bindings accordly. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-dts/mt7621.dtsi | 40 ++ 1 file changed, 40 insertions(+) d

[PATCH 2/3] staging: mt7621-pci: handle phy using new generic phy 'pci-mt7621-phy' driver

2018-12-24 Thread Sergio Paracuellos
Phy part of this driver has been moved to a new 'pci-mt7621-phy' driver. Change code to use kernel's generic phy API removing also no more need moved code. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 250 +++- 1 file changed, 32 insertions(

[PATCH 1/3] staging: mt7621-pci-phy: add new driver for phy part of mt7621-pci

2018-12-24 Thread Sergio Paracuellos
Phy part of the pci for this SoC can be handled using a generic phy driver. This commit extracts phy part of the mt7621-pci into a new 'mt7621-pci-phy' driver. Signed-off-by: Sergio Paracuellos --- drivers/staging/Kconfig | 2 + drivers/staging/Makefile

Re: [PATCH] Staging: iio: ad7192: replaced bool in struct

2018-12-24 Thread Himanshu Jha
On Fri, Dec 21, 2018 at 03:26:26PM -0800, Amir Mahdi Ghorbanian wrote: > Replaced bool in struct with unsigned int bitfield to conserve space and > more clearly define size of varibales > > Signed-off-by: Amir Mahdi Ghorbanian > --- There was some discussion on this at Outreachy list: https://gr

Re: [PATCH] media: sunxi: cedrus: Fix missing error message context

2018-12-24 Thread Paul Kocialkowski
Hi, On Fri, 2018-12-21 at 17:56 +0100, meg...@megous.com wrote: > From: Ondrej Jirman > > When cedrus_hw_probe is called, v4l2_dev is not yet initialized. > Use dev_err instead. Good catch and thanks for the patch! Acked-by: Paul Kocialkowski Cheers, Paul > Signed-off-by: Ondrej Jirman >

[PATCH] staging: android: ion: move map_kernel to ion_dma_buf_kmap

2018-12-24 Thread Qing Xia
Now, as Google's user guide, if userspace need clean ION buffer's cache, they should call ioctl(fd, DMA_BUF_IOCTL_SYNC, sync). Then we found that ion_dma_buf_begin_cpu_access/ion_dma_buf_end_cpu_access will do ION buffer's map_kernel, it's not necessary. And if usersapce only need clean cache, they