[staging:staging-testing] BUILD SUCCESS 9b1e57ef8100b3aab8d31428df768bbb46614c04

2020-09-29 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a006-20200929 i386 randconfig-a002-20200929 i386 randconfig-a003-20200929 i386 randconfig

[PATCH v2] Staging: nvec: Remove duplicate word in comment.

2020-09-29 Thread Matthew Hanzelik
Remove a duplicate word in a comment within nvec.c. Signed-off-by: Matthew Hanzelik --- Changes in v2: - Fix spelling mistake in commit. --- drivers/staging/nvec/nvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c

[PATCH] Staging: nvec: Remove duplicate word in comment.

2020-09-29 Thread Matthew Hanzelik
Gemoved a duplicate word in a comment within nvec.c. Signed-off-by: Matthew Hanzelik --- drivers/staging/nvec/nvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 360ec0407740..a80996b2f5ce 100644 ---

Re: [PATCH] PCI: Rename d3_delay in the pci_dev struct to align with PCI specification

2020-09-29 Thread Bjorn Helgaas
On Thu, Jul 30, 2020 at 09:08:48PM +, Krzysztof WilczyƄski wrote: > Rename PCI-related variable "d3_delay" to "d3hot_delay" in the pci_dev > struct to better align with the PCI Firmware specification (see PCI > Firmware Specification, Revision 3.2, Section 4.6.9, p. 73). > > The pci_dev

[PATCH] staging: rtl8712: Fix enqueue_reorder_recvframe()

2020-09-29 Thread Dan Carpenter
The logic of this function was accidentally broken by a checkpatch inspired cleanup. I've modified the code to restore the original behavior and also make checkpatch happy. Fixes: 98fe05e21a6e ("staging: rtl8712: Remove unnecesary else after return statement.") Signed-off-by: Dan Carpenter ---

Re: [PATCH] staging: mfd: hi6421-spmi-pmic: Fix error return in hi6421_spmi_pmic_probe()

2020-09-29 Thread Dan Carpenter
On Tue, Sep 29, 2020 at 03:48:47PM +0800, Jing Xiangfeng wrote: > Fix to return error code -ENOMEM from the error handling case instead > of 0. > > Signed-off-by: Jing Xiangfeng > --- > drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >

[PATCH] staging: mfd: hi6421-spmi-pmic: Fix error return in hi6421_spmi_pmic_probe()

2020-09-29 Thread Jing Xiangfeng
Fix to return error code -ENOMEM from the error handling case instead of 0. Signed-off-by: Jing Xiangfeng --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c

[PATCH 5/8] staging: rtl8188eu: rename struct field bUsed -> used

2020-09-29 Thread Michael Straube
Rename field of struct rt_pmkid_list to avoid camel case. bUsed -> used Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 2 +- drivers/staging/rtl8188eu/include/rtw_security.h | 2 +- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 6 +++--- 3 files

[PATCH 3/8] staging: rtl8188eu: rename struct field Bssid -> bssid

2020-09-29 Thread Michael Straube
Rename field of struct rt_pmkid_list to avoid camel case. Bssid -> bssid Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 2 +- drivers/staging/rtl8188eu/include/rtw_security.h | 2 +- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 8 3 files

[PATCH 7/8] staging: rtl8188eu: remove unused variable ratelen

2020-09-29 Thread Michael Straube
After the removal of cckrates_included() and cckrates_only_included() from rtw_wlan_util.c the variable/parameter 'ratelen' is unused now. Remove it from update_wireless_mode() and judge_network_type(). Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 6

[PATCH 2/8] staging: rtl8188eu: clean up comparsions to NULL

2020-09-29 Thread Michael Straube
Clean up remaining comparsions to NULL reported by checkpatch. x == NULL -> !x x != NULL -> x Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_security.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 1/8] staging: rtl8188eu: remove unused macros and definitions

2020-09-29 Thread Michael Straube
Removep unused macros and definitions from rtw_security.h leftover from previous cleanup patches. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/include/rtw_security.h | 58 --- 1 file changed, 58 deletions(-) diff --git

[PATCH 6/8] staging: rtl8188eu: remove cckrates{only}_included()

2020-09-29 Thread Michael Straube
In rtw_ieee80211.c there are rtw_is_cckrates_included() and rtw_is_cckratesonly_included() which have the same functionality as cckrates_included() and cckrates_only_included() defined in rtw_wlan_util.c. Remove the functions from rtw_wlan_util.c and use those from rtw_ieee80211.c. Signed-off-by:

[PATCH 8/8] staging: rtl8188eu: clean up indent style issue

2020-09-29 Thread Michael Straube
Replace spaces with tab to clear checkpatch error. ERROR: code indent should use tabs where possible Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 4/8] staging: rtl8188eu: use ETH_ALEN

2020-09-29 Thread Michael Straube
Use ETH_ALEN instead of hard coded array size. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/include/rtw_security.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_security.h

Re: [PATCH] media: atomisp: Fixed error handling path

2020-09-29 Thread Dan Carpenter
On Tue, Sep 29, 2020 at 07:34:39AM +0530, Souptick Joarder wrote: > Hi Dan, > > > On Mon, Sep 28, 2020 at 2:08 PM Dan Carpenter > wrote: > > > > On Sun, Sep 27, 2020 at 08:38:04PM +0530, Souptick Joarder wrote: > > > Inside alloc_user_pages() based on flag value either pin_user_pages() > > >