Re: [PATCH 3/4] staging: cxtie1: remove unneeded mkret() calls

2014-03-09 Thread DaeSeok Youn
Ok. I will check and send it again. Thanks. Daeseok Youn. 2014-03-09 15:38 GMT+09:00, Greg KH gre...@linuxfoundation.org: On Fri, Mar 07, 2014 at 09:03:04AM +0900, Daeseok Youn wrote: The mkret() change a value of error from positive to negative. This patch is modified to return negative

Re: [PATCH 00/18] Resend of usbip-utils migration patches and various other fixes

2014-03-09 Thread Valentina Manea
I was notified that one of the patches in the series (staging: usbip: claim ports used by shared devices) breaks the build. I take full responsability for this as I haven't compiled the kernel with allyesconfig and I am sorry. This can be fixed by moving struct dev_state, usb_hub_claim_port() and

[PATCH 2/2] Staging: comedi: Validate early to flatten code

2014-03-09 Thread Conrad Meyer
Take advantage of -EINVAL returns to flatten code structure and hopefully reduce the number of 80+ character lines. Signed-off-by: Conrad Meyer cse@gmail.com --- .../comedi/drivers/addi-data/hwdrv_apci1500.c | 621 ++--- 1 file changed, 303 insertions(+), 318

Re: [PATCH 00/18] Resend of usbip-utils migration patches and various other fixes

2014-03-09 Thread Greg KH
On Sun, Mar 09, 2014 at 05:53:51PM +0200, Valentina Manea wrote: I was notified that one of the patches in the series (staging: usbip: claim ports used by shared devices) breaks the build. I take full responsability for this as I haven't compiled the kernel with allyesconfig and I am sorry.

Re: [PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-09 Thread Ben Hutchings
On Thu, 2014-03-06 at 03:13 -0800, K. Y. Srinivasan wrote: [...] @@ -593,8 +658,9 @@ static int netvsc_probe(struct hv_device *dev, net-netdev_ops = device_ops; /* TODO: Add GSO and Checksum offload */ - net-hw_features = NETIF_F_RXCSUM | NETIF_F_SG; - net-features =

[PATCH net-next] hyperv: Change the receive buffer size for legacy hosts

2014-03-09 Thread Haiyang Zhang
Due to a bug in the Hyper-V host verion 2008R2, we need to use a slightly smaller receive buffer size, otherwise the buffer will not be accepted by the legacy hosts. Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |1 + drivers/net/hyperv/netvsc.c

[PATCH 1/2] staging: cxtie1: remove unneeded mkret() calls

2014-03-09 Thread Daeseok Youn
The mkret() change a value of error from positive to negative. This patch is modified to return negative value when it failed. It doesn't need to call with function for changing from positive to negative. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- drivers/staging/cxt1e1/linux.c

[PATCH 2/2] staging: cxt1e1: remove redundant memset() call

2014-03-09 Thread Daeseok Youn
The name array doens't need to set to 0. Because sprintf/snprintf adds a terminating '\0'. And also it doesn't need to assign name array address to np pointer. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- drivers/staging/cxt1e1/linux.c |8 +++- 1 files changed, 3

[PATCH] [staging][r8188eu]: memory leak in rtw_free_cmd_obj if command is (_Set_Drv_Extra)

2014-03-09 Thread Wang, Xiaoming
pcmd-parmbuf-pbuf has been allocated if command is GEN_CMD_CODE(_Set_Drv_Extra), and it enqueued by rtw_enqueue_cmd. rtw_cmd_thread dequeue pcmd by rtw_dequeue_cmd. The memory leak happened on this branch if( _FAIL == rtw_cmd_filter(pcmdpriv, pcmd) ) which goto post_process directly against

RE: [PATCH] [staging][r8188eu]: memory leak in rtw_free_cmd_obj if command is (_Set_Drv_Extra)

2014-03-09 Thread Liu, Chuansheng
Hi, -Original Message- From: Wang, Xiaoming Sent: Monday, March 10, 2014 11:38 PM To: gre...@linuxfoundation.org; valentina.mane...@gmail.com; dan.carpen...@oracle.com; standby2...@gmail.com Cc: de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; Zhang, Dongxing; Wang,