[PATCH 4/4] Staging: bcm: Bcmchar: Fix some checkpatch errors

2011-02-11 Thread Javier Martinez Canillas
Signed-off-by: Javier Martinez Canillas --- drivers/staging/bcm/Bcmchar.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 2064c2e..3d9055a 100644 --- a/drivers/staging/bcm/Bcmchar.c +

[PATCH 3/4] Staging: bcm: Bcmchar: Fix style issues on bcm_char_read()

2011-02-11 Thread Javier Martinez Canillas
Signed-off-by: Javier Martinez Canillas --- drivers/staging/bcm/Bcmchar.c | 52 ++--- 1 files changed, 28 insertions(+), 24 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 2a3f64c..2064c2e 100644 --- a/drivers/s

[PATCH 2/4] Staging: bcm: Bcmchar: Fix style issues on bcm_char_release()

2011-02-11 Thread Javier Martinez Canillas
Signed-off-by: Javier Martinez Canillas --- drivers/staging/bcm/Bcmchar.c | 68 ++-- 1 files changed, 31 insertions(+), 37 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index edcd0c0..2a3f64c 100644 --- a/drivers/sta

[PATCH 1/4] Staging: bcm: Bcmchar: Fix style issues on bcm_char_open()

2011-02-11 Thread Javier Martinez Canillas
Signed-off-by: Javier Martinez Canillas --- drivers/staging/bcm/Bcmchar.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 7dff283..edcd0c0 100644 --- a/drivers/staging/bcm/Bcmchar.c

[PATCH 0/4] Staging: bcm: Bcmchar: Fix coding style issues

2011-02-11 Thread Javier Martinez Canillas
This patchset fixes a few coding style issues in Beceem WIMAX driver. The patches in this patchset are the following: [PATCH 1/4] Staging: bcm: Bcmchar: Fix style issues on bcm_char_open() [PATCH 2/4] Staging: bcm: Bcmchar: Fix style issues on bcm_char_release() [PATCH 3/4] Staging: bcm: Bcmchar:

Re: [PATCH]: Staging: hv: Cleanup vmalloc calls

2011-02-11 Thread Greg KH
On Fri, Feb 11, 2011 at 02:48:45PM -0800, K. Y. Srinivasan wrote: > The subject says it all. There is no need to > specify different page protection bits based > on the architecture. Wonderful, thanks for doing this. I'll queue it up after your previous patches sometime next week. thanks, greg

[PATCH]: Staging: hv: Cleanup vmalloc calls

2011-02-11 Thread K. Y. Srinivasan
The subject says it all. There is no need to specify different page protection bits based on the architecture. Signed-off-by: K. Y. Srinivasan Signed-off-by: Hank Janssen --- drivers/staging/hv/hv.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/staging/hv

RE: [PATCH 1/3]: Staging: hv: Use native page allocation/free functions

2011-02-11 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@suse.de] > Sent: Friday, February 11, 2011 4:24 PM > To: KY Srinivasan > Cc: linux-ker...@vger.kernel.org; devel@linuxdriverproject.org; > virtualizat...@lists.osdl.org; Hank Janssen > Subject: Re: [PATCH 1/3]: Staging: hv: Use native pa

RE: [PATCH 1/3]: Staging: hv: Use native page allocation/free functions

2011-02-11 Thread Hank Janssen
> -Original Message- > From: Greg KH [mailto:gre...@suse.de] On Friday, February 11, 2011 1:24 PM > On Fri, Feb 11, 2011 at 08:55:56PM +, KY Srinivasan wrote: > > > I'm not saying this patch is wrong at all, but I still don't > > > understand why this is different depending on the arc

RE: [PATCH 1/3]: Staging: hv: Use native page allocation/free functions

2011-02-11 Thread Hank Janssen
> -Original Message- > And then KY Srinivasan spoke on Friday, February 11, 2011 12:56 PM > > From: Greg KH [mailto:gre...@suse.de] > > Sent: Friday, February 11, 2011 1:30 PM > > > - virtaddr = osd_virtual_alloc_exec(PAGE_SIZE); > > > +#ifdef __x86_64__ > > > + virtaddr = __vmalloc(PAGE_

Re: [PATCH 1/3]: Staging: hv: Use native page allocation/free functions

2011-02-11 Thread Greg KH
On Fri, Feb 11, 2011 at 08:55:56PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@suse.de] > > Sent: Friday, February 11, 2011 1:30 PM > > To: KY Srinivasan > > Cc: linux-ker...@vger.kernel.org; devel@linuxdriverproject.org; > > virtualizat...@list

RE: [PATCH 1/3]: Staging: hv: Use native page allocation/free functions

2011-02-11 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@suse.de] > Sent: Friday, February 11, 2011 1:30 PM > To: KY Srinivasan > Cc: linux-ker...@vger.kernel.org; devel@linuxdriverproject.org; > virtualizat...@lists.osdl.org; Hank Janssen > Subject: Re: [PATCH 1/3]: Staging: hv: Use native pa

Re: [PATCH 1/3]: Staging: hv: Use native page allocation/free functions

2011-02-11 Thread Greg KH
On Fri, Feb 11, 2011 at 09:59:00AM -0800, K. Y. Srinivasan wrote: > --- a/drivers/staging/hv/hv.c > +++ b/drivers/staging/hv/hv.c > @@ -230,7 +230,12 @@ int hv_init(void) > * Allocate the hypercall page memory > * virtaddr = osd_page_alloc(1); > */ > - virtaddr = osd_virtual_a

