[PATCH] staging: unisys: Remove unneeded variable

2015-06-11 Thread Abdul, Hussain (H.)
This patch remove unneeded variable used to store return value. Signed-off-by: Abdul Hussain hab...@visteon.com --- drivers/staging/unisys/visorbus/visorbus_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c

[PATCH] staging: ste_rmi4: Add IRQF_ONESHOT flag

2015-06-11 Thread Abdul, Hussain (H.)
This patch add IRQF_ONESHOT flag in threaded IRQs request without a primary handler. Signed-off-by: Abdul Hussain hab...@visteon.com --- drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] staging: vt6656: Boolean tests don't need comparisons.

2015-06-11 Thread Abdul, Hussain (H.)
This patch remove true and false from boolean tests. Signed-off-by: Abdul Hussain hab...@visteon.com --- drivers/staging/vt6656/card.c | 2 +- drivers/staging/vt6656/main_usb.c | 2 +- drivers/staging/vt6656/rxtx.c | 2 +- drivers/staging/vt6656/usbpipe.c | 2 +- 4 files changed, 4

[PATCH] staging: vt6655: Boolean tests don't need comparisons

2015-06-11 Thread Abdul, Hussain (H.)
This patch removes unwnated true from boolean tests. Signed-off-by: Abdul Hussain hab...@visteon.com --- drivers/staging/vt6655/rxtx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 33c4aa4..534338c

Re: [PATCH] staging: vt6655: Boolean tests don't need comparisons

2015-06-11 Thread Sudip Mukherjee
On Thu, Jun 11, 2015 at 09:51:15AM +, Abdul, Hussain (H.) wrote: This patch removes unwnated true from boolean tests. did u mean unwanted? and for all your four patches the email header From: line is not matching the Signed-off-by: line. Please add an extra From: line like others of your

[PATCH] Removed unnecessary bool comparisons in r8192U_dm.c

2015-06-11 Thread Harisangam, Sharvari (S.)
From: Harisangam Sharvari shari...@visteon.com This patch was detected with the help of coccinelle tool. The unnecessary comparisons of bool variables are removed. Signed-off-by: Harisangam Sharvari shari...@visteon.com --- drivers/staging/rtl8192u/r8192U_dm.c | 12 ++-- 1 file

Re: [PATCH 1/1] staging: lustre/lustre/llite: get rid of incorrect type warning

2015-06-11 Thread Dan Carpenter
On Mon, Jun 08, 2015 at 04:01:57PM -0700, Tolga Ceylan wrote: In dir.c and llite_lib.c, sparse reports multiple warnings messages due to different address spaces. This patch resolves these warnings by adding the tag __user for username addresses. Signed-off-by: Tolga Ceylan

Re: [PATCH] Removed unnecessary bool comparisons in r8192U_dm.c

2015-06-11 Thread Harisangam, Sharvari (S.)
On Thu, Jun 11, 2015 at 02:46:21PM +0530, Harisangam Sharvari wrote: From: Harisangam Sharvari shari...@visteon.com This patch was detected with the help of coccinelle tool. The unnecessary comparisons of bool variables are removed. Signed-off-by: Harisangam Sharvari shari...@visteon.com

Re: [PATCH] staging: wilc1000: modify odd print message

2015-06-11 Thread Greg KH
On Thu, Jun 11, 2015 at 01:52:28PM +0900, Dean.lee wrote: On 2015년 06월 11일 12:50, Greg KH wrote: On Thu, Jun 11, 2015 at 12:44:24PM +0900, Dean Lee wrote: This driver has odd message in print string. So this patch removes the data type. Signed-off-by: Dean Lee dean@atmel.com ---

Re: [PATCH] staging: ste_rmi4: Add IRQF_ONESHOT flag

2015-06-11 Thread gre...@linuxfoundation.org
On Thu, Jun 11, 2015 at 10:14:49AM +, Abdul, Hussain (H.) wrote: This patch add IRQF_ONESHOT flag in threaded IRQs request without a primary handler. Signed-off-by: Abdul Hussain hab...@visteon.com --- drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c | 2 +- 1 file changed, 1

[PATCH] staging: wilc1000: pass gpio irq number using DT

