arch/arm/mach-at91/gpio.c: Remove unecessary semicolon
Subsystems (14)
PATCH 1/1 arch/arm/mach-at91/gpio.c: Remove unecessary semicolon
Found by http://coccinelle.lip6.fr/
--- arch/arm/mach-at91/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-at91/gpio.c +1 -1
@@ -658,7 +658,7 @@ static int at91_gpio_show(struct seq_file *s, void *unused)seq_printf (s,"Pin\t" );for (bank =0 ; bank < gpio_banks; bank++) {seq_printf (s,"PIO%c\t\t" ,'A' + bank); - }; + }seq_printf (s,"\n\n" );/* print pin status */
Signature · 1 line
1.7.11.4
PATCH 1/1 arch/arm/mach-davinci/board-dm646x-evm.c: Remove unecessary
Found by http://coccinelle.lip6.fr/
--- arch/arm/mach-davinci/board-dm646x-evm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-davinci/board-dm646x-evm.c +1 -1
@@ -193,7 +193,7 @@ static int evm_led_setup(struct i2c_client *client, int gpio,while (ngpio--) { leds->gpio = gpio++; leds++; - }; + } evm_led_dev =platform_device_alloc ("leds-gpio" ,0 ); platform_device_add_data(evm_led_dev, &evm_led_data,
Signature · 1 line
1.7.11.4
PATCH 1/1 arch/arm/mach-omap1/devices.c: Remove unecessary semicolon
In reply to Peter Senna TschudinFound by http://coccinelle.lip6.fr/
--- arch/arm/mach-omap1/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap1/devices.c +1 -1
@@ -232,7 +232,7 @@ void __init omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,omap_mmc_add ("mmci-omap" , i, base, size, irq, rx_req, tx_req, mmc_data[i]); - }; + } }#endif
Signature · 1 line
1.7.11.4
PATCH 1/1 arch/arm/mach-omap2: Remove unecessary semicolon
In reply to Peter Senna TschudinFound by http://coccinelle.lip6.fr/
--- arch/arm/mach-omap2/board-flash.c | 2 +- arch/arm/mach-omap2/clkt_clksel.c | 2 +- arch/arm/mach-omap2/mux.c | 2 +- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 6 +++--- arch/arm/mach-omap2/pm-debug.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-)
arch/arm/mach-omap2/board-flash.c +1 -1
@@ -218,7 +218,7 @@ void __init board_flash_init(struct flash_partitions partition_info[],if (onenandcs >GPMC_CS_NUM ) onenandcs = cs;break ; - }; + } cs++; }
arch/arm/mach-omap2/clkt_clksel.c +1 -1
@@ -365,7 +365,7 @@ void omap2_init_clksel_parent(struct clk *clk) ((clk->parent) ? clk->parent->name : "NULL"));clk_reparent (clk, clks->parent); - }; + } found =1 ; } }
arch/arm/mach-omap2/mux.c +1 -1
@@ -486,7 +486,7 @@ void omap_hwmod_mux(struct omap_hwmod_mux_info *hmux, u8 state)default :/* Nothing to be done */ break ; - }; + }if (val >=0 ) { omap_mux_write(pad->partition, val,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +3 -3
@@ -3459,7 +3459,7 @@ int __init omap3xxx_hwmod_init(void) }else {WARN (1 ,"OMAP3 hwmod family init: unknown chip type\n" );return -EINVAL ; - }; + } r =omap_hwmod_register_links (h);if (r <0 )
@@ -3476,7 +3476,7 @@ int __init omap3xxx_hwmod_init(void) rev = OMAP3430_REV_ES3_0 || rev = OMAP3430_REV_ES3_1 || rev = OMAP3430_REV_ES3_1_2) { h = omap3430es2plus_hwmod_ocp_ifs; - }; + }if (h) { r =omap_hwmod_register_links (h);
@@ -3491,7 +3491,7 @@ int __init omap3xxx_hwmod_init(void) }else if (rev =OMAP3430_REV_ES3_0 || rev =OMAP3430_REV_ES3_1 || rev =OMAP3430_REV_ES3_1_2 ) { h = omap3430_es3plus_hwmod_ocp_ifs; - }; + }if (h) r =omap_hwmod_register_links (h);
arch/arm/mach-omap2/pm-debug.c +1 -1
@@ -169,7 +169,7 @@ static int pm_dbg_open(struct inode *inode, struct file *file)default :return single_open (file, pm_dbg_show_timers, &inode->i_private); - }; + } }static const struct file_operations debug_fops = {
Signature · 1 line
1.7.11.4
PATCH 1/1 arch/arm/plat-mxc/ulpi.c: Remove unecessary semicolon
In reply to Peter Senna TschudinFound by http://coccinelle.lip6.fr/
--- arch/arm/plat-mxc/ulpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/plat-mxc/ulpi.c +1 -1
@@ -51,7 +51,7 @@ static int ulpi_poll(void __iomem *view, u32 bit)return 0 ;cpu_relax (); - }; + }printk (KERN_WARNING "timeout polling for ULPI device\n" );
Signature · 1 line
1.7.11.4
PATCH 1/1 arch/arm/plat-omap/omap-pm-noop.c: Remove unecessary semicolon
In reply to Peter Senna TschudinFound by http://coccinelle.lip6.fr/
--- arch/arm/plat-omap/omap-pm-noop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/plat-omap/omap-pm-noop.c +4 -4
@@ -38,7 +38,7 @@ int omap_pm_set_max_mpu_wakeup_lat(struct device *dev, long t)if (!dev || t <-1 ) {WARN (1 ,"OMAP PM: %s: invalid parameter(s)" , __func__);return -EINVAL ; - }; + }if (t =-1 ) pr_debug("OMAP PM: remove max MPU wakeup latency constraint: "
@@ -67,7 +67,7 @@ int omap_pm_set_min_bus_tput(struct device *dev, u8 agent_id, unsigned long r) agent_id != OCP_TARGET_AGENT)) {WARN (1 ,"OMAP PM: %s: invalid parameter(s)" , __func__);return -EINVAL ; - }; + }if (r =0 ) pr_debug("OMAP PM: remove min bus tput constraint: "
@@ -94,7 +94,7 @@ int omap_pm_set_max_dev_wakeup_lat(struct device *req_dev, struct device *dev,if (!req_dev || !dev || t <-1 ) {WARN (1 ,"OMAP PM: %s: invalid parameter(s)" , __func__);return -EINVAL ; - }; + }if (t =-1 ) pr_debug("OMAP PM: remove max device latency constraint: "
@@ -124,7 +124,7 @@ int omap_pm_set_max_sdma_lat(struct device *dev, long t)if (!dev || t <-1 ) {WARN (1 ,"OMAP PM: %s: invalid parameter(s)" , __func__);return -EINVAL ; - }; + }if (t =-1 ) pr_debug("OMAP PM: remove max DMA latency constraint: "
Signature · 1 line
1.7.11.4
PATCH 1/1 arch/x86: Remove unecessary semicolon
In reply to Peter Senna TschudinFound by http://coccinelle.lip6.fr/
--- arch/x86/kernel/alternative.c | 4 ++-- arch/x86/kernel/apic/apic.c | 2 +- arch/x86/kvm/vmx.c | 2 +- arch/x86/pci/mmconfig-shared.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
arch/x86/kernel/alternative.c +2 -2
@@ -304,7 +304,7 @@ static void alternatives_smp_lock(const s32 *start, const s32 *end,/* turn DS segment override prefix into lock prefix */ if (*ptr =0x3e )text_poke (ptr, ((unsigned char []){0xf0 }),1 ); - }; + }mutex_unlock (&text_mutex); }
@@ -322,7 +322,7 @@ static void alternatives_smp_unlock(const s32 *start, const s32 *end,/* turn lock prefix into DS segment override prefix */ if (*ptr =0xf0 )text_poke (ptr, ((unsigned char []){0x3E }),1 ); - }; + }mutex_unlock (&text_mutex); }
arch/x86/kernel/apic/apic.c +1 -1
@@ -1934,7 +1934,7 @@ void smp_error_interrupt(struct pt_regs *regs)apic_printk (APIC_DEBUG ,KERN_CONT " : %s" , error_interrupt_reason[i]); i++; v1 >>=1 ; - }; + }apic_printk (APIC_DEBUG ,KERN_CONT "\n" );
arch/x86/kvm/vmx.c +1 -1
@@ -4501,7 +4501,7 @@ static int handle_cr(struct kvm_vcpu *vcpu) vcpu->run->exit_reason =KVM_EXIT_SET_TPR ;return 0 ; } - }; + }break ;case 2 :/* clts */ handle_clts (vcpu);
arch/x86/pci/mmconfig-shared.c +1 -1
@@ -585,7 +585,7 @@ static int __init pci_parse_mcfg(struct acpi_table_header *header)while (i >=sizeof (struct acpi_mcfg_allocation )) { entries++; i -=sizeof (struct acpi_mcfg_allocation ); - }; + }if (entries =0 ) {pr_err (PREFIX "MMCONFIG has no entries\n" );return -ENODEV ;
Signature · 1 line
1.7.11.4
Re: [PATCH] arch/arm/mach-davinci/board-dm646x-evm.c: Remove unecessary
In reply to Peter Senna TschudinHi Peter,
Thanks for the patch.
Quoted 2 lines · Peter Senna Tschudin
Found by http://coccinelle.lip6.fr/
The commit message 'Remove unecessary' doesn't explain what are you trying to do.
Thanks,
--Prabhakar
Quoted 26 lines
Signed-off-by Peter Senna Tschudin <[email protected]>--- arch/arm/mach-davinci/board-dm646x-evm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-davinci/board-dm646x-evm.c +1
-2@@ -193,7 +193,7 @@ static int evm_led_setup(struct i2c_client *client, int gpio,while (ngpio--) { leds->gpio = gpio++; leds++; - }; + } evm_led_dev =platform_device_alloc ("leds-gpio" ,0 ); platform_device_add_data(evm_led_dev, &evm_led_data, --1.7.11.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH] arch/arm/mach-davinci/board-dm646x-evm.c: Remove unecessary
Quoted 2 lines
The commit message 'Remove unecessary' doesn't explain what are you trying to do.
Sorry for that. I'll resend it now.
Signature · 1 line
Peter
Re: [PATCH] arch/arm/plat-mxc/ulpi.c: Remove unecessary semicolon
In reply to Peter Senna TschudinHello,
$Subject ~= s/unecessary/unnecessary/
other than that the patch looks correct.
Best regards
Uwe
Signature · 6 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Peter Senna Tschudin
Found by http://coccinelle.lip6.fr/
Signed-off-by Peter Senna Tschudin <[email protected]>---
this will have to wait the pinctrl patch series
Best Regards,
J.
[tip:x86/cleanups] arch/x86: Remove unecessary semicolons
In reply to Peter Senna TschudinCommit-ID: 4b8073e467e6a66b6a5a8e799d28bc3b243c0d78 Gitweb: http://git.kernel.org/tip/4b8073e467e6a66b6a5a8e799d28bc3b243c0d78 Author: Peter Senna Tschudin <[email protected]> AuthorDate: Tue, 18 Sep 2012 18:36:14 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Wed, 19 Sep 2012 17:32:48 +0200
arch/x86: Remove unecessary semicolons
Found by http://coccinelle.lip6.fr/
--- arch/x86/kernel/alternative.c | 4 ++-- arch/x86/kernel/apic/apic.c | 2 +- arch/x86/kvm/vmx.c | 2 +- arch/x86/pci/mmconfig-shared.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
arch/x86/kernel/alternative.c +2 -2
@@ -317,7 +317,7 @@ static void alternatives_smp_lock(const s32 *start, const s32 *end,/* turn DS segment override prefix into lock prefix */ if (*ptr ==0x3e )text_poke (ptr, ((unsigned char []){0xf0 }),1 ); - }; + }mutex_unlock (&text_mutex); }
@@ -338,7 +338,7 @@ static void alternatives_smp_unlock(const s32 *start, const s32 *end,/* turn lock prefix into DS segment override prefix */ if (*ptr ==0xf0 )text_poke (ptr, ((unsigned char []){0x3E }),1 ); - }; + }mutex_unlock (&text_mutex); }
arch/x86/kernel/apic/apic.c +1 -1
@@ -1934,7 +1934,7 @@ void smp_error_interrupt(struct pt_regs *regs)apic_printk (APIC_DEBUG ,KERN_CONT " : %s" , error_interrupt_reason[i]); i++; v1 >>=1 ; - }; + }apic_printk (APIC_DEBUG ,KERN_CONT "\n" );
arch/x86/kvm/vmx.c +1 -1
@@ -4543,7 +4543,7 @@ static int handle_cr(struct kvm_vcpu *vcpu) vcpu->run->exit_reason =KVM_EXIT_SET_TPR ;return 0 ; } - }; + }break ;case 2 :/* clts */ handle_clts (vcpu);
arch/x86/pci/mmconfig-shared.c +1 -1
@@ -585,7 +585,7 @@ static int __init pci_parse_mcfg(struct acpi_table_header *header)while (i >=sizeof (struct acpi_mcfg_allocation )) { entries++; i -=sizeof (struct acpi_mcfg_allocation ); - }; + }if (entries ==0 ) {pr_err (PREFIX "MMCONFIG has no entries\n" );return -ENODEV ;
Tony Lindgren
maintainerRe: [PATCH] arch/arm/mach-omap1/devices.c: Remove unecessary semicolon
In reply to Peter Senna TschudinQuoted 12 lines · Peter Senna Tschudin
Found by http://coccinelle.lip6.fr/
Signed-off-by Peter Senna Tschudin <[email protected]>--- arch/arm/mach-omap1/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-omap1/devices.c +0
-0
arch/arm/mach-omap1/devices.c void __init omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, · line 238
Quoted 8 lines
arch/arm/mach-omap1/devices.c +1
-1@@ -232,7 +232,7 @@ void __init omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,omap_mmc_add ("mmci-omap" , i, base, size, irq, rx_req, tx_req, mmc_data[i]); - }; + } }#endif
Thanks applying into omap fixes branch.
Regards,
Tony
Tony Lindgren
maintainerRe: [PATCH] arch/arm/mach-omap2: Remove unecessary semicolon
In reply to Peter Senna TschudinQuoted 10 lines · Peter Senna Tschudin
Found by http://coccinelle.lip6.fr/
Signed-off-by Peter Senna Tschudin <[email protected]>--- arch/arm/mach-omap2/board-flash.c | 2 +- arch/arm/mach-omap2/clkt_clksel.c | 2 +- arch/arm/mach-omap2/mux.c | 2 +- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 6 +++--- arch/arm/mach-omap2/pm-debug.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-)
Thanks applying into omap fixes branch.
Regards,
Tony
Tony Lindgren
maintainerRe: [PATCH] arch/arm/plat-omap/omap-pm-noop.c: Remove unecessary semicolon
In reply to Peter Senna TschudinQuoted 6 lines · Peter Senna Tschudin
Found by http://coccinelle.lip6.fr/
Signed-off-by Peter Senna Tschudin <[email protected]>--- arch/arm/plat-omap/omap-pm-noop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Thanks applying into omap fixes branch.
Regards,
Tony