答复: [PATCHv7 0/5] Add initial support for slimport anx78xx

2016-01-05 Thread Chengxiang Jiao
Hi Enric, Just to confirm with you. This version is from https://chromium-review.googlesource.com/#/c/308442/11, right? Chengxiang 2016/1/5 -邮件原件- 发件人: Enric Balletbo i Serra [mailto:eballe...@gmail.com] 发送时间: 2016年1月4日 5:38 收件人: devicet...@vger.kernel.org; linux-ker...@vger.kernel.or

Re: [PATCH] Staging: speakup: Fix getting port information

2016-01-05 Thread Dan Carpenter
On Tue, Jan 05, 2016 at 02:19:12AM +0100, Samuel Thibault wrote: > --- a/drivers/staging/speakup/serialio.c > +++ b/drivers/staging/speakup/serialio.c > @@ -6,6 +6,9 @@ > #include "spk_priv.h" > #include "serialio.h" > > +#include > +#include > + I'm sorry to do this but can you add a commen

Re: [PATCH V5 9/9] hvsock: introduce Hyper-V VM Sockets feature

2016-01-05 Thread Vitaly Kuznetsov
Dexuan Cui writes: Just some minor nitpicks below -- I have to admit I didn't test the feature. [..skip..] > + > + if (sk->sk_err) { > + ret = -sk->sk_err; > + goto out_wait_error; > + } else { > + ret = 0; > + } > + > +out_wait: > + finish_w

Re: [PATCH V5 4/9] Drivers: hv: ring_buffer: enhance hv_ringbuffer_read() to support hvsock

2016-01-05 Thread Vitaly Kuznetsov
Dexuan Cui writes: > To get the payload of hvsock, we need raw=0 to skip the level-1 header > (i.e., struct vmpacket_descriptor desc) and we also need to skip the > level-2 header (i.e., struct vmpipe_proto_header pipe_hdr). > > NB: if the length of the hvsock payload is not aligned with the 8-by

Re: [PATCH V5 5/9] Drivers: hv: vmbus: add APIs to send/recv hvsock packets

2016-01-05 Thread Vitaly Kuznetsov
Dexuan Cui writes: > This will be used by the coming net/hvsock driver. > > Signed-off-by: Dexuan Cui > --- > drivers/hv/channel.c | 59 > ++ > include/linux/hyperv.h | 9 > 2 files changed, 68 insertions(+) > > diff --git a/drivers/h

Re: [PATCH V5 7/9] Drivers: hv: vmbus: add a mechanism to pass hvsock events to the hvsock driver

2016-01-05 Thread Vitaly Kuznetsov
Dexuan Cui writes: > For now only 1 event is defined: HVSOCK_RESCIND_CHANNEL. > We'll have more events in the future. > > Signed-off-by: Dexuan Cui > --- > drivers/hv/channel_mgmt.c | 18 ++ > include/linux/hyperv.h| 17 + > 2 files changed, 35 insertions(+)

[PATCH] staging/ion: Add support to get ion handle from dma buf

2016-01-05 Thread Rohit kumar
Currently we can only import dma buf fd's to get ion_handle. Adding support to import dma buf handles to support kernel specific use cases. Signed-off-by: Rohit kumar --- Currently, ION is the memory manager for graphics in android. However, in other linux platforms such as Tizen, DRM-GEM is used

[PATCH 09/13] staging: wilc1000: rename pvUserArg in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames pvUserArg to user_arg to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interfac

[PATCH 04/13] staging: wilc1000: rename pu8ChnlFreqList in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames pu8ChnlFreqList to ch_freq_list to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/hos

[PATCH 07/13] staging: wilc1000: rename IEsLen in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames IEsLen to ies_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 8 drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_interfac

[PATCH 02/13] staging: wilc1000: rename u8ScanSource in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames u8ScanSource to scan_source to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_in

[PATCH 01/13] staging: wilc1000: fix return type of wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch changes return type of wilc_scan from s32 to int. The result variable gets return value from wilc_mq_send that has data 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/wilc1000/host

[PATCH 06/13] staging: wilc1000: rename pu8IEs in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames pu8IEs to ies to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/d