2015-06-11 Thread Ravindran, Madhusudhanan (M.)
From: Madhusudhanan Ravindran mravi...@visteon.com pass wlan irq gpio number in run time using DT as mentioned in the TODO list. Signed-off-by: Madhusudhanan Ravindran mravi...@visteon.com -- * did not test this code on real hardware. --- drivers/staging/wilc1000/linux_wlan.c | 28

Re: [PATCH 1/4] staging: wilc1000: modify data type

2015-06-11 Thread Greg KH
On Thu, Jun 11, 2015 at 02:33:39PM +0900, Johnny Kim wrote: On 2015년 06월 11일 09:40, Greg KH wrote: On Wed, Jun 10, 2015 at 05:06:44PM +0900, Johnny Kim wrote: -static int wilc_wlan_cfg_commit(int type, uint32_t drvHandler) +static int wilc_wlan_cfg_commit(int type, size_t drvHandler)

Re: [PATCH 2/2] staging: wilc1000: remove unwanted code

2015-06-11 Thread gre...@linuxfoundation.org
On Thu, Jun 11, 2015 at 07:48:43AM +, Gujulan Elango, Hari Prasath (H.) wrote: From: Hari Prasath Gujulan Elango hguju...@visteon.com This patch removes code that is unused for any functionality in the ioctl SIOCDEVPRIVATE + 1.But since it is mentioned in the TODO list that it needs to

Re: [PATCH] staging: wilc1000: remove timer related OS wrapper functions

2015-06-11 Thread gre...@linuxfoundation.org
On Thu, Jun 11, 2015 at 01:31:38PM +, Gujulan Elango, Hari Prasath (H.) wrote: From: Hari Prasath Gujulan Elango hguju...@visteon.com This patch removes the timer related wrapper functions WILC_TimerCreate(),WILC_TimerStart(),WILC_TimerStop() and WILC_TimerDestroy() and uses kernel

Re: [PATCH] staging: wilc1000: pass gpio irq number using DT

2015-06-11 Thread Greg Kroah-Hartman
On Thu, Jun 11, 2015 at 02:22:33PM +, Ravindran, Madhusudhanan (M.) wrote: From: Madhusudhanan Ravindran mravi...@visteon.com pass wlan irq gpio number in run time using DT as mentioned in the TODO list. Signed-off-by: Madhusudhanan Ravindran mravi...@visteon.com -- * did not

[PATCH 0/6] Front-end driver for PCIe Pass-through on Hyper-V

2015-06-11 Thread jakeo
From: Jake Oshins ja...@microsoft.com This patch does some slight refactoring on the hv_vmbus driver and its dependents and then introduces a new paravirtual front-end driver for PCI which supports PCI Express devices passed through to a Linux guest running in a Hyper-V VM. To support this

[PATCH 5/6] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through

2015-06-11 Thread jakeo
From: Jake Oshins ja...@microsoft.com Signed-off-by: Jake Oshins ja...@microsoft.com --- include/linux/hyperv.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 6fec42d..1903238 100644 --- a/include/linux/hyperv.h +++

[PATCH 4/6] drivers:hv: Export a function that maps Linux proc num onto Hyper-V proc num

2015-06-11 Thread jakeo
From: Jake Oshins ja...@microsoft.com Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/hv/vmbus_drv.c | 16 include/linux/hyperv.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 067a469..65e4eb6 100644 ---

[PATCH 2/6] drivers:hv: Move MMIO range picking from hyper_fb.mod to hv_vmbus.mod

2015-06-11 Thread jakeo
From: Jake Oshins ja...@microsoft.com Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/hv/vmbus_drv.c | 87 - drivers/video/fbdev/hyperv_fb.c | 46 ++ include/linux/hyperv.h | 7 +++- 3 files changed, 112

[PATCH 3/6] arch:x86:hv: Add mechanism for Hyper-V paravirt drivers to hook msi message creation

2015-06-11 Thread jakeo
From: Jake Oshins ja...@microsoft.com Signed-off-by: Jake Oshins ja...@microsoft.com --- arch/x86/include/asm/mshyperv.h | 2 ++ arch/x86/kernel/cpu/mshyperv.c | 30 ++ 2 files changed, 32 insertions(+) diff --git a/arch/x86/include/asm/mshyperv.h

