[PATCH] staging:r8188eu: load lib80211 crypto ops from interruptible context

2018-08-11 Thread Ivan Safonov
Preloading lib80211_crypt_* modules from an ioctl handlers prevents the module loading from a tasklet. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 4 +- drivers/staging/rtl8188eu/core/rtw_cmd.c | 8 +- drivers/staging/rtl8188eu/core/rtw_ioctl_set.

[PATCH] staging: netlogic: Fixed comments to include SPDX-License-Identifier

2018-08-11 Thread Michael Anckaert
This patch fixes some issues with missing SPDX-License-Identifier comments. Disclaimer: this is my first patch and instructions were taken from the KernelNewbies project. Signed-off-by: Michael Anckaert --- drivers/staging/netlogic/Kconfig| 6 +++--- drivers/staging/netlogic/platform_

Re: [PATCH] staging: netlogic: Fixed comments to include SPDX-License-Identifier

2018-08-11 Thread Greg KH
On Sat, Aug 11, 2018 at 06:15:05PM +0200, Michael Anckaert wrote: > This patch fixes some issues with missing SPDX-License-Identifier > comments. > > Disclaimer: this is my first patch and instructions were taken from the > KernelNewbies project. This does not belong in a changelog comment. If

[PATCH v2] staging: netlogic: Fixed comments to include SPDX-License-Identifier

2018-08-11 Thread Michael Anckaert
This patch fixes some issues with missing SPDX-License-Identifier comments. Signed-off-by: Michael Anckaert --- Changes in v2: - Removed unrelated change to different patch. drivers/staging/netlogic/platform_net.c | 1 + drivers/staging/netlogic/platform_net.h | 1 + drivers/staging/netlogic

[PATCH 3/5] staging: wilc1000: remove the use of 'wilc_debugfs_info_t' struct

2018-08-11 Thread Ajay Singh
Refactor the code to remove the use of 'wilc_debugfs_info_t' struct. Pass NULL for data in debugfs_create_file() call, as its value is not used. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_debugfs.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --g

[PATCH 0/5] staging: wilc1000: compilation error fixes & cleanup changes

2018-08-11 Thread Ajay Singh
This patch series contains the changes to avoid below compilation error. "drivers/staging/wilc1000/wilc_debugfs.o:(.data+0x10): undefined reference to `__this_module'" Split the changes into multiple patches, as discussed in [1]. [1]. https://www.spinics.net/lists/linux-wireless/msg176009.html

[PATCH 1/5] staging: wilc1000: avoid arrray of 'wilc_debugfs_info_t' type

2018-08-11 Thread Ajay Singh
Refactor code by removing array of 'wilc_debugfs_info_t' type and use single variable to store 'wilc_debugfs_info_t' struct value. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_debugfs.c | 26 +- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a

[PATCH 5/5] staging: wilc1000: use void return for wilc_debugfs_init()

2018-08-11 Thread Ajay Singh
Change the return type from int to void for wilc_debugfs_init(), as its return value is not used. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_debugfs.c | 4 +--- drivers/staging/wilc1000/wilc_wlan_if.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 4/5] staging: wilc1000: change permission to 0600 in debugfs_create_file() call

2018-08-11 Thread Ajay Singh
Cleanup patch to use more restrictive access permission for debugfs file. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c i

[PATCH 2/5] staging: wilc1000: fixes for undefined reference to `__this_module' error

2018-08-11 Thread Ajay Singh
wilc_debug.o object file is included for both SDIO and SPI module. When anyone(either SDIO or SPI) module is compiled as loaded module and another as buildin module then below compilation error occurs. "drivers/staging/wilc1000/wilc_debugfs.o:(.data+0x10): undefined reference to `__this_module'"

Re: [PATCH v2] staging: wilc1000: fix undefined reference to `__this_module' compilation error

2018-08-11 Thread Ajay Singh
Hi Greg, On Thu, 9 Aug 2018 14:21:33 +0200 Greg KH wrote: > On Thu, Aug 09, 2018 at 04:59:39PM +0530, Ajay Singh wrote: > > wilc_debug.o object file is included for both SDIO and SPI module. > > When anyone(either SDIO or SPI) module is compiled as loaded module > > and another as buildin module

Re: [PATCH 2/5] staging: wilc1000: fixes for undefined reference to `__this_module' error

2018-08-11 Thread Greg KH
On Sun, Aug 12, 2018 at 10:17:42AM +0530, Ajay Singh wrote: > wilc_debug.o object file is included for both SDIO and SPI module. When > anyone(either SDIO or SPI) module is compiled as loaded module and another > as buildin module then below compilation error occurs. > > "drivers/staging/wilc1000/

[PATCH] staging: gasket: remove null ptr check before kfree

2018-08-11 Thread Sumit Kumar
Remove null ptr check before kfree because kfree is null ptr safe. Issue found by checkpatch. Signed-off-by: Sumit Kumar --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c b/drivers/