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

2010-06-23 Thread Nitin Gupta
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: error: implicit declaration of function > 'bi

Re: How to detect the usb gadget connected to host from application

2010-06-23 Thread linux newbie
attach = ioctl(fd[0].fd, ATTACHED); ioctl wil return '0' on success. so my understanding is you need to pass the address of "status" to the ioctl and get the value. eg: ioctl(fd, ATTACHED, &status); if (status < 0) { printf("Printer Dettached\n"); } On Thu, Jun 24, 2010 at 1:25 PM, Sandeep G.R

[PATCH -next] staging: fix wlan-ng depends

2010-06-23 Thread Randy Dunlap
#x27; Signed-off-by: Randy Dunlap Cc: de...@driverdev.osuosl.org --- drivers/staging/wlan-ng/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20100623.orig/drivers/staging/wlan-ng/Kconfig +++ linux-next-20100623/drivers/staging/wlan-ng/Kconfig @@ -1,6 +1,6 @@

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

2010-06-23 Thread Randy Dunlap
drivers/staging/zram/zram_drv.c:548: error: dereferencing pointer to incomplete type Signed-off-by: Randy Dunlap Cc: de...@driverdev.osuosl.org Cc: Nitin Gupta --- drivers/staging/zram/Kconfig|1 + drivers/staging/zram/zram_drv.c |1 + 2 files changed, 2 insertions(+) -

How to detect the usb gadget connected to host from application

2010-06-23 Thread Sandeep G.R
Hi Greg KH, I am using usb gadget printer driver for iMX25(ARM9) board and the kernel version is 2.6.31, now i have made an application which will open the driver from user space as "/dev/g_printer" whenever i connect the usb gadget to the host i need to detect from my applicatio

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

2010-06-23 Thread Ben Hutchings
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 the rtl8192u_usb driver. Remove > > them from rtl8192s_usb, and add mor

[PATCH] staging: vt6656: replace IS_ETH_ADDRESS_EQUAL with compare_ether_addr

2010-06-23 Thread Andres More
Code cleanup, removed custom macro to compare Ethernet addresses. Some checkpatch warnings on indentation were not resolved. The return value of compare_ether_addr was reversed, something to consider. Signed-off-by: Andres More --- drivers/staging/vt6656/bssdb.c | 10 ++ drivers/stag

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

2010-06-23 Thread Charles Clément
On Wed, Jun 23, 2010 at 03:16:16PM -0700, Greg Kroah-Hartman wrote: > On Wed, Jun 23, 2010 at 09:47:44AM +0200, Jiri Slaby wrote: > > On 06/23/2010 01:56 AM, Charles Clément wrote: > > > Replace all occurrences with unsigned long type. > > > > At least this: > > > > > --- a/drivers/staging/vt6655

Re: [PATCH] [staging-next] [3] Staging: wl_cs.c: fixed style issues in wl_cs.c

2010-06-23 Thread Greg KH
What's with the [PATCH] [staging-next] [3] stuff in your Subject:? In the future, just put it all within a single [] please, that way I don't have to edit the Subject line by hand. thanks, greg k-h ___ devel mailing list devel@linuxdriverproject.org ht

Re: Staging: dt3155: Cleanup memory mapped i/o access

2010-06-23 Thread Greg KH
On Tue, Jun 22, 2010 at 04:38:50PM -0700, H Hartley Sweeten wrote: > The macros ReadMReg and WriteMReg are really just private versions of > the kernel's readl and writel functions. Use the kernel's functions > instead. And since ioremap returns a (void __iomem *) not a (u8 *), > change all the u

Re: [PATCH] Staging: memrar: fix coding style issues in memrar_handler.c

2010-06-23 Thread Greg KH
On Tue, Jun 22, 2010 at 10:37:33PM -0500, Gustavo Silva wrote: > This is a patch to the memrar_handler.c file that fixes up the following > issues: > > ERROR: trailing whitespace > ERROR: code indent should use tabs where possible > WARNING: please, no space before tabs Sorry, someone just sent t

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

2010-06-23 Thread Greg KH
On Wed, Jun 23, 2010 at 09:47:44AM +0200, Jiri Slaby wrote: > On 06/23/2010 01:56 AM, Charles Clément wrote: > > Replace all occurrences with unsigned long type. > > At least this: > > > --- a/drivers/staging/vt6655/desc.h > > +++ b/drivers/staging/vt6655/desc.h > ... > > @@ -391,13 +391,13 @@ ty

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

2010-06-23 Thread Greg KH
On Mon, Jun 14, 2010 at 03:40:27PM +0300, Henri Häkkinen wrote: > Forward declared memrar_allocator in memrar_allocator.h and moved it > to memrar_allocator.c file. Implemented memrar_allocator_capacity(), > memrar_allocator_largest_free_area(), memrar_allocoator_lock() and > memrar_allocator_unlo

Re: linux-next: Tree for June 21 (staging/easycap)

2010-06-23 Thread Greg KH
On Wed, Jun 23, 2010 at 11:06:30AM -0700, Randy Dunlap wrote: > Greg KH wrote: > > On Mon, Jun 21, 2010 at 09:00:49AM -0700, Randy Dunlap wrote: > >> On Mon, 21 Jun 2010 17:00:56 +1000 Stephen Rothwell wrote: > >> > >>> Hi all, > >>> > >>> Changes since 20100618: > >> > >> When CONFIG_USB is not en

Re: linux-next: Tree for June 21 (staging/easycap)

2010-06-23 Thread Randy Dunlap
Greg KH wrote: > On Mon, Jun 21, 2010 at 09:00:49AM -0700, Randy Dunlap wrote: >> On Mon, 21 Jun 2010 17:00:56 +1000 Stephen Rothwell wrote: >> >>> Hi all, >>> >>> Changes since 20100618: >> >> When CONFIG_USB is not enabled: >> >> ERROR: "usb_kill_urb" [drivers/staging/easycap/easycap.ko] undefine

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

2010-06-23 Thread Othman, Ossama
Hi, > Forward declared memrar_allocator in memrar_allocator.h and moved it > to memrar_allocator.c file. Implemented memrar_allocator_capacity(), > memrar_allocator_largest_free_area(), memrar_allocoator_lock() and > memrar_allocator_unlock(). ... > - mutex_lock(&allocator->lock); > - r->

Re: [PATCH] Staging: ti-st: Fix a typo

2010-06-23 Thread Andrea Gelmini
2010/6/4 Greg KH : > You forgot to add a "Signed-off-by:" line to the patch.  Care to resend > the whole thing with that added so that I can apply it? Sorry for the delay I'll resend it in a minute. Thanks a lot, Andrea ___ devel mailing list devel@linu

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

2010-06-23 Thread Jiri Slaby
On 06/23/2010 01:56 AM, Charles Clément wrote: > Replace all occurrences with unsigned long type. At least this: > --- a/drivers/staging/vt6655/desc.h > +++ b/drivers/staging/vt6655/desc.h ... > @@ -391,13 +391,13 @@ typedef const STxDesc *PCSTxDesc; > typedef struct tagSTxSyncDesc { > vola

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

2010-06-23 Thread Henri Häkkinen
Forward declared memrar_allocator in memrar_allocator.h and moved it to memrar_allocator.c file. Implemented memrar_allocator_capacity(), memrar_allocator_largest_free_area(), memrar_allocoator_lock() and memrar_allocator_unlock(). Signed-off-by: Henri Häkkinen --- drivers/staging/memrar/memrar