[PATCH 14/17] staging: wilc1000: acquire_bus: add new argument struct wilc

2015-10-29 Thread Glen Lee
This patch adds struct wilc and use it instead of g_linux_wlan, pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 47 ++-- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/drivers/staging/wilc1000/

[PATCH 17/17] staging: wilc1000: wilc_netdev_init: use wilc instead of g_linux_wlan

2015-10-29 Thread Glen Lee
Use wilc instead of g_linux_wlan. g_liux_wlan is not used anymore, just delete it. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 22 +++--- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - 2 files changed, 11 insertions(+), 12 deletions(-) diff

[PATCH 16/17] staging: wilc1000: linux_wlan_get_num_conn_ifcs: add argument net_device

2015-10-29 Thread Glen Lee
This patch add new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 +--- drivers/staging/wilc1000/linux_wlan.c | 10 +++--- dri

[PATCH 15/17] staging: wilc1000: release_bus: add argument struct wilc

2015-10-29 Thread Glen Lee
This patch adds new argument struct wilc and use it instead of g_linux_wlan, pass wilc to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/sta

[PATCH 13/17] staging: wilc1000: wilc_wlan_start: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) dif

[PATCH 12/17] staging: wilc1000: chip_sleep_manually: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch add new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 1 + 3 files changed, 4 insertions(+),

[PATCH 11/17] staging: wilc1000: wilc_wlan_firmware_download: add argument net_device

2015-10-29 Thread Glen Lee
Add new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 3 ++- drivers/staging/wilc1000/wilc_wlan.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff

[PATCH 10/17] staging: wilc1000: remove unused function wilc_wlan_global_reset

2015-10-29 Thread Glen Lee
Remove unused function wilc_wlan_global_reset. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index d4eef3d..c464cd7 100644 --- a/drivers/sta

[PATCH 09/17] staging: wilc1000: wilc_wlan_stop: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the functions. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c | 2 +- drivers/staging/wilc1000/wilc_wlan.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)

[PATCH 01/17] staging: wilc1000: define wiphy private data priv in struct host_if_drv

2015-10-29 Thread Glen Lee
This patch defines wiphy private data priv in struct host_if_drv and set priv to priv in host_if_drv to reference it's wiphy private data. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.h | 1 + drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 + 2 files changed

[PATCH 07/17] staging: wilc1000: wilc_wlan_txq_add_to_head: add new argument net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --g

[PATCH 03/17] staging: wilc1000: wilc_wlan_cfg_get: add argument struct net_device

2015-10-29 Thread Glen Lee
Adds argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 ++- drivers/staging/wilc1000/linux_wlan.c | 2 +- drivers/staging/wilc1000/wilc_w

[PATCH 08/17] staging: wilc1000: remove unused function remove_TCP_related

2015-10-29 Thread Glen Lee
Just remove unused function remove_TCP_related. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index b503f07..c8ce1f6 100644 --- a/drivers

[PATCH 06/17] staging: wilc1000: wilc_wlan_txq_add_cfg_pkt: add argument net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH 04/17] staging: wilc1000: wilc_wlan_cfg_set: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument net_device and use netdev private data member wilc instead of g_linux_wlan, pass dev to the functions also. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 +- drivers/staging/wilc1000/linux_wlan.c | 86 ++---

[PATCH 05/17] staging: wilc1000: wilc_wlan_cfg_commit: add argument struct net_device

2015-10-29 Thread Glen Lee
Add argument struct net_device and pass dev to the functions as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index a72

[PATCH 02/17] staging: wilc1000: send_config_pkt: add argument struct net_device

2015-10-29 Thread Glen Lee
This patch adds new argument struct net_device and pass dev to the function as well. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.c | 3 +- drivers/staging/wilc1000/coreconfigurator.h | 3 +- drivers/staging/wilc1000/host_interface.c | 196 +

Re: [PATCH] Staging: comedi: fixed comment, added a new line

2015-10-29 Thread Greg KH
On Thu, Oct 29, 2015 at 11:52:33PM +0100, Philippe Loctaux wrote: > >From 16dae6c28a46ae257dcedd51d973aee7821053f3 Mon Sep 17 00:00:00 2001 > From: Philippe Loctaux > Date: Thu, 29 Oct 2015 22:45:16 +0100 > Subject: [PATCH] Staging: comedi: fixed comment, added a new line Why is this header all i

