Re: [PATCH] scripts:checkpatch - correct the error message during check

2015-10-30 Thread Joe Perches
On Fri, 2015-10-30 at 12:56 +, Andy Whitcroft wrote: > On Fri, Oct 30, 2015 at 04:55:04PM +0530, shailendr...@samsung.com wrote: > > From: Shailendra Verma [] > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > > @@ -3169,21 +3169,21 @@ sub process { > > } > > > >

Re: [PATCH] scripts:checkpatch - correct the error message during check

2015-10-30 Thread Andy Whitcroft
On Fri, Oct 30, 2015 at 04:55:04PM +0530, shailendr...@samsung.com wrote: > From: Shailendra Verma > > Signed-off-by: Shailendra Verma > --- > scripts/checkpatch.pl | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.

[PATCH] scripts:checkpatch - correct the error message during check

2015-10-30 Thread shailendra . v
From: Shailendra Verma Signed-off-by: Shailendra Verma --- scripts/checkpatch.pl | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index c5ec977..b2436d3 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @

[PATCH] scripts:checkpatch - correct the error message during check

2015-06-05 Thread Shailendra Verma
Signed-off-by: Shailendra Verma --- scripts/checkpatch.pl | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index c5ec977..b2436d3 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3169,21 +3169,21 @@ su

Re: [PATCH] scripts:checkpatch - correct the error message during check

2015-06-05 Thread Joe Perches
On Fri, 2015-06-05 at 21:01 +0530, Shailendra Verma wrote: > Sorry i could not understand the point as i am not very good in Perl. Is anyone very good at perl? > Are you saying that we need to change ? > > - "do not initialise globals to 0 or NULL\n" . > > +

Re: [PATCH] scripts:checkpatch - correct the error message during check

2015-06-05 Thread Joe Perches
On Fri, 2015-06-05 at 19:25 +0530, Shailendra Verma wrote: > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -3169,21 +3169,21 @@ sub process { > } > > # check for global initialisers. > - if ($line =~ > /^\+$Type\s*$Ident(?:\s+$Modifier)*\s*=\s*(?:0

[PATCH] scripts:checkpatch - correct the error message during check

2015-06-05 Thread Shailendra Verma
Signed-off-by: Shailendra Verma --- scripts/checkpatch.pl | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index c5ec977..b59f356 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3169,21 +3169,21 @@ su

Re: [PATCH] scripts:checkpatch - correct the error message during

2015-06-04 Thread Joe Perches
On Thu, 2015-06-04 at 22:25 +0530, Shailendra Verma wrote: > Hello Joe, > > Is it the latest revision of checkpatch.pl? > > https://git.kernel.org/cgit/linux/kernel/git/apw/checkpatch.git/tree/scripts/checkpatch.pl?h=next Well, it should be here, but Andrew Morton hasn't pushed it to -next yet.

Re: [PATCH] scripts:checkpatch - correct the error message during

2015-06-04 Thread Joe Perches
On Thu, 2015-06-04 at 20:56 +0530, Shailendra Verma wrote: > Signed-off-by: Shailendra Verma Please redo this using the most current version from the linux-next tree. > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -3169,21 +3169,21 @@ sub process { > } > >

[PATCH] scripts:checkpatch - correct the error message during

2015-06-04 Thread Shailendra Verma
Signed-off-by: Shailendra Verma --- scripts/checkpatch.pl | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 89b1df4..ac98ee8 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3169,21 +3169,21 @@ su