[PATCH] staging/spectra: remove non existing blk_fs_request wrapper

2010-06-24 Thread Javier Martinez Canillas
The spectra driver doesn't compile with today linux-next The problem is that it tries to use a blk_fs_request macro. Searching for this macro I saw that it used to exist in linux/blkdev.h as #define blk_fs_request(rq) ((rq)->cmd_type == REQ_TYPE_FS) This patch solves the issue eliminating the u

Re: [PATCH 1/3] Staging: vt6655: remove DWORD typedef

2010-06-24 Thread Charles Clément
Hi, On Thu, Jun 24, 2010 at 09:45:38PM +0200, Jiri Slaby wrote: > On 06/24/2010 08:02 PM, Charles Clément wrote: > > Replace all occurrences with unsigned long type, except for pointer fields > > that > > should be u32 in packed structures and 8-byte-aligned 8 byte long structure > > QWORD. > >

[PATCH 2/2] Staging: rtl8192u_usb: Add LG device ID 043e:7a01

2010-06-24 Thread Ben Hutchings
Add another device ID as listed in the vendor driver version 0003.0825.2009. Signed-off-by: Ben Hutchings --- drivers/staging/rtl8192u/r8192U_core.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U

[PATCH 1/2] rtl8192s_usb: Remove duplicate device ID

2010-06-24 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- drivers/staging/rtl8192su/r8192U_core.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/staging/rtl8192su/r8192U_core.c b/drivers/staging/rtl8192su/r8192U_core.c index 15e9579..b69e198 100644 --- a/drivers/staging/rtl8192su/r8192U

Re: Bug#584945: [PATCH 1/2] Staging: rtl8192s_usb: Fix device ID table

2010-06-24 Thread Greg KH
On Thu, Jun 24, 2010 at 01:42:02AM +0100, Ben Hutchings wrote: > On Tue, 2010-06-22 at 15:34 -0700, Greg KH wrote: > > On Fri, Jun 18, 2010 at 01:00:35AM +0100, Ben Hutchings wrote: > > > The rtl8192s_usb driver was claiming a number of device IDs which are > > > actually supported by the code in t

[PATCH -next] solo: depends on SND

