[PATCH 7/8] staging/lustre/ptlrpc: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/ptlrpc directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ptlrpc/client.c | 6 --

[PATCH 8/8] staging/lustre/lmv: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/lmv directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lmv/lmv_obd.c | 3 +-- 1 file changed, 1

[PATCH 0/8] Lustre: Multiple assignments removal.

2016-06-09 Thread Oleg Drokin
These patches remove multiple assignments in Lustre, that makes checkpatch (somewhat understandably) unhappy. Nathaniel Clark (8): staging/lustre/osc: Fix Multiple Assignment Warnings staging/lustre/fid: Fix Multiple Assignments staging/lustre/ldlm: Fix Multiple Assignments

[PATCH 1/8] staging/lustre/osc: Fix Multiple Assignment Warnings

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/osc directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/osc/osc_cache.c | 6 --

[PATCH 4/8] staging/lustre/llite: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/llite directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/llite_lib.c | 3 ++-

[PATCH 3/8] staging/lustre/ldlm: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/ldlm directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 3 ++-

[PATCH 6/8] staging/lustre/obdclass: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/obdclass directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/obdclass/llog.c | 6 -- 1 file

[PATCH 2/8] staging/lustre/fid: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/fid directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fid/fid_request.c | 6 -- 1 file

[PATCH 5/8] staging/lustre/lov: Fix Multiple Assignments

2016-06-09 Thread Oleg Drokin
From: Nathaniel Clark Fix all multiple assignments on lustre/lov directory. Signed-off-by: Nathaniel Clark Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lov/lov_obd.c | 9 - 1 file changed,

[PATCH] staging: comedi: dt2811: Fixed commenting coding style issues.

2016-06-09 Thread Akshay Shipurkar
Fixed all 4 commenting coding style warnings generated by checkpatch.pl on dt2811.c Signed-off-by: Akshay Shipurkar --- drivers/staging/comedi/drivers/dt2811.c | 248 1 file changed, 124 insertions(+), 124 deletions(-) diff --git

Re: [PATCH 2/3] staging: lustre: lnet: Allocate MEs and small MDs in own kmem_caches

2016-06-09 Thread Greg Kroah-Hartman
On Thu, Jun 09, 2016 at 06:45:46PM -0400, James Simmons wrote: > From: Bruno Faccini > > As part of LU-3848 and LU-4330, it has been discovered that LNET > MEs and small MDs (<=128 Bytes) are allocated in kmem_cache > and thus can suffer quite frequent corruptions, from

Re: [PATCH 3/3] staging: lustre: lnet: optimize memory foot print for lnet_libmd

2016-06-09 Thread Greg Kroah-Hartman
On Thu, Jun 09, 2016 at 06:45:47PM -0400, James Simmons wrote: > From: Bruno Faccini > > The lnet_libmd struct fields have been re-ordered to optimize its > memory foot-print. This isn't a regression, so isn't ok for 4.7-rc releases, sorry. greg k-h

Re: [PATCH net-next] netvsc: Use the new in-place consumption APIs in the rx path

2016-06-09 Thread Linus Torvalds
Srinivasan, these are all sent through linuxonhyperv.com, and fail DMARC because they have a microsoft.com address but no valid DKIM. Please fix your email setup. You need to go through the real microsoft smtp servers if you use a microsoft.com address. Or you need to get linuxonhyperv.com

RE: [PATCH net-next] netvsc: Use the new in-place consumption APIs in the rx path

2016-06-09 Thread KY Srinivasan
> -Original Message- > From: Linus Torvalds [mailto:torva...@linux-foundation.org] > Sent: Thursday, June 9, 2016 5:12 PM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; lkml ker...@vger.kernel.org>; de...@linuxdriverproject.org;

[PATCH 1/1] Drivers: hv: vmbus: fix the race when querying & updating the percpu list

2016-06-09 Thread K. Y. Srinivasan
From: Dexuan Cui There is a rare race when we remove an entry from the global list hv_context.percpu_list[cpu] in hv_process_channel_removal() -> percpu_channel_deq() -> list_del(): at this time, if vmbus_on_event() -> process_chn_event() -> pcpu_relid2channel() is trying to

