[PATCH] drivers: staging: rtl8723au: fix warning: cast to restricted __le16

2015-04-02 Thread Piotr Witoslawski
Signed-off-by: Piotr Witoslawski pwi...@gmail.com --- drivers/staging/rtl8723au/hal/rtl8723au_xmit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c b/drivers/staging/rtl8723au/hal/rtl8723au_xmit.c index 1759487..256958e 100644

are you looking for email marketing?

2015-04-02 Thread Martin
Hi, You are receiving this email because we wish you to use our target email marketing service. Email marketing is one of the best marketing strategies of all time and has helped many businesses globally achieve their goals, double their profits and increase their client base. We have worked

[patch] android, lmk: avoid setting TIF_MEMDIE if process has already exited

2015-04-02 Thread David Rientjes
TIF_MEMDIE should not be set on a process if it does not have a valid -mm, and this is protected by task_lock(). If TIF_MEMDIE gets set after the mm has detached, and the process fails to exit, then the oom killer will defer forever waiting for it to exit. Make sure that the mm is still valid

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-04-02 Thread Julia Lawall
On Tue, 31 Mar 2015, Drokin, Oleg wrote: On Mar 31, 2015, at 11:57 AM, gre...@linuxfoundation.org wrote: On Tue, Mar 31, 2015 at 05:15:23PM +0200, Julia Lawall wrote: On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: This patch replaces kzalloc and copy_from_user with memdup_user

Re: [PATCH] drivers: staging: rtl8723au: fix warning: cast to restricted __le16

2015-04-02 Thread Dan Carpenter
This doesn't look right and it doesn't have a changelog explainly the weirdness. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] drivers: staging: rtl8723au: fix warning: cast to restricted __le16

2015-04-02 Thread Jes Sorensen
Dan Carpenter dan.carpen...@oracle.com writes: This doesn't look right and it doesn't have a changelog explainly the weirdness. ... and the fix is as ugly as it gets! If something like this is needed, creating a __le16 *ptr at the beginnging of the function would be a lot better. Jes

[PATCH] staging:rtl8192e: Change printk statements in rtllib_tx.c to use netdev_dev

2015-04-02 Thread Nicholas Krause
This changes the remaining printk statements with the log level of KERN_INFO to use the more appropriate netdev_info for print messages related to code using or part of the networking subsystem. Further more this was found by running checkpatch.pl on the file, rtllib_tx.c. Signed-off-by: Nicholas

[PATCH] Staging: lustre: o2iblnd_modparam.c: remove unneeded space before the arguments of a function

2015-04-02 Thread Gwendoline Chouasne-Guillon
From d4def87bcfa41640c5ba0e171036c0ee9da98c08 Mon Sep 17 00:00:00 2001 From: Gwendoline Chouasne-Guillon choua...@clipper.ens.fr Date: Thu, 2 Apr 2015 16:11:04 +0200 Subject: [PATCH] Staging: lustre: o2iblnd_modparam.c: remove unneeded space before the arguments of a function Remove unneeded

Patch for syntax done

2015-04-02 Thread ruggero
From f770478d61e80e66cb310b92529f968c12831206 Mon Sep 17 00:00:00 2001 From: Cyrille Ruggero cyrille.rugg...@ens.fr Date: Thu, 2 Apr 2015 16:09:14 +0200 Subject: [PATCH] Staging: lustre: dir.c: adding a blank after a declaration. Adding a blank in this file after a declaration as reported by

Re: [PATCH] Staging: lustre: o2iblnd_modparam.c: remove unneeded space before the arguments of a function

2015-04-02 Thread Dan Carpenter
On Thu, Apr 02, 2015 at 04:32:32PM +0200, Gwendoline Chouasne-Guillon wrote: From d4def87bcfa41640c5ba0e171036c0ee9da98c08 Mon Sep 17 00:00:00 2001 From: Gwendoline Chouasne-Guillon choua...@clipper.ens.fr Date: Thu, 2 Apr 2015 16:11:04 +0200 Subject: [PATCH] Staging: lustre:

Re: [PATCH] Staging: lustre: api-ni.c: adding tabs because lines were too long.

2015-04-02 Thread Dan Carpenter
Also fix your email client from header so that it shows your name. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: lustre: ping_test.c : remove space after function names

2015-04-02 Thread Auguste Olivry
remove space between function names and open parentheses as reported by checkpatch.pl. Signed-off-by: Auguste Olivry auguste.oli...@ens.fr --- drivers/staging/lustre/lnet/selftest/ping_test.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git

Re: [PATCH] Staging: lustre: dir.c: adding a blank after a declaration.

2015-04-02 Thread Greg KH
On Thu, Apr 02, 2015 at 06:24:21PM +0300, Dan Carpenter wrote: Still mangled. Read Documentation/email-clients.txt. Send the patch to yourself. Apply it with git am. Then resend when that works. Dan, sorry about these, I just taught a class how to write a kernel patch, and emails got all

[PATCH v2] drivers: staging: rtl8723au: fix warning: cast to restricted __le16

2015-04-02 Thread Piotr Witoslawski
This patch fixes the sparse warning: cast to restricted __le16 reported for rtl8723au/hal/rtl8723au_xmit.c Signed-off-by: Piotr Witoslawski pwi...@gmail.com --- v2: Changing pointer type instead of casting, as suggested by Jes Sorensen jes.soren...@redhat.com

