[PATCH] Enable code completion in VIM

2016-08-30 Thread Mathieu Maret
/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

Re: [PATCH RESEND 1/2] staging: binder: add __user annotation in binder.c

2014-04-15 Thread Mathieu Maret
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

[PATCH RESEND 1/2] staging: binder: add __user annotation in binder.c

2014-04-15 Thread Mathieu Maret
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

[PATCH RESEND 2/2] staging: binder: Code simplification

2014-04-15 Thread Mathieu Maret
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

Re: [PATCH 2/2] staging: binder: Code simplification

2014-03-25 Thread Mathieu Maret
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

[PATCH 2/2] staging: binder: Code simplification

2014-03-25 Thread Mathieu Maret
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

[PATCHv2 1/2] staging: binder: add __user annotation in binder.c

2014-03-25 Thread Mathieu Maret
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

Re: [PATCH 1/2] staging: binder: add __user annotation in binder.c

2014-03-24 Thread Mathieu Maret
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 -

[PATCH 2/2] staging: binder: reduce line size

2014-03-24 Thread Mathieu Maret
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

[PATCH 1/2] staging: binder: add __user annotation in binder.c

2014-03-24 Thread Mathieu Maret
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

[PATCHv2 4/5] staging: wlags49_h2: Correct macro style in wl_netdev.c

2014-03-19 Thread Mathieu Maret
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..

[PATCH 3/5] staging: wlags49_h2: Correct comment style in wl_netdev.c

2014-03-19 Thread Mathieu Maret
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

[PATCH 4/5] staging: wlags49_h2: Correct macro style in wl_netdev.c

2014-03-19 Thread Mathieu Maret
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

[PATCH 2/5] staging: wlags49_h2: remove commented code in wl_netdev.c

2014-03-19 Thread Mathieu Maret
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

[PATCH 5/5] staging: wlags49_h2: Correct coding style in wl_netdev.c

2014-03-19 Thread Mathieu Maret
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