* [PATCH 020/199] arch/mips/pmc-sierra/yosemite/ht-irq.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 0:59 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 163/199] arch/mips/dec/promcon.c: " Andrea Gelmini
` (9 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/pmc-sierra/yosemite/ht-irq.c:38: ERROR: code indent should use tabs where possible
arch/mips/pmc-sierra/yosemite/ht-irq.c:39: ERROR: code indent should use tabs where possible
arch/mips/pmc-sierra/yosemite/ht-irq.c:40: ERROR: code indent should use tabs where possible
arch/mips/pmc-sierra/yosemite/ht-irq.c:43: ERROR: code indent should use tabs where possible
arch/mips/pmc-sierra/yosemite/ht-irq.c:44: ERROR: code indent should use tabs where possible
arch/mips/pmc-sierra/yosemite/ht-irq.c:45: ERROR: code indent should use tabs where possible
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/pmc-sierra/yosemite/ht-irq.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/arch/mips/pmc-sierra/yosemite/ht-irq.c b/arch/mips/pmc-sierra/yosemite/ht-irq.c
index 5aec405..86b98e9 100644
--- a/arch/mips/pmc-sierra/yosemite/ht-irq.c
+++ b/arch/mips/pmc-sierra/yosemite/ht-irq.c
@@ -35,18 +35,17 @@
*/
void __init titan_ht_pcibios_fixup_bus(struct pci_bus *bus)
{
- struct pci_bus *current_bus = bus;
- struct pci_dev *devices;
- struct list_head *devices_link;
+ struct pci_bus *current_bus = bus;
+ struct pci_dev *devices;
+ struct list_head *devices_link;
list_for_each(devices_link, &(current_bus->devices)) {
- devices = pci_dev_b(devices_link);
- if (devices == NULL)
- continue;
+ devices = pci_dev_b(devices_link);
+ if (devices == NULL)
+ continue;
}
/*
* PLX and SPKT related changes go here
*/
-
}
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 163/199] arch/mips/dec/promcon.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
2010-05-23 19:52 ` [PATCH 020/199] arch/mips/pmc-sierra/yosemite/ht-irq.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 0:59 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 164/199] arch/mips/math-emu/dp_modf.c: " Andrea Gelmini
` (8 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/dec/promcon.c:37: ERROR: that open brace { should be on the previous line
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/dec/promcon.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/mips/dec/promcon.c b/arch/mips/dec/promcon.c
index 9f0972f..c239c25 100644
--- a/arch/mips/dec/promcon.c
+++ b/arch/mips/dec/promcon.c
@@ -33,8 +33,7 @@ static int __init prom_console_setup(struct console *co, char *options)
return 0;
}
-static struct console sercons =
-{
+static struct console sercons = {
.name = "ttyS",
.write = prom_console_write,
.setup = prom_console_setup,
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 164/199] arch/mips/math-emu/dp_modf.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
2010-05-23 19:52 ` [PATCH 020/199] arch/mips/pmc-sierra/yosemite/ht-irq.c: " Andrea Gelmini
2010-05-23 19:52 ` [PATCH 163/199] arch/mips/dec/promcon.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 0:59 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 165/199] arch/mips/math-emu/dp_tint.c: " Andrea Gelmini
` (7 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/math-emu/dp_modf.c:32: ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/math-emu/dp_modf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/math-emu/dp_modf.c b/arch/mips/math-emu/dp_modf.c
index 25861a4..a8570e5 100644
--- a/arch/mips/math-emu/dp_modf.c
+++ b/arch/mips/math-emu/dp_modf.c
@@ -29,7 +29,7 @@
/* modf function is always exact for a finite number
*/
-ieee754dp ieee754dp_modf(ieee754dp x, ieee754dp * ip)
+ieee754dp ieee754dp_modf(ieee754dp x, ieee754dp *ip)
{
COMPXDP;
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 165/199] arch/mips/math-emu/dp_tint.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
` (2 preceding siblings ...)
2010-05-23 19:52 ` [PATCH 164/199] arch/mips/math-emu/dp_modf.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 1:00 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 166/199] arch/mips/math-emu/dp_tlong.c: " Andrea Gelmini
` (6 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/math-emu/dp_tint.c:73: ERROR: else should follow close brace '}'
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/math-emu/dp_tint.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/mips/math-emu/dp_tint.c b/arch/mips/math-emu/dp_tint.c
index 77b2b7c..2447862 100644
--- a/arch/mips/math-emu/dp_tint.c
+++ b/arch/mips/math-emu/dp_tint.c
@@ -69,8 +69,7 @@ int ieee754dp_tint(ieee754dp x)
round = 0;
sticky = residue != 0;
xm = 0;
- }
- else {
+ } else {
residue = xm << (64 - DP_MBITS + xe);
round = (residue >> 63) != 0;
sticky = (residue << 1) != 0;
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 166/199] arch/mips/math-emu/dp_tlong.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
` (3 preceding siblings ...)
2010-05-23 19:52 ` [PATCH 165/199] arch/mips/math-emu/dp_tint.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 1:00 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 167/199] arch/mips/math-emu/sp_modf.c: " Andrea Gelmini
` (5 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/math-emu/dp_tlong.c:75: ERROR: else should follow close brace '}'
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/math-emu/dp_tlong.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/mips/math-emu/dp_tlong.c b/arch/mips/math-emu/dp_tlong.c
index d71113e..0f07ec2 100644
--- a/arch/mips/math-emu/dp_tlong.c
+++ b/arch/mips/math-emu/dp_tlong.c
@@ -71,8 +71,7 @@ s64 ieee754dp_tlong(ieee754dp x)
round = 0;
sticky = residue != 0;
xm = 0;
- }
- else {
+ } else {
/* Shifting a u64 64 times does not work,
* so we do it in two steps. Be aware that xe
* may be -1 */
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 167/199] arch/mips/math-emu/sp_modf.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
` (4 preceding siblings ...)
2010-05-23 19:52 ` [PATCH 166/199] arch/mips/math-emu/dp_tlong.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 1:00 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 168/199] arch/mips/math-emu/sp_tint.c: " Andrea Gelmini
` (4 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/math-emu/sp_modf.c:32: ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/math-emu/sp_modf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/math-emu/sp_modf.c b/arch/mips/math-emu/sp_modf.c
index 4b1dbac..7656894 100644
--- a/arch/mips/math-emu/sp_modf.c
+++ b/arch/mips/math-emu/sp_modf.c
@@ -29,7 +29,7 @@
/* modf function is always exact for a finite number
*/
-ieee754sp ieee754sp_modf(ieee754sp x, ieee754sp * ip)
+ieee754sp ieee754sp_modf(ieee754sp x, ieee754sp *ip)
{
COMPXSP;
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 168/199] arch/mips/math-emu/sp_tint.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
` (5 preceding siblings ...)
2010-05-23 19:52 ` [PATCH 167/199] arch/mips/math-emu/sp_modf.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 1:00 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 169/199] arch/mips/math-emu/sp_tlong.c: " Andrea Gelmini
` (3 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/math-emu/sp_tint.c:76: ERROR: else should follow close brace '}'
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/math-emu/sp_tint.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/mips/math-emu/sp_tint.c b/arch/mips/math-emu/sp_tint.c
index 1d73d2a..352dc3a 100644
--- a/arch/mips/math-emu/sp_tint.c
+++ b/arch/mips/math-emu/sp_tint.c
@@ -72,8 +72,7 @@ int ieee754sp_tint(ieee754sp x)
round = 0;
sticky = residue != 0;
xm = 0;
- }
- else {
+ } else {
/* Shifting a u32 32 times does not work,
* so we do it in two steps. Be aware that xe
* may be -1 */
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 169/199] arch/mips/math-emu/sp_tlong.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
` (6 preceding siblings ...)
2010-05-23 19:52 ` [PATCH 168/199] arch/mips/math-emu/sp_tint.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 1:00 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 170/199] arch/mips/pci/ops-titan-ht.c: " Andrea Gelmini
` (2 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/math-emu/sp_tlong.c:75: ERROR: else should follow close brace '}'
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/math-emu/sp_tlong.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/mips/math-emu/sp_tlong.c b/arch/mips/math-emu/sp_tlong.c
index 4be21aa..92cd9c5 100644
--- a/arch/mips/math-emu/sp_tlong.c
+++ b/arch/mips/math-emu/sp_tlong.c
@@ -71,8 +71,7 @@ s64 ieee754sp_tlong(ieee754sp x)
round = 0;
sticky = residue != 0;
xm = 0;
- }
- else {
+ } else {
residue = xm << (32 - SP_MBITS + xe);
round = (residue >> 31) != 0;
sticky = (residue << 1) != 0;
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 170/199] arch/mips/pci/ops-titan-ht.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
` (7 preceding siblings ...)
2010-05-23 19:52 ` [PATCH 169/199] arch/mips/math-emu/sp_tlong.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 1:00 ` Ralf Baechle
2010-05-23 19:52 ` [PATCH 171/199] arch/mips/sgi-ip27/ip27-klconfig.c: " Andrea Gelmini
2010-05-24 0:59 ` [PATCH 018/199] arch/mips/pci/ops-msc.c: " Ralf Baechle
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, Tejun Heo, Christoph Lameter, linux-mips
arch/mips/pci/ops-titan-ht.c:36: ERROR: "foo * bar" should be "foo *bar"
arch/mips/pci/ops-titan-ht.c:68: ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/pci/ops-titan-ht.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/pci/ops-titan-ht.c b/arch/mips/pci/ops-titan-ht.c
index 46c636c..924e45e 100644
--- a/arch/mips/pci/ops-titan-ht.c
+++ b/arch/mips/pci/ops-titan-ht.c
@@ -33,7 +33,7 @@
#include <asm/titan_dep.h>
static int titan_ht_config_read_dword(struct pci_bus *bus, unsigned int devfn,
- int offset, u32 * val)
+ int offset, u32 *val)
{
volatile uint32_t address;
int busno;
@@ -65,7 +65,7 @@ static int titan_ht_config_read_dword(struct pci_bus *bus, unsigned int devfn,
}
static int titan_ht_config_read(struct pci_bus *bus, unsigned int devfn,
- int offset, int size, u32 * val)
+ int offset, int size, u32 *val)
{
uint32_t dword;
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* [PATCH 171/199] arch/mips/sgi-ip27/ip27-klconfig.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
` (8 preceding siblings ...)
2010-05-23 19:52 ` [PATCH 170/199] arch/mips/pci/ops-titan-ht.c: " Andrea Gelmini
@ 2010-05-23 19:52 ` Andrea Gelmini
2010-05-24 1:08 ` Ralf Baechle
2010-05-24 0:59 ` [PATCH 018/199] arch/mips/pci/ops-msc.c: " Ralf Baechle
10 siblings, 1 reply; 22+ messages in thread
From: Andrea Gelmini @ 2010-05-23 19:52 UTC (permalink / raw)
To: andrea.gelmini; +Cc: Ralf Baechle, linux-mips
arch/mips/sgi-ip27/ip27-klconfig.c:51: ERROR: "foo * bar" should be "foo *bar"
arch/mips/sgi-ip27/ip27-klconfig.c:63: ERROR: "foo * bar" should be "foo *bar"
arch/mips/sgi-ip27/ip27-klconfig.c:81: ERROR: "foo * bar" should be "foo *bar"
arch/mips/sgi-ip27/ip27-klconfig.c:100: ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/mips/sgi-ip27/ip27-klconfig.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/mips/sgi-ip27/ip27-klconfig.c b/arch/mips/sgi-ip27/ip27-klconfig.c
index dd830b3..7afe146 100644
--- a/arch/mips/sgi-ip27/ip27-klconfig.c
+++ b/arch/mips/sgi-ip27/ip27-klconfig.c
@@ -48,7 +48,7 @@ klinfo_t *find_first_component(lboard_t *brd, unsigned char struct_type)
return find_component(brd, (klinfo_t *)NULL, struct_type);
}
-lboard_t * find_lboard(lboard_t *start, unsigned char brd_type)
+lboard_t *find_lboard(lboard_t *start, unsigned char brd_type)
{
/* Search all boards stored on this node. */
while (start) {
@@ -60,7 +60,7 @@ lboard_t * find_lboard(lboard_t *start, unsigned char brd_type)
return (lboard_t *)NULL;
}
-lboard_t * find_lboard_class(lboard_t *start, unsigned char brd_type)
+lboard_t *find_lboard_class(lboard_t *start, unsigned char brd_type)
{
/* Search all boards stored on this node. */
while (start) {
@@ -78,7 +78,7 @@ cnodeid_t get_cpu_cnode(cpuid_t cpu)
return CPUID_TO_COMPACT_NODEID(cpu);
}
-klcpu_t * nasid_slice_to_cpuinfo(nasid_t nasid, int slice)
+klcpu_t *nasid_slice_to_cpuinfo(nasid_t nasid, int slice)
{
lboard_t *brd;
klcpu_t *acpu;
@@ -97,7 +97,7 @@ klcpu_t * nasid_slice_to_cpuinfo(nasid_t nasid, int slice)
return (klcpu_t *)NULL;
}
-klcpu_t * sn_get_cpuinfo(cpuid_t cpu)
+klcpu_t *sn_get_cpuinfo(cpuid_t cpu)
{
nasid_t nasid;
int slice;
--
1.7.1.251.gf80a2
^ permalink raw reply related [flat|nested] 22+ messages in thread* Re: [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup
2010-05-23 19:52 [PATCH 018/199] arch/mips/pci/ops-msc.c: Checkpatch cleanup Andrea Gelmini
` (9 preceding siblings ...)
2010-05-23 19:52 ` [PATCH 171/199] arch/mips/sgi-ip27/ip27-klconfig.c: " Andrea Gelmini
@ 2010-05-24 0:59 ` Ralf Baechle
10 siblings, 0 replies; 22+ messages in thread
From: Ralf Baechle @ 2010-05-24 0:59 UTC (permalink / raw)
To: Andrea Gelmini; +Cc: linux-mips
On Sun, May 23, 2010 at 09:52:02PM +0200, Andrea Gelmini wrote:
> arch/mips/pci/ops-msc.c:90: ERROR: "foo * bar" should be "foo *bar"
> arch/mips/pci/ops-msc.c:100: ERROR: code indent should use tabs where possible
> arch/mips/pci/ops-msc.c:127: ERROR: code indent should use tabs where possible
Queued for 2.6.36. Thanks,
Ralf
^ permalink raw reply [flat|nested] 22+ messages in thread