linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup
       [not found] <1267289508-31031-1-git-send-email-andrea.gelmini@gelma.net>
@ 2010-02-27 16:51 ` Andrea Gelmini
  2010-03-01  2:33   ` Paul Mundt
  2010-03-17 15:39   ` Ralf Baechle
  2010-02-27 16:51 ` [PATCH 55/66] arch/sh/boot/compressed/cache.c: " Andrea Gelmini
  1 sibling, 2 replies; 7+ messages in thread
From: Andrea Gelmini @ 2010-02-27 16:51 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrea Gelmini, Ralf Baechle, Paul Mundt, linux-mips, linux-sh

arch/mips/lib/libgcc.h:21: ERROR: open brace '{' following union go on the same line

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
 arch/mips/lib/libgcc.h |    3 +--
 arch/sh/lib/libgcc.h   |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/mips/lib/libgcc.h b/arch/mips/lib/libgcc.h
index 3f19d1c..05909d5 100644
--- a/arch/mips/lib/libgcc.h
+++ b/arch/mips/lib/libgcc.h
@@ -17,8 +17,7 @@ struct DWstruct {
 #error I feel sick.
 #endif
 
-typedef union
-{
+typedef union {
 	struct DWstruct s;
 	long long ll;
 } DWunion;
diff --git a/arch/sh/lib/libgcc.h b/arch/sh/lib/libgcc.h
index 3f19d1c..05909d5 100644
--- a/arch/sh/lib/libgcc.h
+++ b/arch/sh/lib/libgcc.h
@@ -17,8 +17,7 @@ struct DWstruct {
 #error I feel sick.
 #endif
 
-typedef union
-{
+typedef union {
 	struct DWstruct s;
 	long long ll;
 } DWunion;
-- 
1.7.0.90.g251a4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 55/66] arch/sh/boot/compressed/cache.c: Checkpatch cleanup
       [not found] <1267289508-31031-1-git-send-email-andrea.gelmini@gelma.net>
  2010-02-27 16:51 ` [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup Andrea Gelmini
@ 2010-02-27 16:51 ` Andrea Gelmini
  2010-03-02  3:13   ` Paul Mundt
  1 sibling, 1 reply; 7+ messages in thread
From: Andrea Gelmini @ 2010-02-27 16:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrea Gelmini, Paul Mundt, linux-sh

arch/sh/boot/compressed/cache.c:8: WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
 arch/sh/boot/compressed/cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh/boot/compressed/cache.c b/arch/sh/boot/compressed/cache.c
index e27fc74..d0b77b6 100644
--- a/arch/sh/boot/compressed/cache.c
+++ b/arch/sh/boot/compressed/cache.c
@@ -5,7 +5,7 @@ int cache_control(unsigned int command)
 
 	for (i = 0; i < (32 * 1024); i += 32) {
 		(void)*p;
-		p += (32 / sizeof (int));
+		p += (32 / sizeof(int));
 	}
 
 	return 0;
-- 
1.7.0.90.g251a4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup
  2010-02-27 16:51 ` [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup Andrea Gelmini
@ 2010-03-01  2:33   ` Paul Mundt
  2010-03-02 15:13     ` Andrea Gelmini
  2010-03-17 15:39   ` Ralf Baechle
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Mundt @ 2010-03-01  2:33 UTC (permalink / raw)
  To: Andrea Gelmini; +Cc: linux-kernel, Ralf Baechle, linux-mips, linux-sh

On Sat, Feb 27, 2010 at 05:51:23PM +0100, Andrea Gelmini wrote:
> arch/mips/lib/libgcc.h:21: ERROR: open brace '{' following union go on the same line
> 
> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
> ---
>  arch/mips/lib/libgcc.h |    3 +--
>  arch/sh/lib/libgcc.h   |    3 +--
>  2 files changed, 2 insertions(+), 4 deletions(-)
> 
I'll apply the sh part by itself, and I suppose Ralf will do the same for
MIPS. I'm a bit confused as to why these were lumped together when 65 out
of 66 oneliner patches made no use of ad-hoc grouping.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 55/66] arch/sh/boot/compressed/cache.c: Checkpatch cleanup
  2010-02-27 16:51 ` [PATCH 55/66] arch/sh/boot/compressed/cache.c: " Andrea Gelmini
@ 2010-03-02  3:13   ` Paul Mundt
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Mundt @ 2010-03-02  3:13 UTC (permalink / raw)
  To: Andrea Gelmini; +Cc: linux-kernel, linux-sh

On Sat, Feb 27, 2010 at 05:51:36PM +0100, Andrea Gelmini wrote:
> arch/sh/boot/compressed/cache.c:8: WARNING: space prohibited between function name and open parenthesis '('
> 
> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>

Applied.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup
  2010-03-01  2:33   ` Paul Mundt
@ 2010-03-02 15:13     ` Andrea Gelmini
  2010-03-17 15:51       ` Ralf Baechle
  0 siblings, 1 reply; 7+ messages in thread
From: Andrea Gelmini @ 2010-03-02 15:13 UTC (permalink / raw)
  To: Paul Mundt; +Cc: linux-kernel, Ralf Baechle, linux-mips, linux-sh

2010/3/1 Paul Mundt <lethal@linux-sh.org>:
Hi Paul,
   thanks for your reply.

> I'll apply the sh part by itself, and I suppose Ralf will do the same for
> MIPS. I'm a bit confused as to why these were lumped together when 65 out
> of 66 oneliner patches made no use of ad-hoc grouping.

After the experience with GregKH, I was looking for others maintainer
interested in code cleanup. So I sent some patches over random files.
If you care, I can checkpatch.pl all mips subtree and send you patches (if any).

Thanks a lot for your work,
Andrea

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup
  2010-02-27 16:51 ` [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup Andrea Gelmini
  2010-03-01  2:33   ` Paul Mundt
@ 2010-03-17 15:39   ` Ralf Baechle
  1 sibling, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2010-03-17 15:39 UTC (permalink / raw)
  To: Andrea Gelmini; +Cc: linux-kernel, Paul Mundt, linux-mips, linux-sh

On Sat, Feb 27, 2010 at 05:51:23PM +0100, Andrea Gelmini wrote:
> From: Andrea Gelmini <andrea.gelmini@gelma.net>
> Date:   Sat, 27 Feb 2010 17:51:23 +0100
> To: linux-kernel@vger.kernel.org
> Cc: Andrea Gelmini <andrea.gelmini@gelma.net>,
> 	Ralf Baechle <ralf@linux-mips.org>,
> 	Paul Mundt <lethal@linux-sh.org>, linux-mips@linux-mips.org,
> 	linux-sh@vger.kernel.org
> Subject: [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup
> 
> arch/mips/lib/libgcc.h:21: ERROR: open brace '{' following union go on the same line
> 
> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
> ---
>  arch/mips/lib/libgcc.h |    3 +--
>  arch/sh/lib/libgcc.h   |    3 +--
>  2 files changed, 2 insertions(+), 4 deletions(-)

I've applied the MIPS portion of the patch, thanks.

  Ralf

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup
  2010-03-02 15:13     ` Andrea Gelmini
@ 2010-03-17 15:51       ` Ralf Baechle
  0 siblings, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2010-03-17 15:51 UTC (permalink / raw)
  To: Andrea Gelmini; +Cc: Paul Mundt, linux-kernel, linux-mips, linux-sh

On Tue, Mar 02, 2010 at 04:13:11PM +0100, Andrea Gelmini wrote:

> 2010/3/1 Paul Mundt <lethal@linux-sh.org>:
> Hi Paul,
>    thanks for your reply.
> 
> > I'll apply the sh part by itself, and I suppose Ralf will do the same for
> > MIPS. I'm a bit confused as to why these were lumped together when 65 out
> > of 66 oneliner patches made no use of ad-hoc grouping.
> 
> After the experience with GregKH, I was looking for others maintainer
> interested in code cleanup. So I sent some patches over random files.
> If you care, I can checkpatch.pl all mips subtree and send you patches (if any).

Feel free to - but remember that the coding style document is a guideline
not something to be followed unconditionally.

  Ralf

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-17 15:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1267289508-31031-1-git-send-email-andrea.gelmini@gelma.net>
2010-02-27 16:51 ` [PATCH 42/66] arch/mips/lib/libgcc.h: Checkpatch cleanup Andrea Gelmini
2010-03-01  2:33   ` Paul Mundt
2010-03-02 15:13     ` Andrea Gelmini
2010-03-17 15:51       ` Ralf Baechle
2010-03-17 15:39   ` Ralf Baechle
2010-02-27 16:51 ` [PATCH 55/66] arch/sh/boot/compressed/cache.c: " Andrea Gelmini
2010-03-02  3:13   ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).