Skip to content

Commit ed7158b

Browse files
committed
treewide/trivial: Remove ';;$' typo noise
On lkml suggestions were made to split up such trivial typo fixes into per subsystem patches: --- a/arch/x86/boot/compressed/eboot.c +++ b/arch/x86/boot/compressed/eboot.c @@ -439,7 +439,7 @@ setup_uga32(void **uga_handle, unsigned long size, u32 *width, u32 *height) struct efi_uga_draw_protocol *uga = NULL, *first_uga; efi_guid_t uga_proto = EFI_UGA_PROTOCOL_GUID; unsigned long nr_ugas; - u32 *handles = (u32 *)uga_handle;; + u32 *handles = (u32 *)uga_handle; efi_status_t status = EFI_INVALID_PARAMETER; int i; This patch is the result of the following script: $ sed -i 's/;;$/;/g' $(git grep -E ';;$' | grep "\.[ch]:" | grep -vwE 'for|ia64' | cut -d: -f1 | sort | uniq) ... followed by manual review to make sure it's all good. Splitting this up is just crazy talk, let's get over with this and just do it. Reported-by: Pavel Machek <pavel@ucw.cz> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent af3e79d commit ed7158b

17 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎arch/arc/kernel/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ static void arc_chk_core_config(void)
373373
{
374374
struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()];
375375
int saved = 0, present = 0;
376-
char *opt_nm = NULL;;
376+
char *opt_nm = NULL;
377377

378378
if (!cpu->extn.timer0)
379379
panic("Timer0 is not present!\n");

‎arch/arc/kernel/unwind.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static void init_unwind_hdr(struct unwind_table *table,
366366
return;
367367

368368
ret_err:
369-
panic("Attention !!! Dwarf FDE parsing errors\n");;
369+
panic("Attention !!! Dwarf FDE parsing errors\n");
370370
}
371371

372372
#ifdef CONFIG_MODULES

‎arch/arm/kernel/time.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ static void dummy_clock_access(struct timespec64 *ts)
8383
}
8484

8585
static clock_access_fn __read_persistent_clock = dummy_clock_access;
86-
static clock_access_fn __read_boot_clock = dummy_clock_access;;
86+
static clock_access_fn __read_boot_clock = dummy_clock_access;
8787

8888
void read_persistent_clock64(struct timespec64 *ts)
8989
{

‎arch/arm64/kernel/ptrace.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ static int compat_ptrace_hbp_get(unsigned int note_type,
14191419
u64 addr = 0;
14201420
u32 ctrl = 0;
14211421

1422-
int err, idx = compat_ptrace_hbp_num_to_idx(num);;
1422+
int err, idx = compat_ptrace_hbp_num_to_idx(num);
14231423

14241424
if (num & 1) {
14251425
err = ptrace_hbp_get_addr(note_type, tsk, idx, &addr);

‎arch/powerpc/kvm/book3s_xive.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static int xive_provision_queue(struct kvm_vcpu *vcpu, u8 prio)
188188
if (!qpage) {
189189
pr_err("Failed to allocate queue %d for VCPU %d\n",
190190
prio, xc->server_num);
191-
return -ENOMEM;;
191+
return -ENOMEM;
192192
}
193193
memset(qpage, 0, 1 << xive->q_order);
194194

‎arch/powerpc/platforms/powernv/pci-ioda.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,7 @@ static int pnv_pci_ioda_dma_set_mask(struct pci_dev *pdev, u64 dma_mask)
18541854
s64 rc;
18551855

18561856
if (WARN_ON(!pdn || pdn->pe_number == IODA_INVALID_PE))
1857-
return -ENODEV;;
1857+
return -ENODEV;
18581858

18591859
pe = &phb->ioda.pe_array[pdn->pe_number];
18601860
if (pe->tce_bypass_enabled) {

‎arch/x86/boot/compressed/eboot.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ setup_uga32(void **uga_handle, unsigned long size, u32 *width, u32 *height)
439439
struct efi_uga_draw_protocol *uga = NULL, *first_uga;
440440
efi_guid_t uga_proto = EFI_UGA_PROTOCOL_GUID;
441441
unsigned long nr_ugas;
442-
u32 *handles = (u32 *)uga_handle;;
442+
u32 *handles = (u32 *)uga_handle;
443443
efi_status_t status = EFI_INVALID_PARAMETER;
444444
int i;
445445

@@ -484,7 +484,7 @@ setup_uga64(void **uga_handle, unsigned long size, u32 *width, u32 *height)
484484
struct efi_uga_draw_protocol *uga = NULL, *first_uga;
485485
efi_guid_t uga_proto = EFI_UGA_PROTOCOL_GUID;
486486
unsigned long nr_ugas;
487-
u64 *handles = (u64 *)uga_handle;;
487+
u64 *handles = (u64 *)uga_handle;
488488
efi_status_t status = EFI_INVALID_PARAMETER;
489489
int i;
490490

‎block/sed-opal.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ static int opal_discovery0_end(struct opal_dev *dev)
490490

491491
if (!found_com_id) {
492492
pr_debug("Could not find OPAL comid for device. Returning early\n");
493-
return -EOPNOTSUPP;;
493+
return -EOPNOTSUPP;
494494
}
495495

496496
dev->comid = comid;

‎drivers/clocksource/mips-gic-timer.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ static int __init gic_clocksource_of_init(struct device_node *node)
205205
} else if (of_property_read_u32(node, "clock-frequency",
206206
&gic_frequency)) {
207207
pr_err("GIC frequency not specified.\n");
208-
return -EINVAL;;
208+
return -EINVAL;
209209
}
210210
gic_timer_irq = irq_of_parse_and_map(node, 0);
211211
if (!gic_timer_irq) {
212212
pr_err("GIC timer IRQ not specified.\n");
213-
return -EINVAL;;
213+
return -EINVAL;
214214
}
215215

216216
ret = __gic_clocksource_init();

‎drivers/clocksource/timer-sun5i.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ static int __init sun5i_timer_init(struct device_node *node)
334334
timer_base = of_io_request_and_map(node, 0, of_node_full_name(node));
335335
if (IS_ERR(timer_base)) {
336336
pr_err("Can't map registers\n");
337-
return PTR_ERR(timer_base);;
337+
return PTR_ERR(timer_base);
338338
}
339339

340340
irq = irq_of_parse_and_map(node, 0);

0 commit comments

Comments
 (0)