[PATCH 34/57] Staging: bcm: CmHost.c: Renamed variable: "pvBuffer" -> "buffer"

2014-08-27 Thread Matthias Beyer
Signed-off-by: Matthias Beyer --- drivers/staging/bcm/CmHost.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index fd89715..92b5a89 100644 --- a/drivers/staging/bcm/CmHost.c +++

[PATCH 01/57] Staging: bcm: CmHost.c: Renamed variable: "Adapter" -> "ad"

2014-08-27 Thread Matthias Beyer
Signed-off-by: Matthias Beyer --- drivers/staging/bcm/CmHost.c | 986 +-- 1 file changed, 493 insertions(+), 493 deletions(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index adca0ce..43ce563 100644 --- a/drivers/staging/bcm/C

[PATCH 00/57] drivers/staging/bcm/CmHost.c variable rename patchset

2014-08-27 Thread Matthias Beyer
Hi, this is my variable rename patchset for the drivers/staging/bcm/CmHost.c file. Note, as always: As I do not have the appropriate hardware, I cannot test these patches, but I compiled them at least. Kind regards, Matthias Beyer Matthias Beyer (57): Staging: bcm: CmHost.c: Renamed vari

[PATCH 30/38] Staging: bcm: Bcmchar.c: Renamed variable: "sCopySectStrut" -> "copy_sect_strut"

2014-08-27 Thread Matthias Beyer
Signed-off-by: Matthias Beyer --- drivers/staging/bcm/Bcmchar.c | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index c33e9ef..ed56313 100644 --- a/drivers/staging/bcm/Bcmcha

RE: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread Dexuan Cui
> -Original Message- > From: Sitsofe Wheeler > On Tue, Aug 26, 2014 at 10:30:54AM +, Dexuan Cui wrote: > > > Actually I found the direct cause of the panic: sometimes > > vmbus_post_msg() can return 4 (HV_STATUS_INVALID_ALIGNMENT), but > > vmbus_open() doesn't propagate this error to t

[PATCH 02/57] Staging: bcm: CmHost.c: Renamed variable: "pstClassifierEntry" -> "classifier_entry"

2014-08-27 Thread Matthias Beyer
Signed-off-by: Matthias Beyer --- drivers/staging/bcm/CmHost.c | 152 +-- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index 43ce563..a188db7 100644 --- a/drivers/staging/bcm/CmH

Re: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread Sitsofe Wheeler
On Wed, Aug 27, 2014 at 11:30:54AM +, Dexuan Cui wrote: > > -Original Message- > > From: Sitsofe Wheeler > > On Tue, Aug 26, 2014 at 10:30:54AM +, Dexuan Cui wrote: > > > > > Actually I found the direct cause of the panic: sometimes > > > vmbus_post_msg() can return 4 (HV_STATUS_IN

RE: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread Dexuan Cui
> -Original Message- > From: Sitsofe Wheeler > Sent: Wednesday, August 27, 2014 20:16 PM > > > do_hypercall() fails due to HV_STATUS_INVALID_ALIGNMENT, if "the > > specified input or output GPA pointer is not aligned to 8 bytes", > > or, "the specified input or output parameter lists spans

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-27 Thread Hannes Reinecke
On 08/19/2014 07:54 PM, Christoph Hellwig wrote: On Sat, Aug 16, 2014 at 08:09:48PM -0700, K. Y. Srinivasan wrote: The host asks the guest to scan when a LUN is removed or added. The only way a guest can identify the removed LUN is when an I/O is attempted on a removed LUN - the SRB status code

Re: [PATCH v3 0/7] staging: comedi: cleanup PCI driver detach

2014-08-27 Thread Ian Abbott
On 26/08/14 01:55, H Hartley Sweeten wrote: Introduce a new helper function, comedi_pci_detach(), that can be used as the (*detach) of a comedi PCI driver to handle the boilerplate code of the PCI driver detach. Use the the new helper to remove the boilerplate from most of the comedi PCI drivers

Re: [PATCH 00/19] staging: comedi: fix some coverity scan issues

2014-08-27 Thread Ian Abbott
On 25/08/14 23:23, H Hartley Sweeten wrote: This series fixes a number of issues reported by coverity. H Hartley Sweeten (19): staging: comedi: usbduxsigma: fix errno (EL2NSYNC) check staging: comedi: usbduxsigma: fix kcalloc 'size' argument staging: comedi: usbdux: fix errno (EL2NSYNC)

Re: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread Sitsofe Wheeler
On Wed, Aug 27, 2014 at 02:14:02PM +, Dexuan Cui wrote: > > -Original Message- > > From: Sitsofe Wheeler > > Sent: Wednesday, August 27, 2014 20:16 PM > > > > I'm making a patch for this. > Please see the end of the mail for the inline patch and try it. > (the patch hasn't been rebased

Re: [PATCH 61/62] staging: comedi: me4000: remove sanity checks in me4000_ao_insn_write()

2014-08-27 Thread Ian Abbott
On 26/08/14 00:04, H Hartley Sweeten wrote: The comedi core does the sanity checking of the comedi_insn before calling the (*insn_write). Remove the unnecessary checks. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/me4000.c | 33 ++

Re: [PATCH 00/62] staging: comedi: cleanup analog output 'readback'

2014-08-27 Thread Ian Abbott
On 26/08/14 00:03, H Hartley Sweeten wrote: The hardware for the analog output subdevices is normally write-only. In order to provide a 'readback' mechanism the last values written to the analog output channels is cached in the private data of the comedi driver. This allows the user to do an (*in

RE: [PATCH 61/62] staging: comedi: me4000: remove sanity checks in me4000_ao_insn_write()

2014-08-27 Thread Hartley Sweeten
On Wednesday, August 27, 2014 11:00 AM, Ian Abbott wrote: > On 26/08/14 00:04, H Hartley Sweeten wrote: >> The comedi core does the sanity checking of the comedi_insn before >> calling the (*insn_write). Remove the unnecessary checks. >> >> Signed-off-by: H Hartley Sweeten >> Cc: Ian Abbott >> Cc

Re: [PATCH 61/62] staging: comedi: me4000: remove sanity checks in me4000_ao_insn_write()

2014-08-27 Thread Ian Abbott
On 27/08/14 19:04, Hartley Sweeten wrote: On Wednesday, August 27, 2014 11:00 AM, Ian Abbott wrote: On 26/08/14 00:04, H Hartley Sweeten wrote: The comedi core does the sanity checking of the comedi_insn before calling the (*insn_write). Remove the unnecessary checks. Signed-off-by: H Hartley

RE: [PATCH 61/62] staging: comedi: me4000: remove sanity checks in me4000_ao_insn_write()

2014-08-27 Thread Hartley Sweeten
On Wednesday, August 27, 2014 11:07 AM, Ian Abbott wrote: > On 27/08/14 19:04, Hartley Sweeten wrote: >> On Wednesday, August 27, 2014 11:00 AM, Ian Abbott wrote: >>> On 26/08/14 00:04, H Hartley Sweeten wrote: The comedi core does the sanity checking of the comedi_insn before calling the

RE: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread KY Srinivasan
> -Original Message- > From: Sitsofe Wheeler [mailto:sits...@gmail.com] > Sent: Wednesday, August 27, 2014 9:19 AM > To: Dexuan Cui > Cc: KY Srinivasan; Greg Kroah-Hartman; Haiyang Zhang; > de...@linuxdriverproject.org; linux-ker...@vger.kernel.org > Subject: Re: [PANIC, hyperv] BUG: unab

[PATCH] staging: comedi: Kconfig: make COMEDI_BOND select COMEDI_KCOMEDILIB

2014-08-27 Thread Ian Abbott
Currently, to select the "comedi_bond" driver, the "kcomedilib" support has to be selected first. It seems more natural to allow the "comedi_bond" driver to be selected on its own and to automatically select the "kcomedilib" module as a result of that. Change the dependency/select relationship be

Re: [PATCH] staging: comedi: Kconfig: make COMEDI_BOND select COMEDI_KCOMEDILIB

2014-08-27 Thread Randy Dunlap
On 08/27/14 12:19, Ian Abbott wrote: > Currently, to select the "comedi_bond" driver, the "kcomedilib" support > has to be selected first. It seems more natural to allow the > "comedi_bond" driver to be selected on its own and to automatically > select the "kcomedilib" module as a result of that.

[PATCH v2] staging: comedi: Kconfig: make COMEDI_BOND select COMEDI_KCOMEDILIB

2014-08-27 Thread Ian Abbott
Currently, to select the "comedi_bond" driver, the "kcomedilib" support has to be selected first. It seems more natural to allow the "comedi_bond" driver to be selected on its own and to automatically select the "kcomedilib" module as a result of that. Change the dependency/select relationship be

[PATCH] staging: lustre: lmv: expand the GOTO macro

2014-08-27 Thread Julia Lawall
From: Julia Lawall The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; // Signed-off-by: Julia Law

[PATCH V2 1/5] Drivers: hv: vmbus: Cleanup vmbus_post_msg()

2014-08-27 Thread K. Y. Srinivasan
Posting messages to the host can fail because of transient resource related failures. Correctly deal with these failures and increase the number of attempts to post the message before giving up. In this version of the patch, I have normalized the error code to Linux error code. Signed-off-by: K.

[PATCH V2 5/5] Drivers: hv: vmbus: Fix a bug in vmbus_open()

2014-08-27 Thread K. Y. Srinivasan
Fix a bug in vmbus_open() and properly propagate the error. I would like to thank Dexuan Cui for identifying the issue. Signed-off-by: K. Y. Srinivasan Cc: --- drivers/hv/channel.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/hv/channel.c b/drivers/hv/cha

[PATCH V3 3/5] Drivers: hv: vmbus: Cleanup vmbus_close_internal()

2014-08-27 Thread K. Y. Srinivasan
Eliminate calls to BUG_ON() in vmbus_close_internal(). We have chosen to potentially leak memory, than crash the guest in case of failures. In this version of the patch I have addressed comments from Dan Carpenter (dan.carpen...@oracle.com). Signed-off-by: K. Y. Srinivasan Cc: --- drivers/hv/c

[PATCH V2 4/5] Drivers: hv: vmbus: Cleanup vmbus_establish_gpadl()

2014-08-27 Thread K. Y. Srinivasan
Eliminate the call to BUG_ON() by waiting for the host to respond. We are trying to reclaim the ownership of memory that was given to the host and so we will have to wait until the host responds. Signed-off-by: K. Y. Srinivasan Cc: --- drivers/hv/channel.c |5 + 1 files changed, 1 inser

[PATCH V2 0/5] Drivers: hv: vmbus: Eliminate calls to BUG_ON()

2014-08-27 Thread K. Y. Srinivasan
Cleanup the channel management code and eliminate calls to BUG_ON(). Also fix an error propagation bug in vmbus_open(). In this version of the patch-set, I have addressed comments from Dan Carpenter. K. Y. Srinivasan (5): Drivers: hv: vmbus: Cleanup vmbus_post_msg() Drivers: hv: vmbus: Cleanu

[PATCH V2 2/5] Drivers: hv: vmbus: Cleanup vmbus_teardown_gpadl()

2014-08-27 Thread K. Y. Srinivasan
Eliminate calls to BUG_ON() by properly handling errors. In cases where rollback is possible, we will return the appropriate error to have the calling code decide how to rollback state. In the case where we are transferring ownership of the guest physical pages to the host, we will wait for the hos

Re: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread Sitsofe Wheeler
On Wed, Aug 27, 2014 at 06:45:55PM +, KY Srinivasan wrote: > > > -Original Message- > > From: Sitsofe Wheeler [mailto:sits...@gmail.com] > > Sent: Wednesday, August 27, 2014 9:19 AM > > > > > BTW, with the patch below, hyperv_fb can work now, BUT, > > > *occasionally*, > > > storvsc_p

RE: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread KY Srinivasan
> -Original Message- > From: Sitsofe Wheeler [mailto:sits...@gmail.com] > Sent: Wednesday, August 27, 2014 3:58 PM > To: KY Srinivasan > Cc: Dexuan Cui; Greg Kroah-Hartman; Haiyang Zhang; > de...@linuxdriverproject.org; linux-ker...@vger.kernel.org > Subject: Re: [PANIC, hyperv] BUG: unab

[PATCH] vme: remove redundant else condition

2014-08-27 Thread Fred Chou
The else condition is redundant after a return. Remove these redundant else conditions. Signed-off-by: Fred Chou --- drivers/staging/vme/devices/vme_pio2_gpio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/vme/devices/vme_pio2_gpio.c b/dr

Re: Fwd: Re: [PATCH] staging:lustre:lnet: lib-md.c fix checkpath warnings and errors.

2014-08-27 Thread Janet Liu
On 08/28/2014 10:20 AM, Janet Liu wrote: Original Message Subject: Re: [PATCH] staging:lustre:lnet: lib-md.c fix checkpath warnings and errors. Date: Tue, 26 Aug 2014 18:22:45 -0700 From: Greg KH To: Janet Liu CC: de...@driverdev.osuosl.org, linux-ker...@vger.kernel.org On

RE: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread Dexuan Cui
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of KY Srinivasan > Sent: Thursday, August 28, 2014 7:14 AM > > > > From: Sitsofe Wheeler [mailto:sits...@gmail.com] > > > > Sent: Wednesday, August 27, 2014 9:19 AM > > >

RE: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-27 Thread KY Srinivasan
> -Original Message- > From: Dexuan Cui > Sent: Wednesday, August 27, 2014 8:22 PM > To: KY Srinivasan; Sitsofe Wheeler > Cc: Greg Kroah-Hartman; Haiyang Zhang; de...@linuxdriverproject.org; > linux-ker...@vger.kernel.org > Subject: RE: [PANIC, hyperv] BUG: unable to handle kernel paging

<    1   2