arch/mips/pci/ops-msc.c: Checkpatch cleanup
Subsystems (2)
PATCH 18/199 arch/mips/pci/ops-msc.c: Checkpatch cleanup
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
--- arch/mips/pci/ops-msc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
arch/mips/pci/ops-msc.c +3 -3
@@ -87,7 +87,7 @@ static int msc_pcibios_config_access(unsigned char access_type,* read/write a 32bit word and mask/modify the data we actually want. */ static int msc_pcibios_read (struct pci_bus *bus,unsigned int devfn, -int where,int size,u32 * val) +int where,int size,u32 *val) {u32 data =0 ;
@@ -97,7 +97,7 @@ static int msc_pcibios_read(struct pci_bus *bus, unsigned int devfn,return PCIBIOS_BAD_REGISTER_NUMBER ;if (msc_pcibios_config_access (PCI_ACCESS_READ , bus, devfn, where, - &data)) + &data))return -1 ;if (size ==1 )
@@ -124,7 +124,7 @@ static int msc_pcibios_write(struct pci_bus *bus, unsigned int devfn, data = val; else {if (msc_pcibios_config_access (PCI_ACCESS_READ , bus, devfn, - where, &data)) + where, &data))return -1 ;if (size ==1 )
Signature · 1 line
1.7.1.251.gf80a2
PATCH 20/199 arch/mips/pmc-sierra/yosemite/ht-irq.c: Checkpatch cleanup
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
--- arch/mips/pmc-sierra/yosemite/ht-irq.c | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-)
arch/mips/pmc-sierra/yosemite/ht-irq.c +6 -7
@@ -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 */ - }
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 020/199] arch/mips/pmc-sierra/yosemite/ht-irq.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 163/199 arch/mips/dec/promcon.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/mips/dec/promcon.c:37: ERROR: that open brace { should be on the previous line
--- arch/mips/dec/promcon.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/mips/dec/promcon.c +1 -2
@@ -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,
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 163/199] arch/mips/dec/promcon.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 164/199 arch/mips/math-emu/dp_modf.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/mips/math-emu/dp_modf.c:32: ERROR: "foo * bar" should be "foo *bar"
--- arch/mips/math-emu/dp_modf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/math-emu/dp_modf.c +1 -1
@@ -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 ;
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 164/199] arch/mips/math-emu/dp_modf.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 165/199 arch/mips/math-emu/dp_tint.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/mips/math-emu/dp_tint.c:73: ERROR: else should follow close brace '}'
--- arch/mips/math-emu/dp_tint.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/mips/math-emu/dp_tint.c +1 -2
@@ -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 ;
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 165/199] arch/mips/math-emu/dp_tint.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 166/199 arch/mips/math-emu/dp_tlong.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/mips/math-emu/dp_tlong.c:75: ERROR: else should follow close brace '}'
--- arch/mips/math-emu/dp_tlong.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/mips/math-emu/dp_tlong.c +1 -2
@@ -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 */
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 166/199] arch/mips/math-emu/dp_tlong.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 167/199 arch/mips/math-emu/sp_modf.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/mips/math-emu/sp_modf.c:32: ERROR: "foo * bar" should be "foo *bar"
--- arch/mips/math-emu/sp_modf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/math-emu/sp_modf.c +1 -1
@@ -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 ;
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 167/199] arch/mips/math-emu/sp_modf.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 168/199 arch/mips/math-emu/sp_tint.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/mips/math-emu/sp_tint.c:76: ERROR: else should follow close brace '}'
--- arch/mips/math-emu/sp_tint.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/mips/math-emu/sp_tint.c +1 -2
@@ -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 */
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 168/199] arch/mips/math-emu/sp_tint.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 169/199 arch/mips/math-emu/sp_tlong.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/mips/math-emu/sp_tlong.c:75: ERROR: else should follow close brace '}'
--- arch/mips/math-emu/sp_tlong.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/mips/math-emu/sp_tlong.c +1 -2
@@ -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 ;
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 169/199] arch/mips/math-emu/sp_tlong.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 170/199 arch/mips/pci/ops-titan-ht.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/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"
--- arch/mips/pci/ops-titan-ht.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/mips/pci/ops-titan-ht.c +2 -2
@@ -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;
Signature · 1 line
1.7.1.251.gf80a2
Ralf Baechle
AppliedRe: [PATCH 170/199] arch/mips/pci/ops-titan-ht.c: Checkpatch cleanup
Queued for 2.6.36. Thanks,
Ralf
PATCH 171/199 arch/mips/sgi-ip27/ip27-klconfig.c: Checkpatch cleanup
In reply to Andrea Gelminiarch/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"
--- arch/mips/sgi-ip27/ip27-klconfig.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
arch/mips/sgi-ip27/ip27-klconfig.c +4 -4
@@ -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;
Signature · 1 line
1.7.1.251.gf80a2
Re: [PATCH 171/199] arch/mips/sgi-ip27/ip27-klconfig.c: Checkpatch cleanup
Queued for 2.6.36. And just like for all the other patches of this series which I handle - splitting this patches series into subatomic particles is quite annoying for us maintainers - this series really should be consolidated into far fewer patches.
Thanks,
Ralf
Ralf Baechle
AppliedQuoted 3 lines · Andrea Gelmini
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 possiblearch/mips/pci/ops-msc.c:127: ERROR: code indent should use tabs where possible
Queued for 2.6.36. Thanks,
Ralf