[PATCH 1/2] gpiolib: Fix missing updates of bitmap index

2018-09-23 Thread Janusz Krzysztofik
In new code introduced by commit b17566a6b08b ("gpiolib: Implement fast processing path in get/set array"), bitmap index is not updated with next found zero bit position as it should while skipping over pins already processed via fast bitmap path, possibly resulting in an infinite loop. Fix it. S

[PATCH 2/2] gpiolib: Fix array members of same chip processed separately

2018-09-23 Thread Janusz Krzysztofik
New code introduced by commit bf9346f5d47b ("gpiolib: Identify arrays matching GPIO hardware") forcibly tries to find an array member which has its array index number equal to its hardware pin number and set up an array info for possible fast bitmap processing of all arrray pins belonging to that c

[PATCH 0/2] gpiolib: Fix issues introduced by fast bitmap processing path

2018-09-23 Thread Janusz Krzysztofik
While investigating possible reasons of GPIO fast bitmap processing related boot hang on Samsung Snow Chromebook, reported by Marek Szyprowski (thanks!), I've discovered one coding bug, addressed by PATCH 1/2 of this series, and one potential regression introduced at design level of the solution,

[PATCH 1/4] Drivers: hv: vmbus: Fix the descriptions of some function parameters

2018-09-23 Thread kys
From: Dexuan Cui No functional change. Added descriptions for some parameters. Fixed some typos. Removed some out-of-date comments. Signed-off-by: Dexuan Cui Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Stephen Hemminger Signed-off-by: K. Y.

[PATCH 3/4] Drivers: hv: kvp: Fix two "this statement may fall through" warnings

2018-09-23 Thread kys
From: Dexuan Cui We don't need to call process_ib_ipinfo() if message->kvp_hdr.operation is KVP_OP_GET_IP_INFO in kvp_send_key(), because here we just need to pass on the op code from the host to the userspace; when the userspace returns the info requested by the host, we pass the info on to the

[PATCH 4/4] Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask

2018-09-23 Thread kys
From: Dexuan Cui A cpumask structure on the stack can cause a warning with CONFIG_NR_CPUS=8192 (e.g. Ubuntu 16.04 and 18.04 use this): drivers/hv//channel_mgmt.c: In function ‘init_vp_index’: drivers/hv//channel_mgmt.c:702:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wf

[PATCH 2/4] Drivers: hv: kvp: Fix the indentation of some "break" statements

2018-09-23 Thread kys
From: Dexuan Cui No functional change. Signed-off-by: Dexuan Cui Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Stephen Hemminger Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_kvp.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/hv/hv_kvp.c b/drivers/hv

[PATCH 0/4] Drivers: hv: Miscellaneous fixes

2018-09-23 Thread kys
From: "K. Y. Srinivasan" Miscellaneous fixes. Dexuan Cui (4): Drivers: hv: vmbus: Fix the descriptions of some function parameters Drivers: hv: kvp: Fix the indentation of some "break" statements Drivers: hv: kvp: Fix two "this statement may fall through" warnings Drivers: hv: vmbus: Use

Re: [PATCH v3 1/4] staging/vc04_services: Use correct cache line size

2018-09-23 Thread Stefan Wahren
> Phil Elwell hat am 17. September 2018 um 10:22 > geschrieben: > > > Use the compatible string in the DTB to select the correct cache line > size for the SoC - 32 for BCM2835, and 64 for BCM2836 and BCM2837. > > Signed-off-by: Phil Elwell Tested-by: Stefan Wahren __

RE: [PATCH -next] x86/hyper-v: Remove unused including

2018-09-23 Thread Michael Kelley (EOSG)
From: YueHaibing Sent: Sunday, September 23, 2018 1:20 AM > Remove including that don't need it. > > Signed-off-by: YueHaibing > --- > arch/x86/hyperv/hv_apic.c | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Michael Kelley ___ devel mail

Re: [PATCH v2] staging: mt7621-mmc: Fix single statement macros in sd.c

2018-09-23 Thread Joe Perches
On Sun, 2018-09-23 at 15:08 +0530, Nishad Kamdar wrote: > This patch fixes a few single statement macros in sd.c. > It converts two macros to inline functions. It removes > five other macros and replaces their usages with calls to > the function being called in the macro definition. > Issue found b

[PATCH v2 5/5] staging: vc04_services: Remove spaces after '*'

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: "foo * bar" should be "foo* bar" in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vc04_serv

[PATCH v2 4/5] staging: vc04_services: Surround complex macros

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: Macros with complex values should be enclosed in parentheses in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --g

[PATCH v2 1/5] staging: vc04_services: Fix "space prohibited"

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: space prohibited after/before that open/closed parenthesis in the interface/vchi directory. Signed-off-by: Aymen Qader --- .../vc04_services/interface/vchi/vchi.h | 106 +- .../vc04_services/interface/vchi/vchi_cfg.h |