[PATCH 1/6] drivers:hv: Modify vmbus to search for all MMIO ranges available

2015-06-11 Thread jakeo
From: Jake Oshins ja...@microsoft.com Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/hv/vmbus_drv.c | 105 ++-- drivers/video/fbdev/hyperv_fb.c | 2 +- include/linux/hyperv.h | 2 +- 3 files changed, 92 insertions(+), 17

[PATCH 6/6] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-06-11 Thread jakeo
From: Jake Oshins ja...@microsoft.com drivers:pci:hv: Update MAINTAINERS drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs Signed-off-by: Jake Oshins ja...@microsoft.com --- MAINTAINERS|1 + drivers/pci/Kconfig|9 + drivers/pci/host/Makefile

Re: [PATCH 2/6] drivers:hv: Move MMIO range picking from hyper_fb.mod to hv_vmbus.mod

2015-06-11 Thread Greg KH
On Thu, Jun 11, 2015 at 04:22:23PM +, ja...@microsoft.com wrote: From: Jake Oshins ja...@microsoft.com Signed-off-by: Jake Oshins ja...@microsoft.com No changelog body text at all? That's a sure way to get a patch instantly deleted from my queue...

Re: [PATCH 6/6] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-06-11 Thread Greg KH
On Thu, Jun 11, 2015 at 04:22:27PM +, ja...@microsoft.com wrote: From: Jake Oshins ja...@microsoft.com drivers:pci:hv: Update MAINTAINERS Huh? drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs What is this odd format? Signed-off-by: Jake Oshins ja...@microsoft.com No

Re: [PATCH 0/6] Front-end driver for PCIe Pass-through on Hyper-V

2015-06-11 Thread Greg KH
On Thu, Jun 11, 2015 at 04:22:21PM +, ja...@microsoft.com wrote: From: Jake Oshins ja...@microsoft.com This patch does some slight refactoring on the hv_vmbus driver and its dependents and then introduces a new paravirtual front-end driver for PCI which supports PCI Express devices

Re: [PATCH 2/2] staging: wilc1000: remove unwanted code

2015-06-11 Thread Dan Carpenter
On Thu, Jun 11, 2015 at 09:13:50AM -0700, gre...@linuxfoundation.org wrote: On Thu, Jun 11, 2015 at 07:48:43AM +, Gujulan Elango, Hari Prasath (H.) wrote: From: Hari Prasath Gujulan Elango hguju...@visteon.com This patch removes code that is unused for any functionality in the

Re: [PATCH 2/2] staging: wilc1000: remove unwanted code

2015-06-11 Thread Dan Carpenter
Actually it doesn't leak. But it will Oops. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH 0/9] staging:lustre: remove kernel defines in userland headers

2015-06-11 Thread James Simmons
Currently the lnet headers used for user land applications contain various kernel definations. This is due to the fact libcfs contains kernel wrappers for user land which will be going away. This patch sorted the header data so all kernel containing structures are moved out of headers that user

[PATCH v4 3/9] staging:lustre: rename socklnd_lib-linux.c

2015-06-11 Thread James Simmons
From: John L. Hammond john.hamm...@intel.com With the move to support only the linux kernel their is no need to keep linux in the socklnd source file names. This is broken out of the original patch 12932 that was merged to the Intel/OpenSFS branch. Signed-off-by: John L. Hammond

[PATCH v4 5/9] staging:lustre: move LNet NID macros to LNet layer

2015-06-11 Thread James Simmons
Currently several special macros LNet NID macros exist in libcfs.h and libcfs_private.h. Move those macros out to the lnet header types.h. The new lnet header nidstr.h contains LNet NID string data that can be used by user land LNet utilities and the LNet kernel drivers. Signed-off-by: James

[PATCH v4 1/9] staging:lustre: Delete all obsolete LND drivers

2015-06-11 Thread James Simmons
Remove ralnd, ptllnd, mxlnd, qswlnd drivers. They are no longer supported and have not even been buildable for a long time. Signed-off-by: James Simmons uja.o...@gmail.com Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6209 Reviewed-on: http://review.whamcloud.com/13663 Reviewed-by: Isaac

[PATCH v4 2/9] staging:lustre: remove lnet/include/lnet/linux/