[PATCH 3/3]:Staging: hv: Remove osd layer

2011-02-11 Thread K. Y. Srinivasan
The OSD layer was a wrapper around native interfaces adding little value and was infact buggy - refer to the osd_wait.patch for details. This patch gets rid of the OSD abstraction. Signed-off-by: K. Y. Srinivasan Signed-off-by: Hank Janssen --- drivers/staging/hv/Makefile |2 +- dri

[PATCH 2/3]: Staging: hv: Use native wait primitives

2011-02-11 Thread K. Y. Srinivasan
In preperation for getting rid of the osd layer; change the code to use native wait interfaces. As part of this, fixed the buggy implementation in the osd_wait_primitive where the condition was cleared potentially after the condition was signalled. Signed-off-by: K. Y. Srinivasan Signed-off-by:

[PATCH 1/3]: Staging: hv: Use native page allocation/free functions

2011-02-11 Thread K. Y. Srinivasan
In preperation for getting rid of the osd.[ch] files; change all page allocation/free functions to use native interfaces. Signed-off-by: K. Y. Srinivasan Signed-off-by: Hank Janssen --- drivers/staging/hv/channel.c| 12 +++- drivers/staging/hv/connection.c | 13 -

Re: [PATCH 1/5] ath6kl: address coding style with indent -linux -l 80 -lc

2011-02-11 Thread Luis R. Rodriguez
On Fri, Feb 11, 2011 at 7:01 AM, Greg KH wrote: > On Fri, Feb 11, 2011 at 01:21:35PM +0300, Dan Carpenter wrote: >> On Fri, Feb 11, 2011 at 01:27:15AM -0800, Luis R. Rodriguez wrote: >> > +                  address = mboxAddress[ENDPOINT1]; >> > +                  status = >> > +                  

Re: [PATCH 1/5] ath6kl: address coding style with indent -linux -l 80 -lc

2011-02-11 Thread Greg KH
On Fri, Feb 11, 2011 at 01:21:35PM +0300, Dan Carpenter wrote: > On Fri, Feb 11, 2011 at 01:27:15AM -0800, Luis R. Rodriguez wrote: > > + address = mboxAddress[ENDPOINT1]; > > + status = > > + HIFReadWrite(device, address, buffer, length, > > +

iPhone/iPad Application Development - Blackberry/Android Application Development

2011-02-11 Thread Garrison
iPhone/iPad Application Development - Blackberry/Android Mobile Application Development We are China based company explicitly active for iPhone software programming solutions and Mobile Application Development services as well as wireless application (WAP) development. We are organized to deliv

Re: [PATCH 1/5] ath6kl: address coding style with indent -linux -l 80 -lc

2011-02-11 Thread Dan Carpenter
On Fri, Feb 11, 2011 at 01:27:15AM -0800, Luis R. Rodriguez wrote: > +address = mboxAddress[ENDPOINT1]; > +status = > +HIFReadWrite(device, address, buffer, length, > + HIF_RD_SYNC_BYTE_INC, NULL); if (statu

[PATCH 5/5] ath6kl: Convert A_MALLOC to kmalloc/kzalloc

2011-02-11 Thread Luis R. Rodriguez
If there's a memset or an A_MEMZERO, use kzalloc. Cc: Vipin Mehta Cc: Naveen Singh Signed-off-by: Luis R. Rodriguez --- .../ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c | 16 +++-- drivers/staging/ath6kl/htc2/AR6000/ar6k.c |2 +- .../ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c

[PATCH 4/5] ath6kl: s/A_MEMCMP/memcmp/g

2011-02-11 Thread Luis R. Rodriguez
for i in $(find ./drivers/staging/ath6kl/ -name \*.[ch]) ; do \ sed -r -i -e "s/A_MEMCMP/memcmp/g" $i; done Cc: Vipin Mehta Cc: Naveen Singh Signed-off-by: Luis R. Rodriguez --- drivers/staging/ath6kl/miscdrv/common_drv.c|4 ++-- drivers/staging/ath6kl/os/linux/ar6000_drv.c

[PATCH 2/5] ath6kl: remove-typedef -s A_UCHAR u8 drivers/staging/ath6kl/

2011-02-11 Thread Luis R. Rodriguez
Cc: Vipin Mehta Cc: Naveen Singh Signed-off-by: Luis R. Rodriguez --- drivers/staging/ath6kl/bmi/include/bmi_internal.h |4 +- drivers/staging/ath6kl/bmi/src/bmi.c | 34 .../hif/sdio/linux_sdio/include/hif_internal.h |2 +- .../staging/ath6kl/hif/sdio/linux

[PATCH 0/5] ath6kl: cleanup-2011-02-10

2011-02-11 Thread Luis R. Rodriguez
Greg, here are a few cleanups. Joe Perches had a lot of changes but I ran into issues rebasing them myself so I just decided to do my own cleanup based on his descriptions. It was easier than a rebase or applying the patches myself manually. I'll start off with these 5 patches for my work on 2011

Re: [PATCH] Staging: tidspbridge: fixed several coding style issues

2011-02-11 Thread Dan Carpenter
On Fri, Feb 11, 2011 at 01:02:46AM +0100, Klaas Neirinck wrote: > Fixed several coding style issues. > > Signed-off-by: Klaas Neirinck --- dest = ibuf.bufr; > #ifdef OPT_ZERO_COPY_LOADER > zero_copy = false; > -