[PATCH 13/13] staging: wilc1000: fix return type of wilc_init

2016-01-05 Thread Chaehyun Lim
This patch changes return type of wilc_init from s32 to int. The error code as -ENOMEM or -EFAULT is returned in the wilc_init. It is better to use return type of int in this function, not s32. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wi

[PATCH 03/13] staging: wilc1000: rename u8ScanType in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames u8ScanType to scan_type to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interf

[PATCH 05/13] staging: wilc1000: rename u8ChnlListLen in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames u8ChnlListLen to ch_list_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 8 drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/ho

[PATCH 11/13] staging: wilc1000: use kmemdup instead of kmalloc/memcpy

2016-01-05 Thread Chaehyun Lim
This patch replaces kmalloc followed by memcpy with kmemdup. It is also added error checking to return -ENOMEM when kmemdup is failed. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/driver

[PATCH 10/13] staging: wilc1000: rename pstrHiddenNetwork in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames pstrHiddenNetwork to hidden_network to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 10 +- drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/

[PATCH 08/13] staging: wilc1000: rename ScanResult in wilc_scan

2016-01-05 Thread Chaehyun Lim
This patch renames ScanResult to scan_result to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 8 drivers/staging/wilc1000/host_interface.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_

[PATCH 12/13] staging: wilc1000: rename phWFIDrv in wilc_init declaration

2016-01-05 Thread Chaehyun Lim
The second argument name is different between wilc_init declaration and definition. This patch renames phWFIDrv to hif_drv_handler to match argument name. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

RE: [PATCH V5 4/9] Drivers: hv: ring_buffer: enhance hv_ringbuffer_read() to support hvsock

