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

2014-08-26 Thread K. Y. Srinivasan
Cleanup the channel management code and eliminate calls to BUG_ON() K. Y. Srinivasan (4): Drivers: hv: vmbus: Cleanup vmbus_post_msg() Drivers: hv: vmbus: Cleanup vmbus_teardown_gpadl() Drivers: hv: vmbus: Cleanup vmbus_close_internal() Drivers: hv: vmbus: Cleanup vmbus_establish_gpadl()

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

2014-08-26 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

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

2014-08-26 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. Signed-off-by: K. Y. Srinivasan Cc: --- drivers/hv/channel.c | 32 +--- 1 files changed, 25 insertions(+), 7 deletions(-) di

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

2014-08-26 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. Signed-off-by: K. Y. Srinivasan Cc: --- drivers/hv/connection.c | 13 ++--- 1 files change

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

2014-08-26 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] staging: lustre: remove parentheses from return arguments

2014-08-26 Thread Julia Lawall
From: Julia Lawall The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ identifier i; constant c; @@ return - ( \(i\|-i\|i(...)\|c\) - ) ; // Signed-off-by: Julia Lawall --- drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c|2 - dr

Re: [PATCH] iio: remove .owner field for driver using module_platform_driver

2014-08-26 Thread Jonathan Cameron
On 20/08/14 10:32, Sanjeev Sharma wrote: > This patch removes the .owner field for drivers which use the > platform_driver_register api because this is overriden in > _platform_driver_register. > > Signed-off-by: Sanjeev Sharma Thanks for cleaning these up. Applied to the togreg branch of iio.gi

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

2014-08-26 Thread KY Srinivasan
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Tuesday, August 19, 2014 10:55 AM > To: KY Srinivasan > Cc: h...@suse.de; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com; linux-s...@vger.kernel.o

Urgent Response, Mr. GOODWILL KOFI BISSUE

2014-08-26 Thread Mr. GOODWILL KOFI BISSUE
Dear Sir, I need your assistance in transferring the sum of (10 Million United State Dollars) into your account with immediate effect this fund is deposited in my Bank in Ghana the sharing ration will be 40% for me and 40% for you and 20% for the less privilege once you make this transfer a succes

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

2014-08-26 Thread Greg KH
On Mon, Aug 25, 2014 at 01:18:54AM +0800, Janet Liu wrote: > Sliences the following warning and error: > > WARNING: line over 80 characters > WARNING: space prohibited between function name and open parenthesis '(' > ERROR: do not use C99 // comments > ERROR: trailing statements should be

[PATCH] Staging: comedi: Fix code style in jr3_pci.c

2014-08-26 Thread naszar
From: Vladimir A. Nazarenko Static variables are initialised to 0 by GCC. Fixes checkpatch.pl error: ERROR: do not initialise statics to 0 or NULL #684: FILE: jr3_pci.c:684: + static const struct jr3_pci_board *board = NULL; Signed-off-by: Vladimir A. Nazarenko --- drivers/staging/co

[patch] staging: comedi: amplc_pci230: fix a precedence bug

2014-08-26 Thread Dan Carpenter
The addition operation has higher precedence than ?: so this would write to PCI230_DACOUT1 instead of devpriv->daqio + PCI230_DACOUT1. Fixes: 4f9c63fe5333 ('staging: comedi: amplc_pci230: refactor iobase addresses') Signed-off-by: Dan Carpenter diff --git a/drivers/staging/comedi/drivers/amplc_p

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

2014-08-26 Thread Dexuan Cui
> -Original Message- > From: Sitsofe Wheeler > Sent: Tuesday, August 26, 2014 1:42 AM > > > [7.645526] hv_vmbus: registering driver hyperv_fb > > > [7.657553] BUG: unable to handle kernel paging request at > > > 88007784 > > > [7.658224] IP: [] hv_ringbuffer_write+0x7c/0

RE: [PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-26 Thread Sharma, Sanjeev
-Original Message- From: Lars-Peter Clausen [mailto:l...@metafoo.de] Sent: Monday, August 25, 2014 7:03 PM To: Sharma, Sanjeev; sanjeev sharma Cc: ji...@kernel.org; gregkh; linux-...@vger.kernel.org; devel; linux-kernel Subject: Re: [PATCH] staging:iio: moved platform_data into include/lin

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

2014-08-26 Thread Janet Liu
Sliences the following warning and error: WARNING: line over 80 characters WARNING: space prohibited between function name and open parenthesis '(' ERROR: do not use C99 // comments ERROR: trailing statements should be on next line Signed-off-by: Janet Liu --- drivers/staging/lustre/lne

Re: [PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-26 Thread Jonathan Cameron
On 26/08/14 12:33, Sharma, Sanjeev wrote: > -Original Message- > From: Lars-Peter Clausen [mailto:l...@metafoo.de] > Sent: Monday, August 25, 2014 7:03 PM > To: Sharma, Sanjeev; sanjeev sharma > Cc: ji...@kernel.org; gregkh; linux-...@vger.kernel.org; devel; linux-kernel > Subject: Re: [PA