[PATCH] Staging: lustre: module.c: remove unneeded return statement

2015-04-02 Thread Greg Kroah-Hartman
Remove an unneeded return statement in this file as reported by checkpatch.pl. Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/lustre/lnet/selftest/module.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/selftest/module.c

[PATCH V2 0/3] Fix some issues of staging ion test driver

2015-04-02 Thread Phong Tran
Hi Greg, Arve, Riley, Dan, This patcheset fixes: (1) Define the GPL V2 for ion_test driver (2) Add the remove() platform driver callback to deregister the misc device (3) unregister platform device when driver is unloaded Thank for Dan's reivew. Changes from v1: Imporve the coding

[PATCH] Staging: lustre: api-ni.c: adding tabs because lines were too long.

2015-04-02 Thread vcabanne
From 654380760bfc5b35ed3d3d4a7d3eb126fe747959 Mon Sep 17 00:00:00 2001 From: Vivien Cabannes vcaba...@clipper.ens.fr Date: Thu, 2 Apr 2015 16:32:15 +0200 Subject: [PATCH] Staging: lustre: api-ni.c: adding tabs because lines were too long. Adding tabs because lines were too long. ---

Re: [PATCH] Staging: lustre: api-ni.c: adding tabs because lines were too long.

2015-04-02 Thread Dan Carpenter
On Thu, Apr 02, 2015 at 05:03:38PM +0200, vcaba...@clipper.ens.fr wrote: From 654380760bfc5b35ed3d3d4a7d3eb126fe747959 Mon Sep 17 00:00:00 2001 From: Vivien Cabannes vcaba...@clipper.ens.fr Date: Thu, 2 Apr 2015 16:32:15 +0200 Subject: [PATCH] Staging: lustre: api-ni.c: adding tabs because

Re: [PATCH] Staging: lustre: api-ni.c: adding tabs because lines were too long.

2015-04-02 Thread Greg KH
On Thu, Apr 02, 2015 at 04:57:52PM +0200, vcaba...@clipper.ens.fr wrote: From 654380760bfc5b35ed3d3d4a7d3eb126fe747959 Mon Sep 17 00:00:00 2001 From: Vivien Cabannes vcaba...@clipper.ens.fr Date: Thu, 2 Apr 2015 16:32:15 +0200 Subject: [PATCH] Staging: lustre: api-ni.c: adding tabs because

[PATCH] Staging: lustre: dir.c: adding a blank after a declaration.

2015-04-02 Thread ruggero
From f770478d61e80e66cb310b92529f968c12831206 Mon Sep 17 00:00:00 2001 From: Cyrille Ruggero cyrille.rugg...@ens.fr Date: Thu, 2 Apr 2015 16:09:14 +0200 Subject: [PATCH] Staging: lustre: dir.c: adding a blank after a declaration. Adding a blank in this file after a declaration as reported by

Re: Patch for syntax done

2015-04-02 Thread Dan Carpenter
Fix your email client from header so it shows your name. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: lustre: ping_test.c : remove space after function names

2015-04-02 Thread Auguste Olivry
remove space between function names and open parentheses as reported by checkpatch.pl. Signed-off-by: Auguste Olivry auguste.oli...@ens.fr --- drivers/staging/lustre/lnet/selftest/ping_test.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git

[PATCH] Staging: lustre: lov_io.c: remove useless unary pluses

2015-04-02 Thread Luca Wehrstedt
Replace two occurrences of +1 with simply 1. Signed-off-by: Luca Wehrstedt luca.wehrst...@ens.fr --- drivers/staging/lustre/lustre/lov/lov_io.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/lov/lov_io.c

[PATCH V2 2/3] staging: android: ion_test: unregister the misc device

2015-04-02 Thread Phong Tran
Add the remove() method for deregister from misc device when it's unloaded. Signed-off-by: Phong Tran tranmanph...@gmail.com --- drivers/staging/android/ion/ion_test.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/staging/android/ion/ion_test.c

[PATCH V2 1/3] staging: android: ion_test: Add the MODULE_LICENSE macro

2015-04-02 Thread Phong Tran
Base on the file comment should define GPL v2 for ion test driver Signed-off-by: Phong Tran tranmanph...@gmail.com --- drivers/staging/android/ion/ion_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion_test.c b/drivers/staging/android/ion/ion_test.c index

[PATCH] Staging: lustre: dir.c: adding a blank after a declaration.

2015-04-02 Thread ruggero
From f770478d61e80e66cb310b92529f968c12831206 Mon Sep 17 00:00:00 2001 From: Cyrille Ruggero cyrille.rugg...@ens.fr Date: Thu, 2 Apr 2015 16:09:14 +0200 Subject: [PATCH] Staging: lustre: dir.c: adding a blank after a declaration. Adding a blank in this file after a declaration as reported by

[PATCH V2 3/3] staging: android: ion_test: unregister the platform device

2015-04-02 Thread Phong Tran
The driver has to unregister from platform device when it's unloaded Signed-off-by: Phong Tran tranmanph...@gmail.com --- drivers/staging/android/ion/ion_test.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/ion_test.c

[PATCH] Staging: lustre: o2iblnd.c: Started fixing coding style

2015-04-02 Thread Guillaume Matheron
I focused on function declarations (placed return type on the same line as function name), and spaces between function name and parenthesis Signed-off-by: Guillaume Matheron guillaume.mathe...@ens.fr --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 445 + 1 file