* [PATCH] balance parentheses and braces
@ 2009-04-12 10:47 Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 1/4] fix parenthesis balance in blackfin arch code Mariusz Kozlowski
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Mariusz Kozlowski @ 2009-04-12 10:47 UTC (permalink / raw)
To: linux-kernel
Using rather dumb script I found some unbalanced parentheses and braces
here and there. These patches are trivial and attepmt to fix them.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/4] fix parenthesis balance in blackfin arch code
2009-04-12 10:47 [PATCH] balance parentheses and braces Mariusz Kozlowski
@ 2009-04-12 10:47 ` Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 2/4] remove unbalanced opening brace from drivers/atm/iphase.c Mariusz Kozlowski
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Mariusz Kozlowski @ 2009-04-12 10:47 UTC (permalink / raw)
To: linux-kernel; +Cc: Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
---
arch/blackfin/mach-bf538/include/mach/cdefBF538.h | 2 +-
arch/blackfin/mach-bf548/include/mach/anomaly.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h
index 241725b..2a6c71d 100644
--- a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h
+++ b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h
@@ -74,7 +74,7 @@
#define bfin_read_SIC_IWR1() bfin_read32(SIC_IWR1)
#define bfin_write_SIC_IWR1(val) bfin_write32(SIC_IWR1, val)
#define bfin_read_SIC_IWR(x) bfin_read32(SIC_IWR0 + x * (SIC_IWR1 - SIC_IWR0))
-#define bfin_write_SIC_IWR(x, val) bfin_write32((SIC_IWR0 + x * (SIC_IWR1 - SIC_IWR0), val)
+#define bfin_write_SIC_IWR(x, val) bfin_write32(SIC_IWR0 + x * (SIC_IWR1 - SIC_IWR0), val)
#define bfin_read_SIC_IAR0() bfin_read32(SIC_IAR0)
#define bfin_write_SIC_IAR0(val) bfin_write32(SIC_IAR0, val)
#define bfin_read_SIC_IAR1() bfin_read32(SIC_IAR1)
diff --git a/arch/blackfin/mach-bf548/include/mach/anomaly.h b/arch/blackfin/mach-bf548/include/mach/anomaly.h
index 882e40c..b1f9494 100644
--- a/arch/blackfin/mach-bf548/include/mach/anomaly.h
+++ b/arch/blackfin/mach-bf548/include/mach/anomaly.h
@@ -170,7 +170,7 @@
/* Reduced Timing Margins on DDR Output Setup and Hold (tDS and tDH) */
#define ANOMALY_05000449 (__SILICON_REVISION__ == 1)
/* USB DMA Mode 1 Short Packet Data Corruption */
-#define ANOMALY_05000450 (1
+#define ANOMALY_05000450 (1)
/* Anomalies that don't exist on this proc */
#define ANOMALY_05000125 (0)
--
1.5.6.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/4] remove unbalanced opening brace from drivers/atm/iphase.c
2009-04-12 10:47 [PATCH] balance parentheses and braces Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 1/4] fix parenthesis balance in blackfin arch code Mariusz Kozlowski
@ 2009-04-12 10:47 ` Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 3/4] balance parentheses in dvb stv0900_priv.h code Mariusz Kozlowski
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Mariusz Kozlowski @ 2009-04-12 10:47 UTC (permalink / raw)
To: linux-kernel; +Cc: Mariusz Kozlowski
It's under #ifdef 0 but I think it's worth fixing anyway.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
---
drivers/atm/iphase.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index 78c9736..dd8c3ec 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -795,7 +795,7 @@ static void ia_hw_type(IADEV *iadev) {
iadev->rx_buf_sz, iadev->rx_pkt_ram);)
#if 0
- if ((memType & FE_MASK) == FE_SINGLE_MODE) {
+ if ((memType & FE_MASK) == FE_SINGLE_MODE)
iadev->phy_type = PHY_OC3C_S;
else if ((memType & FE_MASK) == FE_UTP_OPTION)
iadev->phy_type = PHY_UTP155;
--
1.5.6.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/4] balance parentheses in dvb stv0900_priv.h code
2009-04-12 10:47 [PATCH] balance parentheses and braces Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 1/4] fix parenthesis balance in blackfin arch code Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 2/4] remove unbalanced opening brace from drivers/atm/iphase.c Mariusz Kozlowski
@ 2009-04-12 10:47 ` Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 4/4] balance parenthesis in sis init301.c code Mariusz Kozlowski
2009-04-12 12:24 ` [PATCH] balance parentheses and braces Sam Ravnborg
4 siblings, 0 replies; 8+ messages in thread
From: Mariusz Kozlowski @ 2009-04-12 10:47 UTC (permalink / raw)
To: linux-kernel; +Cc: Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
---
drivers/media/dvb/frontends/stv0900_priv.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/dvb/frontends/stv0900_priv.h b/drivers/media/dvb/frontends/stv0900_priv.h
index 762d5af..bbd0697 100644
--- a/drivers/media/dvb/frontends/stv0900_priv.h
+++ b/drivers/media/dvb/frontends/stv0900_priv.h
@@ -60,7 +60,7 @@
} \
} while (0)
-#define dmd_choose(a, b) (demod = STV0900_DEMOD_2 ? b : a))
+#define dmd_choose(a, b) (demod = STV0900_DEMOD_2 ? b : a)
static int stvdebug;
--
1.5.6.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/4] balance parenthesis in sis init301.c code
2009-04-12 10:47 [PATCH] balance parentheses and braces Mariusz Kozlowski
` (2 preceding siblings ...)
2009-04-12 10:47 ` [PATCH 3/4] balance parentheses in dvb stv0900_priv.h code Mariusz Kozlowski
@ 2009-04-12 10:47 ` Mariusz Kozlowski
2009-04-12 12:24 ` [PATCH] balance parentheses and braces Sam Ravnborg
4 siblings, 0 replies; 8+ messages in thread
From: Mariusz Kozlowski @ 2009-04-12 10:47 UTC (permalink / raw)
To: linux-kernel; +Cc: Mariusz Kozlowski
It's under #ifdef 0 but I think it's worth fixing anyway.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
---
drivers/video/sis/init301.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/sis/init301.c b/drivers/video/sis/init301.c
index da33d80..4b61e1b 100644
--- a/drivers/video/sis/init301.c
+++ b/drivers/video/sis/init301.c
@@ -11017,7 +11017,7 @@ SetOEMLCDData(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short
unsigned char *ROMAddr = SiS_Pr->VirtualRomBase;
unsigned short index,temp;
- if((SiS_Pr->SiS_UseROM) {
+ if (SiS_Pr->SiS_UseROM) {
if(!(ROMAddr[0x237] & 0x01)) return;
if(!(ROMAddr[0x237] & 0x04)) return;
/* No rom pointer in BIOS header! */
--
1.5.6.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] balance parentheses and braces
2009-04-12 10:47 [PATCH] balance parentheses and braces Mariusz Kozlowski
` (3 preceding siblings ...)
2009-04-12 10:47 ` [PATCH 4/4] balance parenthesis in sis init301.c code Mariusz Kozlowski
@ 2009-04-12 12:24 ` Sam Ravnborg
2009-04-12 16:18 ` Mariusz Kozlowski
2009-04-12 18:21 ` Joe Perches
4 siblings, 2 replies; 8+ messages in thread
From: Sam Ravnborg @ 2009-04-12 12:24 UTC (permalink / raw)
To: Mariusz Kozlowski; +Cc: linux-kernel
On Sun, Apr 12, 2009 at 12:47:27PM +0200, Mariusz Kozlowski wrote:
> Using rather dumb script I found some unbalanced parentheses and braces
> here and there. These patches are trivial and attepmt to fix them.
I suggest you put some effort into finding the relevant receivers for these patches.
This way they are more likely to be picked up and applied.
If you really do not know who to send them too try to send them to Andrew Morton.
Sam
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] balance parentheses and braces
2009-04-12 12:24 ` [PATCH] balance parentheses and braces Sam Ravnborg
@ 2009-04-12 16:18 ` Mariusz Kozlowski
2009-04-12 18:21 ` Joe Perches
1 sibling, 0 replies; 8+ messages in thread
From: Mariusz Kozlowski @ 2009-04-12 16:18 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: linux-kernel
On Sun, 12 Apr 2009 14:24:19 +0200
Sam Ravnborg <sam@ravnborg.org> wrote:
> On Sun, Apr 12, 2009 at 12:47:27PM +0200, Mariusz Kozlowski wrote:
> > Using rather dumb script I found some unbalanced parentheses and braces
> > here and there. These patches are trivial and attepmt to fix them.
>
> I suggest you put some effort into finding the relevant receivers for these patches.
> This way they are more likely to be picked up and applied.
>
> If you really do not know who to send them too try to send them to Andrew Morton.
Allright. I just figured they are too trivial to bother too many people and someone
would pick them all at once.
Mariusz
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] balance parentheses and braces
2009-04-12 12:24 ` [PATCH] balance parentheses and braces Sam Ravnborg
2009-04-12 16:18 ` Mariusz Kozlowski
@ 2009-04-12 18:21 ` Joe Perches
1 sibling, 0 replies; 8+ messages in thread
From: Joe Perches @ 2009-04-12 18:21 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: Mariusz Kozlowski, linux-kernel
On Sun, 2009-04-12 at 14:24 +0200, Sam Ravnborg wrote:
> I suggest you put some effort into finding the relevant receivers for these patches.
> This way they are more likely to be picked up and applied.
Or using the MAINTAINER patches and script I sent
and very little effort:
Without recent git-signers:
$ ./scripts/get_maintainer.pl -f --no-git arch/blackfin/mach-bf538/include/mach/cdefBF538.h
uclinux-dist-devel@blackfin.uclinux.org
Bryan Wu <cooloney@kernel.org>
$ ./scripts/get_maintainer.pl -f --no-git arch/blackfin/mach-bf548/include/mach/anomaly.h
uclinux-dist-devel@blackfin.uclinux.org
Bryan Wu <cooloney@kernel.org>
$ ./scripts/get_maintainer.pl -f --no-git drivers/atm/iphase.c
netdev@vger.kernel.org
Chas Williams <chas@cmf.nrl.navy.mil>
$ ./scripts/get_maintainer.pl -f --no-git drivers/media/dvb/frontends/stv0900_priv.h
linux-media@vger.kernel.org
Mauro Carvalho Chehab <mchehab@infradead.org>
$ ./scripts/get_maintainer.pl -f --no-git drivers/video/sis/init301.c
Thomas Winischhofer <thomas@winischhofer.net>
or with recent git-signers:
$ ./scripts/get_maintainer.pl -f arch/blackfin/mach-bf538/include/mach/cdefBF538.h
uclinux-dist-devel@blackfin.uclinux.org
Bryan Wu <cooloney@kernel.org>
Mike Frysinger <vapier.adi@gmail.com>
Yi Li <yi.li@analog.com>
Michael Hennerich <michael.hennerich@analog.com>
$ ./scripts/get_maintainer.pl -f arch/blackfin/mach-bf548/include/mach/anomaly.h
uclinux-dist-devel@blackfin.uclinux.org
Bryan Wu <cooloney@kernel.org>
Mike Frysinger <vapier.adi@gmail.com>
Robin Getz <rgetz@blackfin.uclinux.org>
$ ./scripts/get_maintainer.pl -f drivers/atm/iphase.c
netdev@vger.kernel.org
Chas Williams <chas@cmf.nrl.navy.mil>
David S. Miller <davem@davemloft.net>
"Jorge Boncompte [DTI2]" <jorge@dti2.net>
Andrew Morton <akpm@linux-foundation.org>
Wu Fengguang <fengguang.wu@intel.com>
$ ./scripts/get_maintainer.pl -f drivers/media/dvb/frontends/stv0900_priv.h
linux-media@vger.kernel.org
Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab <mchehab@redhat.com>
Randy Dunlap <randy.dunlap@oracle.com>
Igor M. Liplianin <liplianin@netup.ru>
Andrew Morton <akpm@linux-foundation.org>
$ ./scripts/get_maintainer.pl -f drivers/video/sis/init301.c
Thomas Winischhofer <thomas@winischhofer.net>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-04-12 18:22 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-12 10:47 [PATCH] balance parentheses and braces Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 1/4] fix parenthesis balance in blackfin arch code Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 2/4] remove unbalanced opening brace from drivers/atm/iphase.c Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 3/4] balance parentheses in dvb stv0900_priv.h code Mariusz Kozlowski
2009-04-12 10:47 ` [PATCH 4/4] balance parenthesis in sis init301.c code Mariusz Kozlowski
2009-04-12 12:24 ` [PATCH] balance parentheses and braces Sam Ravnborg
2009-04-12 16:18 ` Mariusz Kozlowski
2009-04-12 18:21 ` Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox