[PATCH 2/2 RESEND] staging: dgnc: remove useless error value assignment

2016-05-09 Thread Daeseok Youn
The "result" variable in dgnc_get_mstat() was initialized with "-EIO". But if the "ch" is not null, "result" will be set to zero and if the "ch" is null, dgnc_get_mstat() will return "-ENXIO" as an error. So "-EIO" error value was useless in dgnc_get_mstat(). Signed-off-by: Daeseok Youn --- RESEN

[PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-05-09 Thread Daeseok Youn
The dgnc_block_til_ready() is only used in dgnc_tty_open(). The unit data(struct un_t) was stored into tty->driver_data in dgnc_tty_open(). And also tty and un were tested about NULL so these variables doesn't need to check for NULL in dgnc_block_til_ready(). Signed-off-by: Daeseok Youn --- RESEN

Re: [PATCH 1/3] staging: dgnc: remove redundant NULL check in

2016-05-09 Thread DaeSeok Youn
2016-05-09 21:08 GMT+09:00 Greg KH : > On Wed, May 04, 2016 at 02:13:04PM +0900, Daeseok Youn wrote: >> tty and ch are already checked for NULL >> before calling dgnc_block_til_ready(). >> >> Signed-off-by: Daeseok Youn > > Your subject line doesn't make sense, please fix it up and resend. OK. I w

Re: [PATCH 2/3] staging: dgnc: remove useless assigned error value in

2016-05-09 Thread DaeSeok Youn
2016-05-09 21:09 GMT+09:00 Greg KH : > On Wed, May 04, 2016 at 02:13:26PM +0900, Daeseok Youn wrote: >> the result in dgnc_get_mstat() was initialized with -EIO but >> there are no use of EIO as a result in this function. >> >> Signed-off-by: Daeseok Youn >> --- >> drivers/staging/dgnc/dgnc_tty.c

Re: [RESEND PATCH] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-09 Thread Chen Feng
Hi Laura, On 2016/5/10 7:50, Laura Abbott wrote: > On 05/09/2016 01:37 AM, Chen Feng wrote: >> Add ion cached pool in system heap. >> >> Signed-off-by: Chen Feng >> Signed-off-by: Xia Qing >> Reviewed-by: Fu Jun >> --- >> drivers/staging/android/ion/ion_system_heap.c | 145 >> +++

Re: [RESEND PATCH] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-09 Thread Laura Abbott
On 05/09/2016 01:37 AM, Chen Feng wrote: Add ion cached pool in system heap. Signed-off-by: Chen Feng Signed-off-by: Xia Qing Reviewed-by: Fu Jun --- drivers/staging/android/ion/ion_system_heap.c | 145 +- 1 file changed, 95 insertions(+), 50 deletions(-) diff --git

Re: [PATCH] staging: speakup: ensure we do not overrun synths array

2016-05-09 Thread Samuel Thibault
Colin King, on Mon 09 May 2016 23:22:14 +0100, wrote: > From: Colin Ian King > > synth_add allows one to add MAXSYNTHS synths to the synths array; > however it always NULLifies the next synth in the array which > means that on the MAXSYNTHS synth we get an out-of-bounds write of > the NULL to the

[PATCH] staging: speakup: ensure we do not overrun synths array

2016-05-09 Thread Colin King
From: Colin Ian King synth_add allows one to add MAXSYNTHS synths to the synths array; however it always NULLifies the next synth in the array which means that on the MAXSYNTHS synth we get an out-of-bounds write of the NULL to the synths array. Make the synths array MAXSYNTHS + 1 elements in si

URGENT

2016-05-09 Thread Mrs Maria Luis
Greetings, I am Mrs.Katherine Pascal. an aging widow suffering from Cancer illness .I have some funds Which I have inherited from my late husband, the sum of ($10.9 Million Dollars) And I needed a very honest and sincere Individual or co-operate organization that will use the fund for work of

RE: [PATCH v9 net-next 1/2] hv_sock: introduce Hyper-V Sockets

2016-05-09 Thread Dexuan Cui
> From: David Miller [mailto:da...@davemloft.net] > Sent: Monday, May 9, 2016 1:45 > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; cav...@redhat.com;

[PATCH 3/4] staging: lustre: libcfs: fix memort leak in libcfs crypto layer

2016-05-09 Thread James Simmons
During code review Boyko discovered a memory leak. This patch fixes that leak. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4423 Reviewed-on: http://review.whamcloud.com/19716 Reviewed-by: Alexander Boyko Reviewed-by: Frank Zago Reviewed-by: Oleg Drokin Sign

[PATCH 4/4] staging: lustre: ko2iblnd: fix memory corruption with fragments

2016-05-09 Thread James Simmons
In my test of the upstream client this change exposed a long standing issues where we have a offset that is not page algined would causes us to access memory beyond the scatter gather list which was causing memory corruption when all 256 fragments were in use. Signed-off-by: James Simmons --- ..

[PATCH 1/4] staging: lustre: o2iblnd: limit cap.max_send_wr for MLX5

2016-05-09 Thread James Simmons
From: Dmitry Eremin Decrease cap.max_send_wr until it is accepted by rdma_create_qp() Signed-off-by: Dmitry Eremin Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7124 Reviewed-on: http://review.whamcloud.com/18347 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Oleg Droki

[PATCH 2/4] staging: lustre: o2iblnd: make rdma_create_id() support containers

2016-05-09 Thread James Simmons
From: Li Dongyang Add support for lustre's ko2iblnd driver to work with containers which was requested by Sebastien Buisson. Signed-off-by: Li Dongyang Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6215 Reviewed-on: http://review.whamcloud.com/18759 Reviewed-by: James Simmons Reviewed-by

[PATCH 0/4] staging: lustre: small recent fixes for LNet/libcfs

2016-05-09 Thread James Simmons
Here are various fixes and improvements for the libcfs and LNet layer. Two memory leaks fixed as well as adding container support for the ko2iblnd driver. Lastly handle the lower limit of the mlx5 driver for cap.max_send_wr. Dmitry Eremin (1): staging: lustre: o2iblnd: limit cap.max_send_wr for

Re: [RESEND PATCH] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-09 Thread Chen Feng
Hi Greg, Please see my v1 version for detail. Thank you. On 2016年05月09日 17:02, Greg KH wrote: > On Mon, May 09, 2016 at 04:37:34PM +0800, Chen Feng wrote: >> Add ion cached pool in system heap. >> >> Signed-off-by: Chen Feng >> Signed-off-by: Xia Qing >> Reviewed-by: Fu Jun >> --- >> driver

Re: [PATCH] Staging: wlan-ng: fix comments style

2016-05-09 Thread Kroah-Hartman
On Sun, May 08, 2016 at 10:45:16AM -0400, YU Bo wrote: > The patch fixed warning reported by checkpatch.pl: Block comments use a > trailing */ on a separate line. > > Signed-off-by: YU Bo > --- > drivers/staging/wlan-ng/prism2mgmt.h |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH] staging/gdm724x: Use tty_alloc_driver instead of alloc_tty_driver