2010-06-24 Thread Randy Dunlap
fined reference to `snd_card_create' Signed-off-by: Randy Dunlap Cc: Ben Collins --- drivers/staging/solo6x10/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20100624.orig/drivers/staging/solo6x10/Kconfig +++ linux-next-20100624/drivers/staging/solo6x10/

Medical Doctor List in the US

2010-06-24 Thread Casey Caudill
Here's a list package on sale this week only: Real Estate Agents - 1 million records with emails USA Lawyers Database - 269,787 records with 235,244 emails US New Business Database - 4.8 million records all with emails American Consumer Database - 1,300,000 records all with emails American Homeown

Re: [PATCH 1/3] Staging: vt6655: remove DWORD typedef

2010-06-24 Thread Jiri Slaby
On 06/24/2010 08:02 PM, Charles Clément wrote: > Replace all occurrences with unsigned long type, except for pointer fields > that > should be u32 in packed structures and 8-byte-aligned 8 byte long structure > QWORD. > > Thanks to Jiri Slaby for pointing out that simply replacing by unsigned lon

RE: [PATCH] Staging: d53155_drv.c: cleanup fbuffer usage

2010-06-24 Thread H Hartley Sweeten
On Thursday, June 24, 2010 10:38 AM, Joe Perches wrote: > On Thu, 2010-06-24 at 09:31 -0700, H Hartley Sweeten wrote: > The global symbol dt3155_fbuffer[], declared in dt3155_isr.c, is really >> just a pointer to dt3155_status[].fbuffer. To improve readability, make >> some of the really long lines

RE: [PATCH] Staging: memrar: Moved memrar_allocator struct into memrar_allocator.c

2010-06-24 Thread Othman, Ossama
Hi, > >> size_t memrar_allocator_largest_free_area(struct memrar_allocator > *allocator) > >> { > >> - if (allocator == NULL) > >> - return 0; > >> - return allocator->largest_free_area; > >> + size_t tmp = 0; > >> + > >> + if (allocator != NULL) { > >> + mutex_lock(&allocato

Re: [PATCH] Staging: d53155_drv.c: cleanup fbuffer usage

2010-06-24 Thread Joe Perches
On Thu, 2010-06-24 at 09:31 -0700, H Hartley Sweeten wrote: > The global symbol dt3155_fbuffer[], declared in dt3155_isr.c, is really > just a pointer to dt3155_status[].fbuffer. To improve readability, make > some of the really long lines shorter, and make the buffer access more > consistent, use

RE: [PATCH 2/2] Staging: memrar: Fixed memrar_handler.c

2010-06-24 Thread Othman, Ossama
Hi Alan, > > size_t memrar_allocator_largest_free_area(struct memrar_allocator > *allocator) > > { > > - if (allocator == NULL) > > - return 0; > > - return allocator->largest_free_area; > > + size_t tmp = 0; > > + > > + if (allocator != NULL) { > > + mutex_lock(&allo

[PATCH] Staging: d53155_drv.c: cleanup fbuffer usage

2010-06-24 Thread H Hartley Sweeten
The global symbol dt3155_fbuffer[], declared in dt3155_isr.c, is really just a pointer to dt3155_status[].fbuffer. To improve readability, make some of the really long lines shorter, and make the buffer access more consistent, use &dt3155_status[].fbuffer to access the buffer structure. Signed-off

Re: [PATCH -next] zram: fix build errors, depends on BLOCK

2010-06-24 Thread Nitin Gupta
On 06/24/2010 09:23 PM, Randy Dunlap wrote: > On 06/24/10 08:47, Nitin Gupta wrote: >> On 06/24/2010 08:02 PM, Randy Dunlap wrote: >>> On 06/23/10 21:36, Nitin Gupta wrote: On 06/24/2010 08:57 AM, Randy Dunlap wrote: > From: Randy Dunlap > > Fix 49 zram build errors in one swoop.

Re: [PATCH -next] zram: fix build errors, depends on BLOCK

2010-06-24 Thread Randy Dunlap
On 06/24/10 08:47, Nitin Gupta wrote: > On 06/24/2010 08:02 PM, Randy Dunlap wrote: >> On 06/23/10 21:36, Nitin Gupta wrote: >>> On 06/24/2010 08:57 AM, Randy Dunlap wrote: From: Randy Dunlap Fix 49 zram build errors in one swoop. Examples: drivers/staging/zram/zram_drv.c

Re: [PATCH -next] zram: fix build errors, depends on BLOCK

2010-06-24 Thread Nitin Gupta
On 06/24/2010 08:02 PM, Randy Dunlap wrote: > On 06/23/10 21:36, Nitin Gupta wrote: >> On 06/24/2010 08:57 AM, Randy Dunlap wrote: >>> From: Randy Dunlap >>> >>> Fix 49 zram build errors in one swoop. Examples: >>> >>> drivers/staging/zram/zram_drv.c:225: error: dereferencing pointer to >>> inco

Re: [PATCH -next] zram: fix build errors, depends on BLOCK

2010-06-24 Thread Randy Dunlap
On 06/23/10 21:36, Nitin Gupta wrote: > On 06/24/2010 08:57 AM, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Fix 49 zram build errors in one swoop. Examples: >> >> drivers/staging/zram/zram_drv.c:225: error: dereferencing pointer to >> incomplete type >> drivers/staging/zram/zram_drv.c:226: e

Fwd: [PATCH] Staging: memrar: Moved memrar_allocator struct into memrar_allocator.c

2010-06-24 Thread Henri Häkkinen
On 24.6.2010, at 12.09, Alan Cox wrote: >> size_t memrar_allocator_largest_free_area(struct memrar_allocator *allocator) >> { >> -if (allocator == NULL) >> -return 0; >> -return allocator->largest_free_area; >> +size_t tmp = 0; >> + >> +if (allocator != NULL) { >> +

Re: [PATCH 1/2] Staging: memrar: Moved memrar_allocator struct to memrar_allocator.c

2010-06-24 Thread Henri Häkkinen
On 24.6.2010, at 12.16, Alan Cox wrote: >> +size_t memrar_allocator_largest_free_area(struct memrar_allocator >> *allocator) >> +{ >> +if (allocator == NULL) >> +return 0; >> +return allocator->largest_free_area; >> +} > > static ? The entire point of these two patches was t

Re: [PATCH 1/2] Staging: memrar: Moved memrar_allocator struct to memrar_allocator.c

2010-06-24 Thread Alan Cox
> +size_t memrar_allocator_largest_free_area(struct memrar_allocator *allocator) > +{ > + if (allocator == NULL) > + return 0; > + return allocator->largest_free_area; > +} static ? ___ devel mailing list devel@linuxdriverproject.org

Re: [PATCH 2/2] Staging: memrar: Fixed memrar_handler.c

2010-06-24 Thread Alan Cox
> size_t memrar_allocator_largest_free_area(struct memrar_allocator *allocator) > { > - if (allocator == NULL) > - return 0; > - return allocator->largest_free_area; > + size_t tmp = 0; > + > + if (allocator != NULL) { > + mutex_lock(&allocator->lock); > +

Re: [PATCH 1/3] Staging: vt6655: remove DWORD typedef

2010-06-24 Thread Jiri Slaby
On 06/24/2010 01:15 AM, Charles Clément wrote: > Yes, no problem, although won't just changing these to u32 for the first > case take the problem elsewhere in the driver? No, it can't. As Greg wrote, apparently it has never ever been tested on 64-bit (it wouldn't work) and long on 32-bit is 32-bit

[PATCH 2/2] Staging: memrar: Fixed memrar_handler.c

2010-06-24 Thread Henri Häkkinen
Fixed memrar_handler.c to use the new memrar_allocator API. Removed the corresponding issue from TODO. Implemented locking in memrar_allocator_largest_free_area(). Signed-off-by: Henri Häkkinen largest_free_area; + size_t tmp = 0; + + if (allocator != NULL) { + mutex_lo

[PATCH 1/2] Staging: memrar: Moved memrar_allocator struct to memrar_allocator.c

2010-06-24 Thread Henri Häkkinen
Forward declared memrar_allocator structure in memrar_allocator.h and moved the definition to memrar_allocator.c. Implemented memrar_allocator_capacity() and memrar_allocator_largest_free_area(). Signed-off-by: Henri Häkkinen --- drivers/staging/memrar/memrar_allocator.c | 43 +