[PATCH net-next] netvsc: Use the new in-place consumption APIs in the rx path

2016-06-09 Thread K. Y. Srinivasan
Use the new APIs for eliminating a copy on the receive path. These new APIs also help in minimizing the number of memory barriers we end up issuing (in the ringbuffer code) since we can better control when we want to expose the ring state to the host. Signed-off-by: K. Y. Srinivasan

[PATCH 2/3] staging: lustre: lnet: Allocate MEs and small MDs in own kmem_caches

2016-06-09 Thread James Simmons
From: Bruno Faccini As part of LU-3848 and LU-4330, it has been discovered that LNET MEs and small MDs (<=128 Bytes) are allocated in kmem_cache and thus can suffer quite frequent corruptions, from other modules or Kernel parts, that occur there. To avoid this, MEs and

[PATCH 0/3] staging: lustre: lnet: bug fixs for 4.7-rc2

2016-06-09 Thread James Simmons
Here are the latest fixes for LNet. One fix covers a bug for the infiniband driver that happens when the o2iblnd intereface is pinged before it is finishing setting up. The next patch set from Bruno adds kmem_caches for the LNet layer. Bruno Faccini (2): staging: lustre: lnet: Allocate MEs and

[PATCH 1/3] staging: lustre: lnet: Don't access NULL NI on failure path

2016-06-09 Thread James Simmons
From: Doug Oucharek In kiblnd_passive_connect(), if we are failing the connection attempt because we cannot find a valid NI (we have a NULL NI), we were coring after the "goto fail" because the failure path was assuming non-NULL NI. This patch ensures we don't

[PATCH 3/3] staging: lustre: lnet: optimize memory foot print for lnet_libmd

2016-06-09 Thread James Simmons
From: Bruno Faccini The lnet_libmd struct fields have been re-ordered to optimize its memory foot-print. Signed-off-by: Bruno Faccini Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4430 Reviewed-on: http://review.whamcloud.com/18586

[PATCH 2/2] Drivers: hv: utils: fix a race on userspace daemons registration

2016-06-09 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Background: userspace daemons registration protocol for Hyper-V utilities drivers has two steps: 1) daemon writes its own version to kernel 2) kernel reads it and replies with module version at this point we consider the handshake procedure being

[PATCH 1/2] Drivers: hv: get rid of timeout in vmbus_open()

2016-06-09 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vmbus_teardown_gpadl() can result in infinite wait when it is called on 5 second timeout in vmbus_open(). The issue is caused by the fact that gpadl teardown operation won't ever succeed for an opened channel and the timeout isn't always enough. As a

[PATCH 0/2] Drivers: hv: Fix some issues in both vmbus as well as util drivers

2016-06-09 Thread K. Y. Srinivasan
Fix a race in the registration of user space daemons. Also get rid of timeout in vmbus_open() as timing out here would make it impossible to rollback correctly. Vitaly Kuznetsov (2): Drivers: hv: get rid of timeout in vmbus_open() Drivers: hv: utils: fix a race on userspace daemons

Re: [PATCH v3] storvsc: use small sg_tablesize on x86

2016-06-09 Thread Olaf Hering
On Thu, Jun 09, James Bottomley wrote: > On Thu, 2016-06-09 at 18:25 +0200, Olaf Hering wrote: > > Reducing the sg_tablesize allows booting of 32bit kernels in VMs, > > after > > commit be0cf6ca301c61458dc4aa1a37acf4f58d2ed3d6 ("scsi: storvsc: Set > > the > > tablesize based on the information

RE: [PATCH v4 09/29] staging: unisys: visorinput: remove unnecessary locking

2016-06-09 Thread Sell, Timothy C
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Thursday, June 09, 2016 3:56 PM > To: Sell, Timothy C > Cc: cor...@lwn.net; mi...@redhat.com; h...@zytor.com; > gre...@linuxfoundation.org; Arfvidson, Erik; hof...@osadl.org; > dzic...@redhat.com;

RE: [PATCH v4 09/29] staging: unisys: visorinput: remove unnecessary locking

2016-06-09 Thread Thomas Gleixner
On Thu, 9 Jun 2016, Sell, Timothy C wrote: > > From: Thomas Gleixner [mailto:t...@linutronix.de] > > > > I think I asked this before, but I might have missed the answer. > > > > Why is this a rw_sempahore? It's never taken with down_read and looking > > at the usage sites it's simply a mutex,

[PATCH v2 1/2] staging: comedi: serial2002: Fix bare unsigned styling issue

2016-06-09 Thread Chris Cesare
checkpatch.pl warns about a bare unsigned. Add type int to make explicit and suit the coding style. Signed-off-by Chris Cesare --- drivers/staging/comedi/drivers/serial2002.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 2/2] staging: comedi: serial2002: Fix unnecessary cast styling issue