[PATCH v2 3/5] staging: vc04_services: Add spaces after commas

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: space required after that ',' in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vc04_servi

[PATCH v2 0/5] staging: vc04_services: Fix checkpatch.pl errors

2018-09-23 Thread Aymen Qader
This patchset fixes the following checkpatch.pl errors in the interface/vchi directory: ERROR: space prohibited after/before that open/closed parenthesis ERROR: code indent should use tabs where possible ERROR: space required after that ',' ERROR: Macros with complex values should be enclosed in p

[PATCH v2 2/5] staging: vc04_services: Use tabs instead of spaces

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: code indent should use tabs where possible in the interface/vchi directory Signed-off-by: Aymen Qader --- .../vc04_services/interface/vchi/vchi.h | 116 +- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/dri

[PATCH 0/5] staging: vc04_services: Fix checkpatch.pl errors

2018-09-23 Thread Aymen Qader
This patchset fixes the following checkpatch.pl errors in the interface/vchi directory: ERROR: space prohibited after/before that open/closed parenthesis ERROR: code indent should use tabs where possible ERROR: space required after that ',' ERROR: Macros with complex values should be enclosed in p

[PATCH 5/5] staging: vc04_services: Remove spaces after '*'

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: "foo * bar" should be "foo* bar" in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vc04_serv

[PATCH 2/5] staging: vc04_services: Use tabs instead of spaces

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: code indent should use tabs where possible in the interface/vchi directory Signed-off-by: Aymen Qader --- .../vc04_services/interface/vchi/vchi.h | 116 +- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/dri

[PATCH 3/5] staging: vc04_services: Add spaces after commas

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: space required after that ',' in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vc04_servi

[PATCH 4/5] staging: vc04_services: Surround complex macros

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: Macros with complex values should be enclosed in parentheses in the interface/vchi directory Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/interface/vchi/vchi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --g

[PATCH 1/5] staging: vc04_services: Fix "space prohibited"

2018-09-23 Thread Aymen Qader
This patch fixes the checkpatch.pl error: ERROR: space prohibited after/before that open/closed parenthesis in the interface/vchi directory. Signed-off-by: Aymen Qader --- .../vc04_services/interface/vchi/vchi.h | 106 +- .../vc04_services/interface/vchi/vchi_cfg.h |

Re: [PATCH v7 4/4] gpiolib: Implement fast processing path in get/set array

2018-09-23 Thread Janusz Krzysztofik
On Friday, September 21, 2018 4:14:06 PM CEST Marek Szyprowski wrote: > Hi Janusz, > > > On 2018-09-21 12:51, Janusz Krzysztofik wrote: > > 2018-09-21 10:18 GMT+02:00, Marek Szyprowski : > >> On 2018-09-20 18:21, Janusz Krzysztofik wrote: > >>> On Thursday, September 20, 2018 5:48:22 PM CEST Janu

[PATCH] staging: mt7621-pci: dt-bindings: add dt bindings for mt7621 pcie controller

2018-09-23 Thread Sergio Paracuellos
This commit adds pci device tree bindings for the Mt7621 pci controller. This is a temporal file included in staging driver directory and will be moved to its correct location when this driver gets out of staging. Cc: Rob Herring Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/

[PATCH v2] staging: mt7621-mmc: Fix single statement macros in sd.c

2018-09-23 Thread Nishad Kamdar
This patch fixes a few single statement macros in sd.c. It converts two macros to inline functions. It removes five other macros and replaces their usages with calls to the function being called in the macro definition. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- Changes in v2:

Re: [PATCH] staging: mt7621-mmc: Remove do {} while (0) loop for single statement macro

2018-09-23 Thread Nishad Kamdar
On Tue, Sep 18, 2018 at 01:27:11PM +0200, Greg Kroah-Hartman wrote: > On Sat, Sep 15, 2018 at 06:47:51PM +0530, Nishad Kamdar wrote: > > This patch removes do {} while (0) loop for single statement macros. > > Issue found by checkpatch. > > > > Signed-off-by: Nishad Kamdar > > --- > > drivers/st

[PATCH] staging: rtl8188eu, rtl8723bs: fix spelling mistake "evet" -> "event"

2018-09-23 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in RT_TRACE message Signed-off-by: Colin Ian King --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- drivers/staging/rtl8723bs/core/rtw_mlme.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188e

[PATCH -next] x86/hyper-v: Remove unused including

2018-09-23 Thread YueHaibing
Remove including that don't need it. Signed-off-by: YueHaibing --- arch/x86/hyperv/hv_apic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/hyperv/hv_apic.c b/arch/x86/hyperv/hv_apic.c index 2c43e30..8eb6fbee 100644 --- a/arch/x86/hyperv/hv_apic.c +++ b/arch/x86/hyperv/hv_apic.c @@