2016-05-09 Thread Greg KH
On Sat, May 07, 2016 at 11:29:14PM -0400, Bruno Carvalho wrote: > - alloc_tty_driver() is deprecated. So it is replaced by tty_alloc_driver() > > Signed-off-by: Bruno Carvalho > --- > drivers/staging/gdm724x/gdm_tty.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/d

Re: [PATCH 2/3] staging: dgnc: remove useless assigned error value in

2016-05-09 Thread Greg KH
On Wed, May 04, 2016 at 02:13:26PM +0900, Daeseok Youn wrote: > the result in dgnc_get_mstat() was initialized with -EIO but > there are no use of EIO as a result in this function. > > Signed-off-by: Daeseok Youn > --- > drivers/staging/dgnc/dgnc_tty.c | 4 +--- > 1 file changed, 1 insertion(+),

Re: [PATCH 1/3] staging: dgnc: remove redundant NULL check in

2016-05-09 Thread Greg KH
On Wed, May 04, 2016 at 02:13:04PM +0900, Daeseok Youn wrote: > tty and ch are already checked for NULL > before calling dgnc_block_til_ready(). > > Signed-off-by: Daeseok Youn Your subject line doesn't make sense, please fix it up and resend. thanks, greg k-h _

Re: [PATCH v2 1/1] Staging: android: uapi: ion: Fixes indentation

