Re: [PATCH] Staging: olpc_dcon: more big endian conformity

2013-08-15 Thread Jens Frederich
> > What happened to patch 1/3, I never got that. > You never got it, okay I'll resend it to you. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH 1/2] staging: gdm7240: a TTY rewrite according to the latest TTY APIs

2013-08-15 Thread Won Kang
Removed the old style reference countings and termios. Renamed variables to meaninful ones. Signed-off-by: Won Kang --- drivers/staging/gdm724x/gdm_tty.c | 294 ++--- drivers/staging/gdm724x/gdm_tty.h |5 +- 2 files changed, 142 insertions(+), 157 deletions(-

[PATCH 2/2] staging: gdm7240: a TTY rewrite according to the latest TTY APIs

2013-08-15 Thread Won Kang
Fixed mis-use of mutex for gdm_table. gdm_table is refered to only inside tty_install and port destrcut, and usb callbacks use internal reference which was saved during urb submission Signed-off-by: Won Kang --- drivers/staging/gdm724x/gdm_mux.c |9 drivers/staging/gdm724x/gdm_mux.h

Re: [GIT PATCH] Staging driver fixes for 3.11-rc6

2013-08-15 Thread Greg KH
On Thu, Aug 15, 2013 at 07:07:10PM -0700, Greg KH wrote: > The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: > > Linux 3.11-rc5 (2013-08-11 18:04:20 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/

[GIT PATCH] Staging driver fixes for 3.11-rc6

2013-08-15 Thread Greg KH
The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: Linux 3.11-rc5 (2013-08-11 18:04:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.11-rc6 for you to fetch changes up to ff8a43c10f1440f07a5

Re: [PATCH] Staging: olpc_dcon: more big endian conformity

2013-08-15 Thread Greg KH
On Thu, Aug 15, 2013 at 09:54:05PM +0200, Jens Frederich wrote: > On Mon, Aug 12, 2013 at 11:07 PM, Greg KH wrote: > > On Sun, Aug 04, 2013 at 11:04:16PM +0200, Jens Frederich wrote: > >> Using an int which is casted to unsigned char as inbuf is messy. > >> The code won't work on big endian system

Re: [PATCH] Staging:BCM:DDRInit.c:Replacing __FUNCTION__

2013-08-15 Thread Greg KH
On Thu, Aug 15, 2013 at 10:21:29PM +0100, paulmcq...@gmail.com wrote: > > __Function__ gets replaced with __func__ > > Signed-Off-By: Paul McQuade > --- > drivers/staging/bcm/DDRInit.c | 54 > - > 1 file changed, 27 insertions(+), 27 deletions(-) > >

[PATCH] Staging:BCM:DDRInit.c:Replacing __FUNCTION__

2013-08-15 Thread paulmcq...@gmail.com
__Function__ gets replaced with __func__ Signed-Off-By: Paul McQuade --- drivers/staging/bcm/DDRInit.c | 54 - 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/drivers/staging/bcm/DDRInit.c b/drivers/staging/bcm/DDRInit.c index 8c696b6..

Re: [PATCH] Staging: olpc_dcon: more big endian conformity

2013-08-15 Thread Jens Frederich
On Mon, Aug 12, 2013 at 11:07 PM, Greg KH wrote: > On Sun, Aug 04, 2013 at 11:04:16PM +0200, Jens Frederich wrote: >> Using an int which is casted to unsigned char as inbuf is messy. >> The code won't work on big endian systems. The patch should fix >> this. >> >> Signed-off-by: Jens Frederich >

[PATCH 2/3] Staging: olpc_dcon: replace some magic numbers

2013-08-15 Thread Jens Frederich
This patch replace some magic numbers. I believe it makes the driver more readable. The magic number 0x26 is the XO system embedded controller (EC) command 'DCON power enable/disable'. Number 0x41, and 0x42 are special memory controller settings register. The 0x41 initialize bit sequence 0x101 m

[PATCH 3/3] Staging: olpc_dcon: more big endian conformity

2013-08-15 Thread Jens Frederich
Using an int which is casted to unsigned char as inbuf is messy. The code won't work on big endian systems. The patch should fix this. Signed-off-by: Jens Frederich diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c index 5ca4fa4..198595e 100644 --- a/dr

[PATCH 3/3] Staging: olpc_dcon: more big endian conformity

2013-08-15 Thread Jens Frederich
Using an int which is casted to unsigned char as inbuf is messy. The code won't work on big endian systems. The patch should fix this. Signed-off-by: Jens Frederich diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c index 5ca4fa4..198595e 100644 --- a/dr

Re: [PATCH] Staging: olpc_dcon: more big endian conformity

2013-08-15 Thread Jens Frederich
On Mon, Aug 12, 2013 at 11:07 PM, Greg KH wrote: > On Sun, Aug 04, 2013 at 11:04:16PM +0200, Jens Frederich wrote: >> Using an int which is casted to unsigned char as inbuf is messy. >> The code won't work on big endian systems. The patch should fix >> this. >> >> Signed-off-by: Jens Frederich >

Re: [PATCH v4] staging: dgnc: removes proc code

2013-08-15 Thread Lidza Louina
On Thu, Aug 15, 2013 at 1:14 PM, Greg KH wrote: > On Thu, Aug 15, 2013 at 10:28:22AM -0400, Lidza Louina wrote: >> This patch removes the dgnc_proc.c and dgnc_proc.h files and all >> references to proc functions in dgnc_driver.c. This also removes proc.h >> from the include headers in driver.c, mg

Re: [PATCH v4] staging: dgnc: removes proc code

2013-08-15 Thread Greg KH
On Thu, Aug 15, 2013 at 10:28:22AM -0400, Lidza Louina wrote: > This patch removes the dgnc_proc.c and dgnc_proc.h files and all > references to proc functions in dgnc_driver.c. This also removes proc.h > from the include headers in driver.c, mgmt.c and sysfs.c and proc.o > from the Makefile. > >

[PATCH v4] staging: dgnc: removes proc code

2013-08-15 Thread Lidza Louina
This patch removes the dgnc_proc.c and dgnc_proc.h files and all references to proc functions in dgnc_driver.c. This also removes proc.h from the include headers in driver.c, mgmt.c and sysfs.c and proc.o from the Makefile. Drivers now use sysfs instead of proc. Signed-off-by: Lidza Louina ---

Re: [PATCH v3] staging: dgnc: removes proc code

2013-08-15 Thread Lidza Louina
On Wed, Aug 14, 2013 at 9:32 PM, Greg KH wrote: > Can you take this patch and apply it to a clean version of my > staging.git tree on the staging-next branch? > > Can you please rebase on this branch and try sending it out again? How > are you generating this patch? I found the problem, Sachin K

Web de administración de notificación de e-mail

2013-08-15 Thread Web de administración
Web de administración de notificación de e-mail Este mensaje es del centro de mensajes de administración para toda nuestra cuenta de correo electrónico owners.We está eliminando el acceso a todos nuestros clientes de correo web. Su correo electrónico cuenta se actualizará a una interfaz de us

[PATCH v2 04/10] android/sync: use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()

2013-08-15 Thread Yann Droneaud
Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be "unsafe": O_CLOEXEC must be used by default to not leak file descriptor across exec(). Instead of macro get_unused_fd(), functions anon_inode_getfd() or get_unused_fd_flags() should be us

[PATCH v2 00/10] Getting rid of get_unused_fd_flags()

2013-08-15 Thread Yann Droneaud
dditionnaly, removing the macro is not going to break modules ABI. In linux-next tag 20130815, they're currently: - 19 calls to get_unused_fd_flags() (+4) not counting get_unused_fd() and anon_inode_getfd() - 10 calls to get_unused_fd() (-4) - 11 calls to anon_inode_get

[PATCH v2 03/10] android/sw_sync: use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()

2013-08-15 Thread Yann Droneaud
Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be "unsafe": O_CLOEXEC must be used by default to not leak file descriptor across exec(). Instead of macro get_unused_fd(), functions anon_inode_getfd() or get_unused_fd_flags() should be us

[PATCH 1/2] staging: ozwpan: Remove unneeded variable initializer

2013-08-15 Thread Rupesh Gujare
We are assigning value to hport before returning, there is no need to initialize it. Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/ozhcd.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c index 4cd08d

[PATCH 2/2] staging: ozwpan: Remove extra variable.

2013-08-15 Thread Rupesh Gujare
We should not use extra variable just to copy pointer value, renaming parameter name serves pupose & removes extra variable. Signed-off-by: Rupesh Gujare --- drivers/staging/ozwpan/ozhcd.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/ozwpan/ozhcd.c b/d