2016-06-09 Thread Chris Cesare
checkpatch.pl warns that a cast of 1 to (long long) is unnecessary. Remove the cast and also add code to check and make sure that maxdata_list[chan] is not shifted too far, as suggested by Ian Abbott. Signed-off-by Chris Cesare ---

[PATCH v2 0/2] staging: comedi: serial2002: Fix two styling issues

2016-06-09 Thread Chris Cesare
checkpatch.pl warns about a bare unsigned and an unnecessary cast. Patchset splits fixes for these into two separate patches. Chris Cesare (2): staging: comedi: serial2002: Fix bare unsigned styling issue staging: comedi: serial2002: Fix unnecessary cast styling issue

Hello

2016-06-09 Thread James R Walsh
Hello I'm James R Walsh, a U.S Army general who currently serving as commanding general,Operation Syria freedom,global War on Terrorism,U.S Army Training and Doctrine Command.Separated and due to retire soon.i'm heading to the UNITED NATION peace keeping troop here in Syria. I am a kind and

Re: [PATCH net-next v3] netvsc: get rid of completion timeouts

2016-06-09 Thread David Miller
From: Vitaly Kuznetsov Date: Thu, 9 Jun 2016 12:44:03 +0200 > I'm hitting 5 second timeout in rndis_filter_set_rss_param() while setting > RSS parameters for the device. When this happens we end up returning > -ETIMEDOUT from the function and rndis_filter_device_add() falls

Re: [PATCH] staging: fbtft: do not allocate huge txbuf

2016-06-09 Thread Noralf Trønnes
[resending got rejected on the list for html format] Den 09.06.2016 19:18, skrev Michal Suchanek: Hello, On 9 June 2016 at 18:20, Noralf Trønnes wrote: Den 09.06.2016 17:08, skrev Michal Suchanek: txbuflen can be set to arbitrary value by user and it is also set

Re: [PATCH v3] storvsc: use small sg_tablesize on x86

2016-06-09 Thread James Bottomley
On Thu, 2016-06-09 at 18:25 +0200, Olaf Hering wrote: > Reducing the sg_tablesize allows booting of 32bit kernels in VMs, > after > commit be0cf6ca301c61458dc4aa1a37acf4f58d2ed3d6 ("scsi: storvsc: Set > the > tablesize based on the information given by the host") > > [5.567138] hv_storvsc

Re: [PATCH] staging: fbtft: do not allocate huge txbuf

2016-06-09 Thread Michal Suchanek
Hello, On 9 June 2016 at 18:20, Noralf Trønnes wrote: > > Den 09.06.2016 17:08, skrev Michal Suchanek: >> >> txbuflen can be set to arbitrary value by user and it is also set >> automagically to the maximum transfer size of the SPI master controller. > > > AFAICT this is a

[PATCH v3] storvsc: use small sg_tablesize on x86

2016-06-09 Thread Olaf Hering
Reducing the sg_tablesize allows booting of 32bit kernels in VMs, after commit be0cf6ca301c61458dc4aa1a37acf4f58d2ed3d6 ("scsi: storvsc: Set the tablesize based on the information given by the host") [5.567138] hv_storvsc vmbus_1: adjusting sg_tablesize 0x800 -> 0x20 Signed-off-by: Olaf

Re: [PATCH] staging: fbtft: do not allocate huge txbuf

