Re: [PATCH 09/11] staging: cxt1e1: musycc.c: Return negative error codes

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 09:36:36AM +0530, Sachin Kamat wrote: > Return negative error codes as is followed in the rest of the > kernel. > This doesn't apply to linux-next (Sep 26) for some reason that I can't figure out. The first chunk fails. Btw, the caller eventually flips any stray positive

Re: [PATCH 09/11] staging: cxt1e1: musycc.c: Return negative error codes

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 10:09:50AM +0300, Dan Carpenter wrote: > On Fri, Sep 27, 2013 at 09:36:36AM +0530, Sachin Kamat wrote: > > Return negative error codes as is followed in the rest of the > > kernel. > > > > This doesn't apply to linux-next (Sep 26) for some reason that I can't > figure out.

Re: [PATCH 00/51] DMA mask changes

2013-09-27 Thread Russell King - ARM Linux
On Thu, Sep 26, 2013 at 10:23:08PM +0200, Rafał Miłecki wrote: > 2013/9/19 Russell King - ARM Linux : > > This email is only being sent to the mailing lists in question, not to > > anyone personally. The list of individuals is far to great to do that. > > I'm hoping no mailing lists reject the pat

[PATCH 1/1] staging: dgnc: Remove KERNEL_VERSION check

2013-09-27 Thread Sachin Kamat
This check is not required. Signed-off-by: Sachin Kamat Cc: Lidza Louina --- drivers/staging/dgnc/dgnc_kcompat.h |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_kcompat.h b/drivers/staging/dgnc/dgnc_kcompat.h index ed85152..eaec7e6 100644 --- a/drivers/stag

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-09-27 Thread Jiri Kosina
On Wed, 25 Sep 2013, Joseph Salisbury wrote: > After further testing reverting the following commit does in fact > resolve the bug: > > commit b1a1442a23776756b254b69786848a94d92445ba > Author: Jiri Kosina > Date: Mon Jun 3 11:27:48 2013 +0200 > > HID: core: fix reporting of raw events > >

Re: [PATCH 1/1] staging: dgnc: Remove KERNEL_VERSION check

2013-09-27 Thread Lidza Louina
On Fri, Sep 27, 2013 at 5:50 AM, Sachin Kamat wrote: > This check is not required. > > Signed-off-by: Sachin Kamat > Cc: Lidza Louina > --- > drivers/staging/dgnc/dgnc_kcompat.h |5 - > 1 file changed, 5 deletions(-) > > diff --git a/drivers/staging/dgnc/dgnc_kcompat.h > b/drivers/stag

[PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Martin Berglund
Fixed coding style issues. Signed-off-by: Martin Berglund --- drivers/staging/sm7xxfb/sm7xxfb.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 8add64b..57d8145 100644 --- a/drivers/stagi

Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: > @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) > > /* init SEQ register SR30 - SR75 */ > for (i = 0; i < SIZE_SR30_SR75; i++) > - i

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-09-27 Thread Joseph Salisbury
On 09/27/2013 06:50 AM, Jiri Kosina wrote: > On Wed, 25 Sep 2013, Joseph Salisbury wrote: > >> After further testing reverting the following commit does in fact >> resolve the bug: >> >> commit b1a1442a23776756b254b69786848a94d92445ba >> Author: Jiri Kosina >> Date: Mon Jun 3 11:27:48 2013 +0200 >

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-27 Thread Olaf Hering
On Tue, Sep 03, K. Y. Srinivasan wrote: > Hyper-V supports a mechanism for retrieving the local APIC frequency.Use this > and bypass > the calibration code in the kernel. This would allow us to boot the Linux > kernel as a > "modern VM" on Hyper-V where many of the legacy devices (such as PIT) a

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 10:42:10AM -0400, Joseph Salisbury wrote: > On 09/27/2013 06:50 AM, Jiri Kosina wrote: > > On Wed, 25 Sep 2013, Joseph Salisbury wrote: > > > >> After further testing reverting the following commit does in fact > >> resolve the bug: > >> > >> commit b1a1442a23776756b254b6978

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-27 Thread Olaf Hering
On Fri, Sep 27, KY Srinivasan wrote: > > This leads to build errors on 32bit: > > > > linux-3.12-rc2/arch/x86/kernel/cpu/mshyperv.c:88: undefined reference to > > `__udivdi3' > > > > Up to now I have only tested on 64bit, sorry for that. > > Thanks Olaf. I am travelling currently; I will fix it

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-27 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Friday, September 27, 2013 8:33 AM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; jasow...@redhat.com; > t...@

Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 05:39:11PM +0200, Martin Berglund wrote: > On Fri, Sep 27, 2013 at 03:27:29PM +0300, Dan Carpenter wrote: > > On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: > > > @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) > > > > > >

Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Martin Berglund
On Fri, Sep 27, 2013 at 03:27:29PM +0300, Dan Carpenter wrote: > On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: > > @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) > > > > /* init SEQ register SR30 - SR75 */ > > f

Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Greg KH
On Fri, Sep 27, 2013 at 05:39:11PM +0200, Martin Berglund wrote: > On Fri, Sep 27, 2013 at 03:27:29PM +0300, Dan Carpenter wrote: > > On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: > > > @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) > > > > > >

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-27 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Friday, September 27, 2013 8:10 AM > To: KY Srinivasan > Cc: x...@kernel.org; gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; jasow...@redhat.com; > t...@

Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup

2013-09-27 Thread Dan Carpenter
On Fri, Sep 27, 2013 at 06:24:12PM +0300, Dan Carpenter wrote: > > It looks like magicmouse_raw_event() returns 1 on success and 0 on > failure. Fixing the return codes is a good idea but it won't fix the oops. What's the point of returning 1 and 0? In the current code no one cares and both are

[PATCH v2] Staging: sm7xxfb: fixed line break coding style issues

2013-09-27 Thread Martin Berglund
Fixed coding style issues. Signed-off-by: Martin Berglund --- v2: minor style change as suggested by Dan. drivers/staging/sm7xxfb/sm7xxfb.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c inde

Re: Reworking dm-writeboost [was: Re: staging: Add dm-writeboost]

2013-09-27 Thread Mike Snitzer
On Wed, Sep 25 2013 at 9:47pm -0400, Akira Hayakawa wrote: > Hi, Mike > > The monolithic source code (3.2k) > is nicely splitted into almost 20 *.c files > according to the functionality and > data strucutures in OOP style. > > The aim of this posting > is to share how the splitting looks like

[PATCH] staging/olpc: fix dependencies to fix build errors

2013-09-27 Thread Randy Dunlap
From: Randy Dunlap Fix build errors when GPIO_CS5535=m and FB_OLPC_DCON=y by preventing that kconfig combination. These build errors are caused by having a kconfig bool symbol (FB_OLPC_DCON_1) that depend on a tristate symbol (GPIO_CS5535), but when the tristate symbol is =m, the bool symbol is