[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 dan.carpen...@oracle.com diff --git

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: [8159a7ac]

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: [PATCH]

[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

[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 k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/hv/channel.c | 32 +--- 1 files

[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 k...@microsoft.com Cc: sta...@vger.kernel.org ---

[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 k...@microsoft.com Cc: sta...@vger.kernel.org ---

[PATCH] staging: lustre: remove parentheses from return arguments

2014-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier i; constant c; @@ return - ( \(i\|-i\|i(...)\|c\) - ) ; // /smpl Signed-off-by: Julia Lawall julia.law...@lip6.fr ---

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 sanjeev_sha...@mentor.com Thanks for cleaning these up. Applied to the

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.org;

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

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 on