2016-06-09 Thread Noralf Trønnes
Den 09.06.2016 17:08, skrev Michal Suchanek: txbuflen can be set to arbitrary value by user and it is also set automagically to the maximum transfer size of the SPI master controller. AFAICT this is a result of your previous patch. Please make a new version of your previous patch with this

[PATCH] staging: fbtft: do not allocate huge txbuf

2016-06-09 Thread Michal Suchanek
txbuflen can be set to arbitrary value by user and it is also set automagically to the maximum transfer size of the SPI master controller. Do not allocate the buffer when larger than vmem. When my SPI master controller reports maximum transfer size 16M the probe of fbtft fails. Signed-off-by:

Re: [PATCH 00/18] staging/android: clean up SW_SYNC

2016-06-09 Thread Sumit Semwal
On 9 June 2016 at 13:53, Daniel Vetter wrote: > On Wed, Jun 08, 2016 at 10:45:34PM -0700, Greg Kroah-Hartman wrote: >> On Wed, Jun 08, 2016 at 04:07:59PM -0300, Gustavo Padovan wrote: >> > Hi Greg, >> > >> > Any comment on this? >> >> I am just starting to catch up on patches,

[PATCH 1/1] Staging: comedi: dmm32at: fix BIT macro issue.

2016-06-09 Thread Ravishankar Karkala Mallikarjunayya
This Replace all occurences of (1< --- drivers/staging/comedi/drivers/dmm32at.c | 98

RE: [PATCH v4 09/29] staging: unisys: visorinput: remove unnecessary locking

2016-06-09 Thread Sell, Timothy C
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Thursday, June 09, 2016 5:01 AM > To: Kershner, David A > Cc: cor...@lwn.net; mi...@redhat.com; h...@zytor.com; > gre...@linuxfoundation.org; Arfvidson, Erik; Sell, Timothy C; > hof...@osadl.org;

[PATCH net-next v3] netvsc: get rid of completion timeouts

2016-06-09 Thread Vitaly Kuznetsov
I'm hitting 5 second timeout in rndis_filter_set_rss_param() while setting RSS parameters for the device. When this happens we end up returning -ETIMEDOUT from the function and rndis_filter_device_add() falls back to setting net_device->max_chn = 1; net_device->num_chn = 1;

Re: [PATCH] staging: comedi: serial2002: bare unsigned and unneeded cast styling issues

2016-06-09 Thread Ian Abbott
On 08/06/16 20:59, Chris Cesare wrote: checkpatch.pl reported two warnings: A bare "unsigned" and an unnecessary cast. Fixed both. Signed-off-by: Chris Cesare --- drivers/staging/comedi/drivers/serial2002.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

Re: [PATCH v4 09/29] staging: unisys: visorinput: remove unnecessary locking

2016-06-09 Thread Thomas Gleixner
On Wed, 8 Jun 2016, David Kershner wrote: > + /* > + * If we're not paused, really enable interrupts. > + * Regardless of whether we are paused, set a flag indicating > + * interrupts should be enabled so when we resume, interrupts > + * will really be enabled. > + */

Re: [PATCH] staging: lustre: llite: remove lloop device

2016-06-09 Thread Dilger, Andreas
On 2016/06/08, 16:50, "James Simmons" wrote: >The lloop device was original developed to work around >the lack of direct I/O for the default loop back device. >Also the lloop device greatly out performed the default >loop back device. The lloop hasn't been worked on for

Re: [PATCH v2 0/6] staging: comedi: addi_apci_1564: cleanup driver

2016-06-09 Thread Ian Abbott
On 08/06/16 19:26, H Hartley Sweeten wrote: This driver still uses some of old broken code in hwdrv_apci1564.c for the timer and counter subdevices. This code does not follow the comedi API and does not work without additional patches to the core. Tidy up the change-of-state support so that the

Re: [PATCH net-next v2] netvsc: get rid of completion timeouts

2016-06-09 Thread Vitaly Kuznetsov
David Miller writes: > From: Vitaly Kuznetsov > Date: Wed, 8 Jun 2016 19:17:41 +0200 > >> I'm hitting 5 second timeout in rndis_filter_set_rss_param() while setting >> RSS parameters for the device. When this happens we end up returning >> -ETIMEDOUT