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

2018-05-27 Thread Ivan Safonov
Put data to skb, decrypt with lib80211_crypt_wep, and place back to tx buffer. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_security.c | 72 --- 1 file changed, 43 insertions(+), 29 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_securi

Re: [PATCH 0/7] staging: mt7621-gpio: cleanups to move this driver out of staging

2018-05-27 Thread Sergio Paracuellos
On Mon, May 28, 2018 at 1:09 AM, NeilBrown wrote: > On Fri, May 25 2018, Sergio Paracuellos wrote: > >> This patch series review all the probably missing stuff >> in order to get this driver out of staging.. >> >> All of these are described in the following mail by NeilBrown: >> >> - >> https://w

Re: [PATCH 0/7] staging: mt7621-gpio: cleanups to move this driver out of staging

2018-05-27 Thread NeilBrown
On Fri, May 25 2018, Sergio Paracuellos wrote: > This patch series review all the probably missing stuff > in order to get this driver out of staging.. > > All of these are described in the following mail by NeilBrown: > > - > https://www.mail-archive.com/driverdev-devel@linuxdriverproject.org/ms

[PATCH] staging: mt7621-eth: Remove extra line in mtk_set_link_ksettings()

2018-05-27 Thread Jefferson Capovilla
Fix extra line before end of function. Signed-off-by: Jefferson Capovilla --- drivers/staging/mt7621-eth/ethtool.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c index b565d2a..e9f4092 100644 --- a/drivers/staging/m

[PATCH] staging: mt7621-eth: fix line over 80 char in mtk_set_link_ksettings()

2018-05-27 Thread Jefferson Capovilla
Fix 'line over 80 characters' issue found by checkpatch.pl script in mtk_set_link_ksettings(). Signed-off-by: Jefferson Capovilla --- drivers/staging/mt7621-eth/ethtool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging

[PATCH] staging: mt7621-pci: Fix line size exceeding 80 columns.

2018-05-27 Thread Sankalp Negi
This patch fixes the checkpatch.pl warning: WARNING: line over 80 characters Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-pci/pci-mt7621.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt

Re: [PATCH v2] staging: speakup: remove simple_strtoul()

2018-05-27 Thread Greg KH
On Sat, May 26, 2018 at 04:03:35PM -0300, Gabriel Fedel wrote: > Replace simple_strtoul() with kstrtoul(), because simple_strtoul() is > obsolete. > > kstrtoul and simple_strtoul are not equal, so some new code was > inserted: > > It was necessary to pass to kstrtoul just number part (new variab