2015-06-11 Thread James Simmons
From: John L. Hammond john.hamm...@intel.com Remove the linux specific headers from lnet/include/lnet/linux/, moving whatever was worthwhile from them to their parent headers or elsewhere. Signed-off-by: John L. Hammond john.hamm...@intel.com Intel-bug-id:

[PATCH v4 6/9] staging:lustre: separate kernel and user land defines in the LNet headers

2015-06-11 Thread James Simmons
Currently the lnet headers used by user land contain various internal LNet structures that are only used by kernel space. Move the user land structures to headers used by user land. The kernel structures are relocated to headers that are never exposed to user land. Signed-off-by: James Simmons

[PATCH v4 9/9] staging:lustre: Update license and copyright for the LNET headers

2015-06-11 Thread James Simmons
Point to the right place for GNU license. Update Intel copyright. Signed-off-by: James Simmons jsimm...@infradead.org --- drivers/staging/lustre/include/linux/lnet/api.h| 13 + .../staging/lustre/include/linux/lnet/lib-lnet.h | 10 +++---

[PATCH v4 8/9] staging:lustre: LNet header code cleanup - indentation etc

2015-06-11 Thread James Simmons
Handle all the style issues reported by checkpatch.pl. Remove general white spaces, spaces in function calls, alignments etc. Signed-off-by: James Simmons jsimm...@infradead.org --- drivers/staging/lustre/include/linux/lnet/api.h| 32 +- .../staging/lustre/include/linux/lnet/lib-lnet.h |

[PATCH v4 4/9] staging:lustre: merge socklnd_lib-linux.h into socklnd.h

2015-06-11 Thread James Simmons
From: John L. Hammond john.hamm...@intel.com Originally socklnd_lib-linux.h contained linux specific wrappers and defines but since the linux kernel is the only supported platform now we can merge what little remains in the header into socklnd.h. This is broken out of the original patch 12932

[PATCH v4 7/9] staging:lustre: fix camel case for LNetInit and LNetFini

2015-06-11 Thread James Simmons
For the functions LNetInit and LNetFini move away from camel case to lnet_init and lnet_fini. Signed-off-by: James Simmons jsimm...@infradead.org --- drivers/staging/lustre/include/linux/lnet/api.h|3 --- .../staging/lustre/include/linux/lnet/lib-lnet.h |3 +++

[PATCH 0/7] Replace uses of OBD_{ALLOC,FREE}_LARGE

2015-06-11 Thread Julia Lawall
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: wilc1000: remove timer related OS wrapper functions

2015-06-11 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango hguju...@visteon.com This patch removes the timer related wrapper functions WILC_TimerCreate(),WILC_TimerStart(),WILC_TimerStop() and WILC_TimerDestroy() and uses kernel API's directly.In the process,the unused variables,files are also deleted. Signed-off-by:

Re: [PATCH] staging: wilc1000: remove timer related OS wrapper functions

2015-06-11 Thread Gujulan Elango, Hari Prasath (H.)
On Thu, Jun 11, 2015 at 12:35:48PM +, Gujulan Elango, Hari Prasath (H.) wrote: From: Hari Prasath Gujulan Elango hguju...@visteon.com This patch removes the timer related wrapper functions WILC_TimerCreate(),WILC_TimerStart(),WILC_TimerStop() and WILC_TimerDestroy() and uses kernel

[PATCH 7/7] lustre: ptlrpc: Replace uses of OBD_{ALLOC,FREE}_LARGE

2015-06-11 Thread Julia Lawall
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression ptr,size; @@ - OBD_ALLOC_LARGE(ptr,size) + ptr = libcfs_kvzalloc(size, GFP_NOFS) @@ expression ptr,size;

[PATCH 2/7] lustre: lmv: Replace uses of OBD_{ALLOC,FREE}_LARGE

2015-06-11 Thread Julia Lawall
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression ptr,size; @@ - OBD_ALLOC_LARGE(ptr,size) + ptr = libcfs_kvzalloc(size, GFP_NOFS) @@ expression ptr,size;

[PATCH 3/7] lustre: lov: Replace uses of OBD_{ALLOC,FREE}_LARGE