2016-01-05 Thread Dexuan Cui
> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, January 5, 2016 20:31 > ... > > To get the payload of hvsock, we need raw=0 to skip the level-1 header > > (i.e., struct vmpacket_descriptor desc) and we also need to skip the > > level-2 header (i.e., struct vmpipe_proto_header

RE: [lustre-devel] [PATCH] staging: lustre/lustre/libcfs: Fix type mismatch reported by sparse

2016-01-05 Thread Simmons, James A.
>> On Wed, Dec 09, 2015 at 10:38:13PM +0530, Niranjan Dighe wrote: >>> The third argument to function kportal_memhog_alloc is expected to >>> be gfp_t whereas the actual argument was unsigned int. Fix this by >>> explicitly typecasting to gfp_t >>> >>> Signed-off-by: Niranjan Dighe >>> --- >>> dr

Re: [PATCH] staging: rtl8723au: use %pM and %ph formatting

2016-01-05 Thread Jes Sorensen
mele...@gmail.com writes: > From: Daniil Leshchev > > use %pM and %ph specifiers instead of placing each byte on stack. > (staging/rtl8723au/TODO) > > Signed-off-by: Daniil Leshchev > --- > drivers/staging/rtl8723au/core/rtw_recv.c | 32 > +- > .../staging/rtl8723au

RE: [PATCH V5 5/9] Drivers: hv: vmbus: add APIs to send/recv hvsock packets

2016-01-05 Thread Dexuan Cui
> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, January 5, 2016 20:39 > ... > > +/* > > + * vmbus_sendpacket_hvsock - Send the hvsock payload 'buf' of a length > > 'len' > > + */ > > +int vmbus_sendpacket_hvsock(struct vmbus_channel *channel, void *buf, > u32 len) > > ... >

Re: [RFC PATCH] staging: rtl8723au: fix byte order problems

2016-01-05 Thread Jes Sorensen
Julian Calaby writes: > Hi Sven, > > On Tue, Jan 5, 2016 at 2:29 AM, Sven Dziadek wrote: >> diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c >> b/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c >> index 1662c03c..57f5941 100644 >> --- a/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c >> +++ b

RE: [PATCH V5 7/9] Drivers: hv: vmbus: add a mechanism to pass hvsock events to the hvsock driver

2016-01-05 Thread Dexuan Cui
> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > > diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c > > > > +/* hvsock related definitions */ > > +enum hvsock_event { > > + /* The host application is close()-ing the connection */ > > + HVSOCK_RESCIND_CHANNEL, > > +}; >

Re: [RFC PATCH] staging: rtl8723au: fix byte order problems

2016-01-05 Thread Larry Finger
On 01/05/2016 09:53 AM, Jes Sorensen wrote: Julian Calaby writes: Hi Sven, On Tue, Jan 5, 2016 at 2:29 AM, Sven Dziadek wrote: diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c b/drivers/staging/rtl8723au/hal/rtl8723a_cmd.c index 1662c03c..57f5941 100644 --- a/drivers/staging/rtl872

Re: [PATCH] media: use unsigned for pad index

2016-01-05 Thread Lad, Prabhakar
On Fri, Dec 11, 2015 at 2:26 PM, Mauro Carvalho Chehab wrote: > The pad index is unsigned. Replace the occurences of it where > pertinent. > > Suggested-by: Laurent Pinchart > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/staging/media/davinci_vpfe/dm365_ipipeif.c | 2 +- > drivers/stagi

Re: [PATCH] staging/ion: Add support to get ion handle from dma buf

2016-01-05 Thread Laura Abbott
On 01/05/2016 05:03 AM, Rohit kumar wrote: Currently we can only import dma buf fd's to get ion_handle. Adding support to import dma buf handles to support kernel specific use cases. Signed-off-by: Rohit kumar --- Currently, ION is the memory manager for graphics in android. However, in other l

Re: [PATCH v2] staging/rdma/hfi1: check for ARMED->ACTIVE transition in receive interrupt

2016-01-05 Thread Jubin John
On Mon, Jan 04, 2016 at 10:23:46PM +0200, Leon Romanovsky wrote: > On Mon, Jan 04, 2016 at 11:21:19AM -0500, Jubin John wrote: > > From: Jim Snow > > > > } else { > > + /* Auto activate link on non-SC15 packet receive */ > > + if (unlikely(rcd->ppd-

[PATCH 3/7] staging:lustre: remove the IOC_LIBCFS_MEMHOG ioctl

2016-01-05 Thread James Simmons
From: Parinay Kondekar The IOC_LIBCFS_MEMHOG is not needed so remove it. Signed-off-by: Parinay Kondekar Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5844 Reviewed-on: http://review.whamcloud.com/17492 Reviewed-by: Andreas Dilger Reviewed-by: Dmitry Eremin

[PATCH 0/7] staging:lustre: get rid of IOC_LIBCFS_MEMHOG and IOC_LIBCFS_PANIC ioctls

2016-01-05 Thread James Simmons
Removing unused IOC_LIBCFS_MEMHOG and IOC_LIBCFS_PANIC ioctls from the libcfs/ lnet/ code. This cleanup allows us to remove the cfs_psdev abstraction. Signed-off-by: Parinay Kondekar Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5844 Reviewed-on: http://review.

[PATCH 4/7] staging:lustre: remove struct libcfs_device_userstate

2016-01-05 Thread James Simmons
From: Parinay Kondekar With the removal of the IOC_LIBCFS_MEMHOG ioctl we no longer need struct libcfs_device_userstate. Signed-off-by: Parinay Kondekar Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5844 Reviewed-on: http://review.whamcloud.com/17492 Reviewed

[PATCH 2/7] staging:lustre: remove last bits of the IOC_LIBCFS_PANIC ioctl

2016-01-05 Thread James Simmons
From: Parinay Kondekar A few pieces still exist for the IOC_LIBCFS_PANIC ioctl. Remove these last bits to prevent old tools from using them. The latest lustre utilities no longer use this ioctl. Signed-off-by: Parinay Kondekar Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.

[PATCH 5/7] staging:lustre: simplify libcfs_psdev_[open|release]

2016-01-05 Thread James Simmons
From: Parinay Kondekar With struct libcfs_device_userstate gone we can move the remaining code of libcfs_psdev_ops.p_[open|close] into the libcfs_psdev_[open|release] functions directly. Signed-off-by: Parinay Kondekar Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/brow

[PATCH 1/7] staging:lustre: remove obsolete comment in libcfs_ioctl.h

2016-01-05 Thread James Simmons
From: Parinay Kondekar The libcfs_ioctl.h header has a comment about a snapshot ioctl which has been removed for years. Lets remove the comment to avoid confusion. Broken out of patch 17492. Signed-off-by: Parinay Kondekar Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/

[PATCH 6/7] staging:lustre: call libcfs_ioctl directly

2016-01-05 Thread James Simmons
From: Parinay Kondekar No reason to go through the cfs_psdev_ops abstract to call libcfs_ioctl. Just call libcfs_ioctl directly. Signed-off-by: Parinay Kondekar Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5844 Reviewed-on: http://review.whamcloud.com/17492

[PATCH 7/7] staging:lustre: remove libcfs pseudo device abstraction

2016-01-05 Thread James Simmons
From: Parinay Kondekar With the libcfs ioctl cleanup we no longer need the libcfs pseudo device abstraction. Signed-off-by: Parinay Kondekar Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5844 Reviewed-on: http://review.whamcloud.com/17492 Reviewed-by: Andreas

[PATCH v3] staging/rdma/hfi1: check for ARMED->ACTIVE transition in receive interrupt

2016-01-05 Thread Jubin John
From: Jim Snow The link state will transition from ARMED to ACTIVE when a non-SC15 packet arrives, but the driver might not notice the change. With this fix, if the slowpath receive interrupt handler sees a non-SC15 packet while in the ARMED state, we queue work to call linkstate_active_work fro

[PATCH V2] staging: rtl8712: consolidate kmalloc + memset 0 to kzalloc

2016-01-05 Thread Nicholas Mc Guire
+ CONFIG_STAGING=y, CONFIG_R8712U=m Patch is against linux-next (localversion-next is -next-20160105) drivers/staging/rtl8712/rtl871x_recv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_recv.c b/drivers/staging/rtl8712/rtl871x_recv.c index

I am presently in your Country/

2016-01-05 Thread John Grieger
I am a Diplomat from the Caribbeans named John Grieger, mandated to deliver your inheritance to you in your country of residence. The funds total AU$10.5 Million and you were made the beneficiary of these funds by a benefactor whose details will be revealed to you after handing over the Fund

RE: [lustre-devel] [PATCH] staging: lustre/lustre/libcfs: Fix type mismatch reported by sparse

2016-01-05 Thread Simmons, James A.
>>>2. Is it OK to hardcode the appropriate gfp_t flags for the >>>IOC_LIBCFS_MEMHOG, as the userspace >>>seems to be taking the decision about the page allocation >>>zone/strategy, is this what is intended? >> >> The memhog functionality is used to introduce memory pressure on a client >> or server

Re: [RFC PATCH 00/15] staging/rdma/hfi1: Initial patches to add rdmavt support in HFI1

2016-01-05 Thread ira.weiny
> > > > > > > > > > If Doug accepts the library changes, let me know that public git > > > > > commit > > > > > and I can pull it into the staging-next branch and you can continue to > > > > > send me staging patches that way. > > > > > > > > Won't this cause a conflict during the merge window?

Re: [PATCH] staging/ion: Add support to get ion handle from dma buf

2016-01-05 Thread Rohit
Sorry to resend the patch without [RESEND] tag. Actually I had missed to add de...@driverdev.osuosl.org, linux-ker...@vger.kernel.org in mail last time. I will update the commit message with the explanation and send the PATCHv2 soon. Thanks, Rohit On Tue, 05 Jan 2016 10:12:39 -0800 Laura Abbott

RE: [PATCH V5 9/9] hvsock: introduce Hyper-V VM Sockets feature

2016-01-05 Thread Dexuan Cui
> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, January 5, 2016 17:52 > > Just some minor nitpicks below -- I have to admit I didn't test the feature. > > [..skip..] > > > + > > + if (sk->sk_err) { > > + ret = -sk->sk_err; > > + goto out_wait_error; >

[PATCHv2 1/1] staging/ion: Add support to get ion handle from dma buf

2016-01-05 Thread Rohit kumar
Currently we can only import dma buf fd's to get ion_handle. Adding support to import dma buf handles to support kernel specific use cases. An example use case is in linux platforms such as Tizen, in which DRM-GEM is used for buffer management for graphics. It has gem_handle corresponding to a buf