Re: [PATCH] staging: mt7621-pinctrl: Replaces "unsigned" with "unsigned int", fixes mixed indentation, and puts spaces after commas.

2018-06-30 Thread Dan Carpenter
On Sat, Jun 30, 2018 at 01:17:29PM -0400, Peter Vernia wrote: > Signed-off-by: Peter Vernia The subject is over 72 characters or whatever the limit is and there isn't a commit message. regards, dan carpenter ___ devel mailing list

[PATCH 3/3] staging: rtl8188eu: fix block comments - coding style

2018-06-30 Thread Michael Straube
Write multiple single line comments as block comments to follow kernel coding style and improve readability. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_com.c | 50 ++--- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git

[PATCH 2/3] staging: rtl8188eu: move return type to functions definition line

2018-06-30 Thread Michael Straube
The return type of a function should be on the same line as the definition. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_com.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/hal_com.c

[PATCH 1/3] staging: rtl8188eu: reorder switch cases and remove default break

2018-06-30 Thread Michael Straube
Reorder the cases of a switch statement to be in ascending order. Remove unrequired break from default case. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_com.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

RE: [PATCH] PCI: hv: Fix a __local_bh_enable_ip warning in hv_compose_msi_msg()

2018-06-30 Thread Dexuan Cui
> From: Lorenzo Pieralisi > Sent: Friday, June 29, 2018 02:39 > To: Dexuan Cui > On Wed, Jun 13, 2018 at 10:50:05PM +, Dexuan Cui wrote: > > > From: Bjorn Helgaas > > > Sent: Wednesday, June 13, 2018 15:15 > > > > ... > > > > It looks Lorenzo's pci.git tree has not been updated for 3+

[PATCH v3] staging:r8188eu: Use lib80211 to encrypt (WEP) tx frames

2018-06-30 Thread Ivan Safonov
Put data to skb, decrypt with lib80211_crypt_wep, and place back to tx buffer. Signed-off-by: Ivan Safonov --- v2: - refactor error handling, v3: - fix commit message. drivers/staging/rtl8188eu/core/rtw_security.c | 82 +++ 1 file changed, 47 insertions(+), 35

Re: [PATCH v2] staging:iio:impedance-analyzer:ad5933: Macro replacement Cleanups.

2018-06-30 Thread Jonathan Cameron
On Mon, 25 Jun 2018 21:11:23 +0200 Karim Eshapa wrote: > Doing some macro replacement to start an array of structures > so it can be reused by manipulating it with different values. > > Signed-off-by: Karim Eshapa There are all sorts of issues with the ABI this driver is providing to

[PATCH] staging: mt7621-pinctrl: Replaces "unsigned" with "unsigned int", fixes mixed indentation, and puts spaces after commas.

2018-06-30 Thread Peter Vernia
Signed-off-by: Peter Vernia --- drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 35 + 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c index

Re: [PATCH 1/2] FBTFT: fb_sh: Fix alignment and style problems Fixed Coding style issues Signed-off-by: Tamir Suliman

2018-06-30 Thread Joe Perches
On Sat, 2018-06-30 at 14:32 +, Tamir Suliman wrote: > --- > drivers/staging/fbtft/fb_sh1106.c | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) Adding to what Greg's patchbot already wrote: > diff --git a/drivers/staging/fbtft/fb_sh1106.c >

Re: [PATCH 1/2] FBTFT: fb_sh: Fix alignment and style problems Fixed Coding style issues Signed-off-by: Tamir Suliman

2018-06-30 Thread Greg KH
On Sat, Jun 30, 2018 at 02:32:39PM +, Tamir Suliman wrote: > --- > drivers/staging/fbtft/fb_sh1106.c | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/drivers/staging/fbtft/fb_sh1106.c > b/drivers/staging/fbtft/fb_sh1106.c > index

Re: [PATCH 2/2] NETLOGIC: Kconfig: Fixed help and coding style warnings

2018-06-30 Thread Greg KH
On Sat, Jun 30, 2018 at 02:30:44PM +, Tamir Suliman wrote: > Fixed Coding style issues > > Signed-off-by: Tamir Suliman > --- > drivers/staging/netlogic/Kconfig | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/netlogic/Kconfig >

[PATCH 1/2] FBTFT: fb_sh: Fix alignment and style problems Fixed Coding style issues Signed-off-by: Tamir Suliman

2018-06-30 Thread Tamir Suliman
--- drivers/staging/fbtft/fb_sh1106.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/fbtft/fb_sh1106.c b/drivers/staging/fbtft/fb_sh1106.c index 3fc18c0..c18763b 100644 --- a/drivers/staging/fbtft/fb_sh1106.c +++

[PATCH 2/2] NETLOGIC: Kconfig: Fixed help and coding style warnings