2015-06-11 Thread Julia Lawall
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression ptr,size; @@ - OBD_ALLOC_LARGE(ptr,size) + ptr = libcfs_kvzalloc(size, GFP_NOFS) @@ expression ptr,size;

[PATCH 6/7] lustre: obdclass: linux: Replace uses of OBD_{ALLOC, FREE}_LARGE

2015-06-11 Thread Julia Lawall
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression ptr,size; @@ - OBD_ALLOC_LARGE(ptr,size) + ptr = libcfs_kvzalloc(size, GFP_NOFS) @@ expression ptr,size;

[PATCH 1/7] lustre: llite: Replace uses of OBD_{ALLOC,FREE}_LARGE

2015-06-11 Thread Julia Lawall
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression ptr,size; @@ - OBD_ALLOC_LARGE(ptr,size) + ptr = libcfs_kvzalloc(size, GFP_NOFS) @@ expression ptr,size;

[PATCH 5/7] lustre: obdclass: Replace uses of OBD_{ALLOC,FREE}_LARGE

2015-06-11 Thread Julia Lawall
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression ptr,size; @@ - OBD_ALLOC_LARGE(ptr,size) + ptr = libcfs_kvzalloc(size, GFP_NOFS) @@ expression ptr,size;

[PATCH 1/2] staging: rtl8188eu: remove unused enum and CONFIG

2015-06-11 Thread Sudip Mukherjee
The CONFIGs, the enum and the function declaration was not being used anywhere. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/rtl8188eu/include/odm.h | 8 drivers/staging/rtl8188eu/include/odm_HWConfig.h | 3 --- 2 files changed, 11 deletions(-) diff

[PATCH 2/2] staging: rtl8188eu: remove unused variables

2015-06-11 Thread Sudip Mukherjee
These variables were being set but not used afterwards. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 3 --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 6 +- drivers/staging/rtl8188eu/hal/phy.c | 10

[PATCH] staging: wilc1000: remove timer related OS wrapper functions

2015-06-11 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango hguju...@visteon.com This patch removes the timer related wrapper functions WILC_TimerCreate(),WILC_TimerStart(),WILC_TimerStop() and WILC_TimerDestroy() and uses kernel API's directly.In the process,the unused variables,files are also deleted. Signed-off-by:

[PATCH] staging: rtl8192u: Removed redundant bool comparisons in r8192U_dm.c

2015-06-11 Thread Harisangam, Sharvari (S.)
From: Harisangam Sharvari shari...@visteon.com This patch was detected with the help of coccinelle tool. The redundant comparisons of bool variables are removed in r8192U_dm.c. Signed-off-by: Harisangam Sharvari shari...@visteon.com --- drivers/staging/rtl8192u/r8192U_dm.c | 12 ++--

Re: [PATCH 2/2] staging: rtl8188eu: remove unused variables

2015-06-11 Thread Sudip Mukherjee
On Thu, Jun 11, 2015 at 06:39:09PM +0530, Sudip Mukherjee wrote: These variables were being set but not used afterwards. snip --- a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c +++ b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c @@ -147,18 +147,14 @@ inline struct sta_info

[PATCH] staging: wilc1000: change WILC_Char to s8

2015-06-11 Thread Dean Lee
change own data type(WILC_Char) to common data type(s8) Signed-off-by: Dean Lee dean@atmel.com --- drivers/staging/wilc1000/coreconfigurator.c | 24 +++ drivers/staging/wilc1000/coreconfigurator.h | 4 +- drivers/staging/wilc1000/host_interface.c | 88

[PATCH] staging: wilc1000: change WILC_BOOL to bool

2015-06-11 Thread Dean Lee
change own data type(WILC_BOOL) to common data type(bool) but that's contain true/false value. so change with them. Signed-off-by: Dean Lee dean@atmel.com --- drivers/staging/wilc1000/coreconfigurator.c | 16 +-- drivers/staging/wilc1000/coreconfigurator.h | 4 +-

Re: [PATCH] staging: wilc1000: change WILC_BOOL to bool

2015-06-11 Thread Dean . lee
On 2015년 06월 12일 13:56, Dean Lee wrote: change own data type(WILC_BOOL) to common data type(bool) but that's contain true/false value. so change with them. Signed-off-by: Dean Lee dean@atmel.com --- drivers/staging/wilc1000/coreconfigurator.c | 16 +--

