Remove unused code under C99 comment style
Signed-off-by: Mathieu Maret
---
drivers/staging/wlags49_h2/wl_netdev.c | 38 --
1 file changed, 38 deletions(-)
diff --git a/drivers/staging/wlags49_h2/wl_netdev.c
b/drivers/staging/wlags49_h2/wl_netdev.c
index
Remove space between parenthesis.
Test with simple statement does not need brackets.
Simplify test condition
Signed-off-by: Mathieu Maret
---
drivers/staging/wlags49_h2/wl_netdev.c | 29 +++--
1 file changed, 11 insertions(+), 18 deletions(-)
diff --git a/drivers
Code is using C99 code style, so change them to kernel style
Signed-off-by: Mathieu Maret
---
drivers/staging/wlags49_h2/wl_netdev.c | 158 +++--
1 file changed, 89 insertions(+), 69 deletions(-)
diff --git a/drivers/staging/wlags49_h2/wl_netdev.c
b/drivers/staging
Multi statement macro should use do{}while(0)
Signed-off-by: Mathieu Maret
---
drivers/staging/wlags49_h2/wl_netdev.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wlags49_h2/wl_netdev.c
b/drivers/staging/wlags49_h2/wl_netdev.c
index 255d291
Multi statement macro should use do{}while(0)
patch v2 does not break compilation
---
drivers/staging/wlags49_h2/wl_netdev.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wlags49_h2/wl_netdev.c
b/drivers/staging/wlags49_h2/wl_netdev.c
index 255d291..
Fix the following spare warning
drivers/staging/android/binder.c:2691:21: warning: incorrect type in argument 1
(different address spaces)
Signed-off-by: Mathieu Maret
---
drivers/staging/android/binder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging
Signed-off-by: Mathieu Maret
---
drivers/staging/android/binder.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index 9418086..4e51034 100644
--- a/drivers/staging/android/binder.c
+++ b/drivers/staging
Joe Perches wrote:
> On Tue, 2014-03-25 at 01:24 +0100, Mathieu Maret wrote:
> > Fix the following spare warning
>
> sparse
>
> > drivers/staging/android/binder.c:2691:21: warning: incorrect type in
> > argument 1 (different address spaces)
> []
> > diff -
Remove duplicate code
Signed-off-by: Mathieu Maret
---
drivers/staging/android/binder.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index 6d8ee37..67aaa38 100644
--- a/drivers/staging/android
Add __user to binder_version and correct sparse warning.
Reduce line size to fit to coding style.
Signed-off-by: Mathieu Maret
---
drivers/staging/android/binder.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging
Joe Perches wrote:
> On Tue, 2014-03-25 at 23:03 +0100, Mathieu Maret wrote:
> > Remove duplicate code
> []
> > diff --git a/drivers/staging/android/binder.c
> > b/drivers/staging/android/binder.c
> []
> > @@ -2685,11 +2685,9 @@ static long binder_ioctl(struct
Remove duplicate code
Signed-off-by: Mathieu Maret
---
drivers/staging/android/binder.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index 3dca577..c29c3c7 100644
--- a/drivers/staging/android
Add __user to binder_version to correct sparse warning.
Reduce line size to fit to coding style.
Signed-off-by: Mathieu Maret
---
drivers/staging/android/binder.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging
Dan Carpenter wrote:
> This is the first time you have sent it to the list, it's not a RESEND.
>
The first one was only on the linux-kernel mailing list.
May be, that's why you did not get it.
As it was just before the 3.14 release, I was asked to resend latter.
Is it the expected meaning of the
/doc/omnicppcomplete.txt#L93
Signed-off-by: Mathieu Maret
---
scripts/tags.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index ed7eef2..e37af37 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -264,7 +264,8 @@ exuberant()
-I
15 matches
Mail list logo