2018-06-30 Thread Tamir Suliman
Fixed Coding style issues Signed-off-by: Tamir Suliman --- drivers/staging/netlogic/Kconfig | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/netlogic/Kconfig b/drivers/staging/netlogic/Kconfig index d660de5..6e8e56a 100644 ---

[PATCH v2] staging:r8188eu: Use lib80211 to encrypt (WEP) tx frames

2018-06-30 Thread Ivan Safonov
Put data to skb, decrypt with lib80211_crypt_wep, and place back to tx buffer. --- v2: - refactor error handling. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_security.c | 82 +++ 1 file changed, 47 insertions(+), 35 deletions(-) diff --git

[PATCH] staging: rtl8188eu: remove rtw_ioctl_rtl.h

2018-06-30 Thread Michael Straube
The header rtw_ioctl_rtl.h is not used anywhere. Running 'grep -r rtw_ioctl_rtl *' from kernel root directory returns nothing, remove the file. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/include/rtw_ioctl_rtl.h | 66 --- 1 file changed, 66 deletions(-) delete mode

Re: [PATCH net] hv_netvsc: split sub-channel setup into async and sync

2018-06-30 Thread David Miller
From: Haiyang Zhang Date: Fri, 29 Jun 2018 14:07:16 -0700 > From: Stephen Hemminger > > When doing device hotplug the sub channel must be async to avoid > deadlock issues because device is discovered in softirq context. > > When doing changes to MTU and number of channels, the setup > must be

[PATCH v2 1/2] staging: rtl8723bs: fix comparsion to true/false and brace issues

2018-06-30 Thread Michael Straube
Use if(x) and if(!x) instead of comparsion to true/false. Reported by checkpatch. Remove unrequired braces from single if else statement. Add missing space after else: else{ -> else { Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 8

[PATCH v2 2/2] staging: rtl8723bs: simplify if else statement

2018-06-30 Thread Michael Straube
Simplify if else statement to a single function call by passing the variable. Suggested-by: Andreas Schwab Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git

Re: [PATCH] staging: rtl8723bs: fix comparsion to true/false and brace issues

2018-06-30 Thread Michael Straube
On 06/30/18 12:08, Andreas Schwab wrote: On Jun 30 2018, Michael Straube wrote: @@ -115,11 +115,10 @@ s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter) void rtw_btcoex_SetManualControl(struct adapter *padapter, u8 manual) { - if (true == manual) { + if

Re: [PATCH] staging: rtl8723bs: fix comparsion to true/false and brace issues

2018-06-30 Thread Andreas Schwab
On Jun 30 2018, Michael Straube wrote: > @@ -115,11 +115,10 @@ s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter > *padapter) > > void rtw_btcoex_SetManualControl(struct adapter *padapter, u8 manual) > { > - if (true == manual) { > + if (manual) >

[PATCH] staging: rtl8723bs: fix comparsion to true/false and brace issues

2018-06-30 Thread Michael Straube
Use if(x) and if(!x) instead of comparsion to true/false. Reported by checkpatch. Remove unrequired braces from single if else statements. Add missing space after else: else{ -> else { Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_btcoex.c | 13 ++---

Re: [PATCH 3/3] staging: rtl8192u: Prune the rtl819x_HT.h file of unused definitions.

2018-06-30 Thread Justin Skists
On 29 June 2018 19:10:07 BST, John Whitmore wrote: >There are two files named "rtl819x_HT.h" > >$ find . -name rtl819x_HT.h -print >./drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h >./drivers/staging/rtl8192e/rtl819x_HT.h > >The two files are very similar but differ slightly. Unsed

[PATCH] staging: rtl8723bs: fix line over 80 characters

2018-06-30 Thread Michael Straube
Fix line over 80 characters by replacing tab with space. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c index

Re: [PATCH v2 1/2] gpio: mediatek: add driver for MT7621

2018-06-30 Thread Sergio Paracuellos
On Fri, Jun 29, 2018 at 2:43 PM, Sergio Paracuellos wrote: > Add driver support for gpio of MT7621 SoC. > > Signed-off-by: Sergio Paracuellos > --- > drivers/gpio/Kconfig | 8 ++ > drivers/gpio/Makefile | 1 + > drivers/gpio/gpio-mt7621.c | 320 >

Re: [PATCH v5 18/18] staging: mt7621-gpio: avoid use banks in device tree

2018-06-30 Thread Sergio Paracuellos
On Sat, Jun 30, 2018 at 7:47 AM, NeilBrown wrote: > On Mon, Jun 18 2018, Sergio Paracuellos wrote: > >> Banks shouldn't be defined in DT if number of resources >> per bank is not variable. We actually know that this SoC >> has three banks so take that into account in order to don't >> overspecify