[PATCH v2] staging: wilc1000: change WILC_BOOL to bool

2015-06-11 Thread Dean Lee
change own data type(WILC_BOOL) to common data type(bool) but that's contain true/false value. so change with them. Signed-off-by: Dean Lee dean@atmel.com --- Change remove WILC_BOOL structure. --- drivers/staging/wilc1000/coreconfigurator.c | 26 ++--

[PATCH 1/2] staging: wilc1000: use memdup_user

2015-06-11 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango hguju...@visteon.com This patch replaces the kmalloc followed by copy_from_user by the wrapper routine memdup_user. Signed-off-by: Hari Prasath Gujulan Elango hguju...@visteon.com --- drivers/staging/wilc1000/linux_wlan.c | 12 +++- 1 file changed, 3

[PATCH 2/2] staging: wilc1000: remove unwanted code

2015-06-11 Thread Gujulan Elango, Hari Prasath (H.)
From: Hari Prasath Gujulan Elango hguju...@visteon.com This patch removes code that is unused for any functionality in the ioctl SIOCDEVPRIVATE + 1.But since it is mentioned in the TODO list that it needs to be replaced with generic API functions,the debug print alone is left as it is.

[PATCH 5/7] staging: rtl8723au: issue_probersp(): remove unused parameter

2015-06-11 Thread Luca Ceresoli
The is_valid_p2p_probereq is never referenced in the function body. Signed-off-by: Luca Ceresoli l...@lucaceresoli.net Cc: Greg Kroah-Hartman gre...@linux.com Cc: Jes Sorensen jes.soren...@redhat.com Cc: Larry Finger larry.fin...@lwfinger.net --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 8

[PATCH 3/7] staging: rtl8188eu: unexport internal functions

2015-06-11 Thread Luca Ceresoli
These are internal functions. Remove their declaration in rtw_mlme_ext.h and make them static. Signed-off-by: Luca Ceresoli l...@lucaceresoli.net Cc: Greg Kroah-Hartman gre...@linux.com Cc: Larry Finger larry.fin...@lwfinger.net --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c| 57

[PATCH 2/7] staging: rtl8188eu: rtw_mlme_ext.c: unexport message callbacks

2015-06-11 Thread Luca Ceresoli
These are internal functions. Remove their declaration in rtw_mlme_ext.h and make them static. Signed-off-by: Luca Ceresoli l...@lucaceresoli.net Cc: Greg Kroah-Hartman gre...@linux.com Cc: Larry Finger larry.fin...@lwfinger.net --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c| 60

[PATCH 7/7] staging: rtl8188eu: fix wrong debug print

2015-06-11 Thread Luca Ceresoli
Signed-off-by: Luca Ceresoli l...@lucaceresoli.net Cc: Greg Kroah-Hartman gre...@linux.com Cc: Larry Finger larry.fin...@lwfinger.net --- drivers/staging/rtl8188eu/core/rtw_ap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c

[PATCH 6/7] staging: rtl8188eu: issue_probersp(): remove unused variable and dead code

2015-06-11 Thread Luca Ceresoli
is_valid_p2p_probereq is initialized to false and never modified. Code depending on it is dead code. Remove all of it. Signed-off-by: Luca Ceresoli l...@lucaceresoli.net Cc: Greg Kroah-Hartman gre...@linux.com Cc: Larry Finger larry.fin...@lwfinger.net ---

[PATCH 4/7] staging: rtl8188eu: issue_probersp(): remove unused parameter

2015-06-11 Thread Luca Ceresoli
The is_valid_p2p_probereq is never referenced in the function body. Signed-off-by: Luca Ceresoli l...@lucaceresoli.net Cc: Greg Kroah-Hartman gre...@linux.com Cc: Larry Finger larry.fin...@lwfinger.net --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 5 ++--- 1 file changed, 2 insertions(+),

Re: [PATCH 1/1] staging: lustre/lustre/llite: get rid of incorrect type warning

2015-06-11 Thread Tolga Ceylan
On Wed, Jun 10, 2015 at 5:48 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Are you sure all of these are correct? The kernel/user api for lustre is a complex beast, and just casting away the pointer types isn't usually the proper thing to do in order to resolve the issues here.