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()
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
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
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
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
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
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
> -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
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
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
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
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
> -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
-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
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
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
16 matches
Mail list logo