Re: [PATCH v4 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-10-29 Thread Jiang Liu
On 2015/10/30 7:46, ja...@microsoft.com wrote: > From: Jake Oshins > > This patch adds an fwnode_handle to struct pci_sysdata, which is > used by the next patch in the series when trying to locate an > IRQ domain associated with a root PCI bus. > > Signed-off-by: Jake Oshins > --- > arch/x86

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

2015-10-29 Thread Andy Shevchenko
On Fri, Oct 30, 2015 at 1:46 AM, wrote: > From: Jake Oshins > > This defines the channel type for PCI front-ends in Hyper-V VMs. > > Signed-off-by: Jake Oshins > --- > include/linux/hyperv.h | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/include/linux/hyperv.h b/include/

Re: [PATCH v4 5/7] PCI: irqdomain: Look up IRQ domain by fwnode_handle

2015-10-29 Thread Andy Shevchenko
On Fri, Oct 30, 2015 at 1:46 AM, wrote: > From: Jake Oshins > > This patch adds a second way of finding an IRQ domain associated with > a root PCI bus. After looking to see if one can be found through > the OF tree, it attempts to look up the IRQ domain through an > fwnode_handle stored in the

RE: [PATCH 5/5] staging: fsl-mc: Management Complex restool driver

2015-10-29 Thread Lijun Pan
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 27, 2015 12:17 AM > To: Pan Lijun-B44306 > Cc: gre...@linuxfoundation.org; a...@arndb.de; de...@driverdev.osuosl.org; > linux-ker...@vger.kernel.org; Yoder Stuart-B08248 > ; katz Itai-RM05202 ; > Rivera Jose-B46482 ;

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

2015-10-29 Thread jakeo
From: Jake Oshins This defines the channel type for PCI front-ends in Hyper-V VMs. Signed-off-by: Jake Oshins --- include/linux/hyperv.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index ea0a0e3..5587899 100644 --- a/include/

[PATCH v4 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-10-29 Thread jakeo
From: Jake Oshins This patch introduces a new driver which exposes a root PCI bus whenever a PCI Express device is passed through to a guest VM under Hyper-V. The device can be single- or multi-function. The interrupts for the devices are managed by an IRQ domain, implemented within the driver.

[PATCH v4 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-10-29 Thread jakeo
From: Jake Oshins This patch series incorporates feedback from Gerry Liu (jiang@linux.intel.com). First, export functions that allow correlating Hyper-V virtual processors and Linux cpus, along with the means for invoking a hypercall that targets interrupts at chosen vectors on specfic cpus.

[PATCH v4 2/7] drivers:hv: Export hv_do_hypercall()

2015-10-29 Thread jakeo
From: Jake Oshins This patch exposes the function that hv_vmbus.ko uses to make hypercalls. This is necessary for retargeting an interrupt when it is given a new affinity and vector. Signed-off-by: Jake Oshins --- drivers/hv/hv.c | 20 ++-- drivers/hv/hyperv_vmbus.h |

[PATCH v4 5/7] PCI: irqdomain: Look up IRQ domain by fwnode_handle

2015-10-29 Thread jakeo
From: Jake Oshins This patch adds a second way of finding an IRQ domain associated with a root PCI bus. After looking to see if one can be found through the OF tree, it attempts to look up the IRQ domain through an fwnode_handle stored in the pci_sysdata struct. Signed-off-by: Jake Oshins ---

[PATCH v4 3/7] PCI: Make it possible to implement a PCI MSI IRQ Domain in a module.

2015-10-29 Thread jakeo
From: Jake Oshins The Linux kernel already has the concpet of IRQ domain, whereing a component can expose a set of IRQs which are managed by a particular interrupt controller chip or other subsystem. The PCI driver exposes the notion of an IRQ domain for Message-Signaled Interrupts (MSI) from PCI

[PATCH v4 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-10-29 Thread jakeo
From: Jake Oshins This patch adds an fwnode_handle to struct pci_sysdata, which is used by the next patch in the series when trying to locate an IRQ domain associated with a root PCI bus. Signed-off-by: Jake Oshins --- arch/x86/include/asm/pci.h | 11 +++ 1 file changed, 11 insertions(

[PATCH v4 1/7] drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

2015-10-29 Thread jakeo
From: Jake Oshins This patch exposes the mapping between Linux CPU number and Hyper-V virtual processor number. This is necessary because the hypervisor needs to know which virtual processor to target when making a mapping in the Interrupt Redirection Table in the I/O MMU. Signed-off-by: Jake Os

[PATCH V2 03/10] tools: hv: report ENOSPC errors in hv_fcopy_daemon

2015-10-29 Thread K. Y. Srinivasan
From: Olaf Hering Currently some "Unspecified error 0x80004005" is reported on the Windows side if something fails. Handle the ENOSPC case and return ERROR_DISK_FULL, which allows at least Copy-VMFile to report a meaning full error. Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --

[PATCH V2 08/10] drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

2015-10-29 Thread K. Y. Srinivasan
From: Jake Oshins This patch exposes the mapping between Linux CPU number and Hyper-V virtual processor number. This is necessary because the hypervisor needs to know which virtual processors to target when making a mapping in the Interrupt Redirection Table in the I/O MMU. Signed-off-by: Jake

[PATCH V2 09/10] drivers:hv: Export the API to invoke a hypercall on Hyper-V

2015-10-29 Thread K. Y. Srinivasan
From: Jake Oshins This patch exposes the function that hv_vmbus.ko uses to make hypercalls. This is necessary for retargeting an interrupt when it is given a new affinity. Since we are exporting this API, rename the API as it will be visible outside the hv.c file. Signed-off-by: Jake Oshins S

[PATCH V2 02/10] Drivers: hv: utils: run polling callback always in interrupt context

2015-10-29 Thread K. Y. Srinivasan
From: Olaf Hering All channel interrupts are bound to specific VCPUs in the guest at the point channel is created. While currently, we invoke the polling function on the correct CPU (the CPU to which the channel is bound to) in some cases we may run the polling function in a non-interrupt context

[PATCH V2 04/10] tools: hv: remove repeated HV_FCOPY string

2015-10-29 Thread K. Y. Srinivasan
From: Olaf Hering HV_FCOPY is already used as identifier in syslog. Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- tools/hv/hv_fcopy_daemon.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hv/hv_fcopy_daemon.c b/tools/hv/hv_fcopy_daemon.c ind

[PATCH V2 06/10] Drivers: hv: utils: use memdup_user in hvt_op_write

2015-10-29 Thread K. Y. Srinivasan
From: Olaf Hering Use memdup_user to handle OOM. Fixes: 14b50f80c32d ('Drivers: hv: util: introduce hv_utils_transport abstraction') Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_utils_transport.c |9 - 1 files changed, 4 insertions(+), 5 deletions

[PATCH V2 05/10] Drivers: hv: util: catch allocation errors

2015-10-29 Thread K. Y. Srinivasan
From: Olaf Hering Catch allocation errors in hvutil_transport_send. Fixes: 14b50f80c32d ('Drivers: hv: util: introduce hv_utils_transport abstraction') Signed-off-by: Olaf Hering Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_utils_transport.c |9 ++--- 1 files changed, 6 inserti

[PATCH V2 01/10] Drivers: hv: util: Increase the timeout for util services

2015-10-29 Thread K. Y. Srinivasan
Util services such as KVP and FCOPY need assistance from daemon's running in user space. Increase the timeout so we don't prematurely terminate the transaction in the kernel. Host sets up a 60 second timeout for all util driver transactions. The host will retry the transaction if it times out. Set

[PATCH V2 07/10] drivers/hv: cleanup synic msrs if vmbus connect failed

2015-10-29 Thread K. Y. Srinivasan
From: Andrey Smetanin Before vmbus_connect() synic is setup per vcpu - this means hypervisor receives writes at synic msr's and probably allocate hypervisor resources per synic setup. If vmbus_connect() failed for some reason it's neccessary to cleanup synic setup by call hv_synic_cleanup() at e

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

2015-10-29 Thread K. Y. Srinivasan
From: Jake Oshins This defines the channel type for PCI front-ends in Hyper-V VMs. Signed-off-by: Jake Oshins Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |3 +++ include/linux/hyperv.h| 11 +++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a

[PATCH V2 00/10] Drivers: hv: Miscellaneous fixes.

2015-10-29 Thread K. Y. Srinivasan
Miscellaneous fixes. In this version I have addressed review comments from Vitaly Kuznetsov . Also fixed up the authorship of the patch: drivers/hv: cleanup synic msrs if vmbus connect failed Andrey Smetanin (1): drivers/hv: cleanup synic msrs if vmbus connect failed Jake Oshins (3): drivers:

[PATCH 3/3] staging: lustre: checkpatch cleanups for nidstr.h

2015-10-29 Thread James Simmons
With nidstr.h now having the latest fixes we can now clean up all the remaining checkpatch errors for this header. Signed-off-by: James Simmons --- drivers/staging/lustre/include/linux/lnet/nidstr.h |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/staging/

[PATCH 2/3] staging: lustre: white space cleanups for nidstring.c

2015-10-29 Thread James Simmons
Remove the remaining white spaces in nidstring.c. Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/lnet/nidstrings.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/nidstrings.c b/drivers/staging/lustre/lnet/

[PATCH 0/3] make nidstring.c kernel style compliant

2015-10-29 Thread James Simmons
Last patch set to make nidstring.c and nidstr.h both report no errors with checkpatch and removal of the remaining white spaces. James Simmons (3): staging: lustre: checkpatch cleanups for nidstring.c staging: lustre: white space cleanups for nidstring.c staging: lustre: checkpatch cleanups

[PATCH 1/3] staging: lustre: checkpatch cleanups for nidstring.c

2015-10-29 Thread James Simmons
With nidstring now having the latest fixes we can now clean up all the remaining checkpatch errors for nidstring.c. Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/lnet/nidstrings.c | 80 ++--- 1 files changed, 44 insertions(+), 36 deletions(-) diff --git a/dr

[PATCH V2 08/12] staging: wilc1000: fix parameter name of host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_add_station function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. dri

[PATCH V2 10/12] staging: wilc1000: rename pstrAddStationMsg in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrAddStationMsg to add_sta_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH V2 12/12] staging: wilc1000: remove rates in host_int_add_station

2015-10-29 Thread Chaehyun Lim
Instead of using rates variable, it is used as add_sta_info->pu8Rates directly. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wil

[PATCH V2 09/12] staging: wilc1000: rename pstrStaParams in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrStaParams to sta_param to avoid camelcase. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)

[PATCH V2 11/12] staging: wilc1000: use kmemdup in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch replaces kmalloc followed by memcpy with kmemdup. Signed-off-by: Chaehyun Lim --- V2: add wilc1000 driver name in commit title because driver name is not included at V1. drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --

[PATCH V2 04/12] staging: wilc1000: fix parameter name of host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_station function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. dri

[PATCH V2 07/12] staging: wilc1000: fix return type of host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_add_station from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim --- V2: resend becaus

[PATCH V2 06/12] staging: wilc1000: rename pstrDelStationMsg in host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrDelStationMsg to del_sta_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_i

[PATCH V2 02/12] staging: wilc1000: fix parameter name of host_int_del_beacon

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_beacon function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. driv

[PATCH V2 03/12] staging: wilc1000: fix return type of host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_del_station from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim --- V2: resend becaus

[PATCH V2 05/12] staging: wilc1000: rename pu8MacAddr in host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes pu8MacAddr to mac_addr that is second argument of this function to avoid camelcase. Signed-off-by: Chaehyun Lim --- V2: resend because 11/12 patch is changed. drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files chang

[PATCH V2 01/12] staging: wilc1000: fix return type of host_int_del_beacon

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_del_beacon from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim --- V2: resend because

[PATCH] Staging: comedi: fixed comment, added a new line

2015-10-29 Thread Philippe Loctaux
From 16dae6c28a46ae257dcedd51d973aee7821053f3 Mon Sep 17 00:00:00 2001 From: Philippe Loctaux Date: Thu, 29 Oct 2015 22:45:16 +0100 Subject: [PATCH] Staging: comedi: fixed comment, added a new line Signed-off-by: Philippe Loctaux ---  drivers/staging/comedi/drivers/ssv_dnp.c | 3 ++-  1 file chan

[PATCH 5/6] staging: lustre: remove white space in hash.c

2015-10-29 Thread James Simmons
From: James Simmons Cleanup all the unneeded white space in hash.c. Signed-off-by: James Simmons --- drivers/staging/lustre/lustre/libcfs/hash.c | 342 ++- 1 files changed, 177 insertions(+), 165 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/hash.c b

[PATCH 1/6] staging: lustre: remove white space in libcfs_hash.h

2015-10-29 Thread James Simmons
From: James Simmons Cleanup all the unneeded white space in libcfs_hash.h. Signed-off-by: James Simmons --- .../lustre/include/linux/libcfs/libcfs_hash.h | 135 ++-- 1 files changed, 70 insertions(+), 65 deletions(-) diff --git a/drivers/staging/lustre/include/linux/libc

[PATCH 4/6] staging: lustre: fix remaining checkpatch issues for libcfs_hash.h

2015-10-29 Thread James Simmons
From: James Simmons Final cleanup to make libcfs_hash.h completely kernel standard compliant. Signed-off-by: James Simmons --- .../lustre/include/linux/libcfs/libcfs_hash.h | 25 --- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/drivers/staging/lustre/i

[PATCH 3/6] staging: lustre: move linux hash.h header to start of libcfs_hash.h

2015-10-29 Thread James Simmons
From: James Simmons Minor style cleanup to put hash.h header to the top of the libcfs_hash.h file. Signed-off-by: James Simmons --- .../lustre/include/linux/libcfs/libcfs_hash.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/include/lin

[PATCH 2/6] staging: lustre: remove obsolete comment in libcfs_hash.h

2015-10-29 Thread James Simmons
From: James Simmons Remove comment hash_long which was removed long ago. Signed-off-by: James Simmons --- .../lustre/include/linux/libcfs/libcfs_hash.h |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h

[PATCH 0/6] staging: lustre: second series for libcfs hash code cleanup

2015-10-29 Thread James Simmons
From: James Simmons This patch covers more style cleanup series for the libcfs hash code. Mostly removal of white spaces and resolving the checkpath issues in libcfs_hash.h. James Simmons (6): staging: lustre: remove white space in libcfs_hash.h staging: lustre: remove obsolete comment in li

[PATCH 6/6] staging: lustre: place linux header first in hash.c

2015-10-29 Thread James Simmons
From: James Simmons Always place linux headers first in libcfs header files. This avoid can potential build issues if any changes to a libcfs header land that starts using a linux header definition. Signed-off-by: James Simmons --- drivers/staging/lustre/lustre/libcfs/hash.c |2 +- 1 files

Re: [PATCH 1/6] staging: most: remove multiple blank lines

2015-10-29 Thread Greg KH
On Thu, Oct 29, 2015 at 02:17:03PM -0200, Albino B Neto wrote: > 2015-10-29 5:44 GMT-02:00 Chaehyun Lim : > > This patch removes multiple blank lines found by checkpatch. > > CHECK: Please don't use multiple blank lines > > > > Signed-off-by: Chaehyun Lim > > Good. Tips for Coding Style [0] > >

{{ U.N.O/W.B.O/10/15/82/05/9 }}

2015-10-29 Thread U / N
Please view the attached file for your code payment. United Nations Compensation Unit.docx Description: Binary data ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2015-10-29 Thread Haiyang Zhang
> -Original Message- > From: Richard Weinberger [mailto:richard.weinber...@gmail.com] > Sent: Tuesday, October 27, 2015 6:36 PM > To: David Miller > Cc: Haiyang Zhang ; o...@aepfle.de; Greg Kroah- > Hartman ; net...@vger.kernel.org; jasow...@redhat.com; > driverdev-devel@linuxdriverproje

GOOD DAY MY DEAR FRIEND

2015-10-29 Thread Mr. Kenneth NG Sing Yip
Mr Kenneth Sing Yip NG (Director & Senior Executive Officer) Hang Seng Bank Limited 83 Des Voeux Road, Central Hong Kong SAR FAX NO: + 852-3017-6738 GREETINGS!!! URGENT BUSINESS PROPOSAL OVERVIEW FOR YOU, FROM HONG KONG It is understandable that you might be a little bit apprehensive

[PATCH] staging: comedi: adv_pci1710: separate out PCI-1720 support as a new driver

2015-10-29 Thread H Hartley Sweeten
The PCI-1710 series boards are multifunction data acquisition boards with analog inputs and outputs, digital inputs and outputs, and counter/timer functions. The PCI-1720 is a simple 4 channel analog output board. It also uses a unique register map. Separate out the PCI-1720 support as a new driv

RE: [PATCH 4/5] staging: fsl-mc: bus rescan attribute to sync kernel with MC

2015-10-29 Thread Lijun Pan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, October 27, 2015 12:40 AM > To: Pan Lijun-B44306 > Cc: a...@arndb.de; de...@driverdev.osuosl.org; linux- > ker...@vger.kernel.org; Hamciuc Bogdan-BHAMCIU1 > ; Sharma Bhupesh-B45370 > ; Rivera Jose-B

Re: [PATCH 1/6] staging: most: remove multiple blank lines

2015-10-29 Thread Albino B Neto
2015-10-29 5:44 GMT-02:00 Chaehyun Lim : > This patch removes multiple blank lines found by checkpatch. > CHECK: Please don't use multiple blank lines > > Signed-off-by: Chaehyun Lim Good. Tips for Coding Style [0] 0 - https://www.kernel.org/doc/Documentation/CodingStyle Albino

RE: [lustre-devel] [PATCH 09/10] staging: lustre: fix remaining checkpatch issues for libcfs_hash.h

2015-10-29 Thread Simmons, James A.
>>diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h >>b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h >>index 5df8ba2..563b2b4 100644 >>--- a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h >>+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h

RE: [lustre-devel] [PATCH 08/10] staging: lustre: remove white space in libcfs_hash.h

2015-10-29 Thread Simmons, James A.
>>struct cfs_hash_bd { >>- struct cfs_hash_bucket *bd_bucket; /**< address of bucket */ >>- unsigned intbd_offset; /**< offset in bucket */ >>+ /**< address of bucket */ >>+ struct cfs_hash_bucket *bd_bucket; >>+ /**< offset in bucket */ >>+ unsigned

[patch] staging: lustre: potential underflow in libcfs_kkuc_group_add()

2015-10-29 Thread Dan Carpenter
My static checker says that "group" is a user controlled number that can be negative leading to an array underflow. I have looked at it, and I'm not an expert enough in lustre to say for sure if it is really a bug. Anyway, it's simple enough to make the variable unsigned which pleases the static c

[PATCH 12/12] staging: wilc1000: remove rates in host_int_add_station

2015-10-29 Thread Chaehyun Lim
Instead of using rates variable, it is used as add_sta_info->pu8Rates directly. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wi

[PATCH 10/12] staging: wilc1000: rename pstrAddStationMsg in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrAddStationMsg to add_sta_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc100

[PATCH 11/12] staging: use kmemdup in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch replaces kmalloc followed by memcpy with kmemdup. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c

[PATCH 05/12] staging: wilc1000: rename pu8MacAddr in host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes pu8MacAddr to mac_addr that is second argument of this function to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --

[PATCH 08/12] staging: wilc1000: fix parameter name of host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_add_station function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.h | 2 +

[PATCH 09/12] staging: wilc1000: rename pstrStaParams in host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrStaParams to sta_param to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/host_i

[PATCH 06/12] staging: wilc1000: rename pstrDelStationMsg in host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch renames pstrDelStationMsg to del_sta_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_

[PATCH 07/12] staging: wilc1000: fix return type of host_int_add_station

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_add_station from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim --- drivers/staging/

[PATCH 04/12] staging: wilc1000: fix parameter name of host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_station function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.h | 2 +

[PATCH 02/12] staging: wilc1000: fix parameter name of host_int_del_beacon

2015-10-29 Thread Chaehyun Lim
This patch changes struct host_if_drv of host_int_del_beacon function declaration from hWFIDrv to hif_drv. With this change, first parameter name of this function declaration and definition has same name as hif_drv. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.h | 2 +-

[PATCH 01/12] staging: wilc1000: fix return type of host_int_del_beacon

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_del_beacon from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim --- drivers/staging/w

[PATCH 03/12] staging: wilc1000: fix return type of host_int_del_station

2015-10-29 Thread Chaehyun Lim
This patch changes return type of host_int_del_station from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim --- drivers/staging/

Re: new version of the rename_rev.pl script

2015-10-29 Thread Sudip Mukherjee
On Thu, Oct 29, 2015 at 12:22:10PM +0300, Dan Carpenter wrote: > rename_rev.pl is a script to strip away the mechanical changes that we > often see in staging patches and leave just the interesting changes for > manual review. Thanks Dan. This CamelCase feature will be a life saver. I hope you rem

[patch 2/2] staging: lustre: remove m_ prefix from function pointers

2015-10-29 Thread Dan Carpenter
All the callers call these function pointers without the "m_" prefix and use macro magic to add it later behind the scenes. It means that you can't grep for the call sites. I considered modifying the call sites but in the end I decided that the "m_" prefix doesn't add anything so we can just get

[patch 1/2] staging: lustre: remove o_ prefix from function pointers

2015-10-29 Thread Dan Carpenter
We mostly refer to these function pointers using macros that use macro magic to add the "o_" prefix to the front. It means that you can't use cscope to find the caller. Heck, you can't even grep for it. I looked at preserving the "o_" prefix by removing the macro magic and adding "o_" to all the

new version of the rename_rev.pl script

2015-10-29 Thread Dan Carpenter
rename_rev.pl is a script to strip away the mechanical changes that we often see in staging patches and leave just the interesting changes for manual review. There are two new features in this version of rename_rev.pl. The -r option let's you use some pre-written recipes. There are two recipes

[PATCH 5/6] staging: most: rename DIM_Shutdown to dim_shutdown

2015-10-29 Thread Chaehyun Lim
This patch renames DIM_Shutdown to dim_shutdown to avoid camelcase found by checkpatch. CHECK: Avoid CamelCase: FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:676: Signed-off-by: Chaehyun Lim --- drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +- drivers/staging/most/hdm-dim2/dim2_hal.h | 2 +-

[PATCH 6/6] staging: most: rename DIM_DetachBuffers to dim_detach_buffers

2015-10-29 Thread Chaehyun Lim
This patch renames DIM_DetachBuffers to dim_detach_buffers to avoid camelcase found by checkpatch. CHECK: Avoid CamelCase: FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:886: Signed-off-by: Chaehyun Lim --- drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +- drivers/staging/most/hdm-dim2/dim2_hal

[PATCH 3/6] staging: most: add spaces preferred around that '<<'

2015-10-29 Thread Chaehyun Lim
This patch adds space around '<<' found by checkpatch. CHECK: spaces preferred around that '<<' (ctx:VxV) FILE: drivers/staging/most/hdm-dim2/dim2_reg.h:69: Signed-off-by: Chaehyun Lim --- drivers/staging/most/hdm-dim2/dim2_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/6] staging: most: remove blank line after an open brace

2015-10-29 Thread Chaehyun Lim
This patch removes blank line after an open brace found by checkpatch. CHECK: Blank lines aren't necessary after an open brace '{' Signed-off-by: Chaehyun Lim --- drivers/staging/most/hdm-dim2/dim2_hdm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.

[PATCH 4/6] staging: most: rename DIM_Startup to dim_startup

2015-10-29 Thread Chaehyun Lim
This patch renames DIM_Startup to dim_startup to avoid camelcase found by checkpatch. CHECK: Avoid CamelCase: FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:653: Signed-off-by: Chaehyun Lim --- drivers/staging/most/hdm-dim2/dim2_hal.c | 2 +- drivers/staging/most/hdm-dim2/dim2_hal.h | 2 +- dr

[PATCH 1/6] staging: most: remove multiple blank lines

2015-10-29 Thread Chaehyun Lim
This patch removes multiple blank lines found by checkpatch. CHECK: Please don't use multiple blank lines Signed-off-by: Chaehyun Lim --- drivers/staging/most/aim-network/networking.h | 2 -- drivers/staging/most/hdm-dim2/dim2_errors.h | 2 -- drivers/staging/most/hdm-dim2/dim2_hal.h | 3