2016-05-09 Thread Greg KH
On Sun, May 08, 2016 at 01:41:47PM +0200, Thimo Braker wrote: > Fixes the indentation before variable names. > > Signed-off-by: Thimo Braker > --- > drivers/staging/android/uapi/ion.h | 20 ++-- > drivers/staging/android/uapi/ion_test.h | 10 +- > 2 files changed, 15

[PATCH v1] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-09 Thread Chen Feng
Add ion cached pool in system heap. This patch add a cached pool in system heap. It has a great improvement of alloc for cached buffer. v1: Makes the cached buffer zeroed before going to pool Signed-off-by: Chen Feng Signed-off-by: Xia Qing Reviewed-by: Fu Jun --- drivers/staging/android/ion

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-05-09 Thread Jarkko Sakkinen
On Mon, May 09, 2016 at 08:27:04AM +0200, Thomas Gleixner wrote: > On Mon, 9 May 2016, Jarkko Sakkinen wrote: > > On Fri, May 06, 2016 at 01:54:14PM +0200, Thomas Gleixner wrote: > > > On Fri, 6 May 2016, Jarkko Sakkinen wrote: > > > > > > > On Tue, May 03, 2016 at 04:06:27AM -0500, Dr. Greg Wetts

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-05-09 Thread Jarkko Sakkinen
On Mon, May 09, 2016 at 09:04:09AM +0200, Greg KH wrote: > On Mon, May 09, 2016 at 08:38:25AM +0300, Jarkko Sakkinen wrote: > > On Fri, May 06, 2016 at 01:54:14PM +0200, Thomas Gleixner wrote: > > > On Fri, 6 May 2016, Jarkko Sakkinen wrote: > > > > > > > On Tue, May 03, 2016 at 04:06:27AM -0500,

Re: [RESEND PATCH] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-09 Thread Greg KH
On Mon, May 09, 2016 at 04:37:34PM +0800, Chen Feng wrote: > Add ion cached pool in system heap. > > Signed-off-by: Chen Feng > Signed-off-by: Xia Qing > Reviewed-by: Fu Jun > --- > drivers/staging/android/ion/ion_system_heap.c | 145 > +- > 1 file changed, 95 inserti

[RESEND PATCH] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-09 Thread Chen Feng
Add ion cached pool in system heap. Signed-off-by: Chen Feng Signed-off-by: Xia Qing Reviewed-by: Fu Jun --- drivers/staging/android/ion/ion_system_heap.c | 145 +- 1 file changed, 95 insertions(+), 50 deletions(-) diff --git a/drivers/staging/android/ion/ion_system_h

Re: [PATCH net-next 4/5] treewide: replace dev->trans_start update with helper

2016-05-09 Thread Marc Kleine-Budde
On 05/03/2016 04:33 PM, Florian Westphal wrote: > Replace all trans_start updates with netif_trans_update helper. > change was done via spatch: > > struct net_device *d; > @@ > - d->trans_start = jiffies > + netif_trans_update(d) > > Compile tested only. > > Cc: user-mode-linux-de...@lists.sourc

Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions

2016-05-09 Thread Jarkko Sakkinen
On Mon, May 09, 2016 at 08:29:17AM +0300, Jarkko Sakkinen wrote: > On Fri, Apr 29, 2016 at 03:22:19PM -0700, Jethro Beekman wrote: > > On 29-04-16 13:04, Jarkko Sakkinen wrote: > > >>> Why would you want to do that? > > >> > > >> ... > > > > > > Do you see this as a performance issue or why do you

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-05-09 Thread Greg KH
On Mon, May 09, 2016 at 08:38:25AM +0300, Jarkko Sakkinen wrote: > On Fri, May 06, 2016 at 01:54:14PM +0200, Thomas Gleixner wrote: > > On Fri, 6 May 2016, Jarkko Sakkinen wrote: > > > > > On Tue, May 03, 2016 at 04:06:27AM -0500, Dr. Greg Wettstein wrote: > > > > It would be helpful and instructi