Skip to content

Commit

Permalink
genirq: Remove leading space from irq_chip::irq_print_chip() callbacks
Browse files Browse the repository at this point in the history
The space separator was factored out from the multiple chip name prints,
but several irq_chip::irq_print_chip() callbacks still print a leading
space.  Remove the superfluous double spaces.

Fixes: 9d9f204 ("genirq/proc: Add missing space separator back")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/all/893f7e9646d8933cd6786d5a1ef3eb076d263768.1738764803.git.geert+renesas@glider.be
  • Loading branch information
geertu authored and KAGA-KOKO committed Feb 7, 2025
1 parent bb066fe commit 29a61a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/sysdev/fsl_msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static void fsl_msi_print_chip(struct irq_data *irqd, struct seq_file *p)
srs = (hwirq >> msi_data->srs_shift) & MSI_SRS_MASK;
cascade_virq = msi_data->cascade_array[srs]->virq;

seq_printf(p, " fsl-msi-%d", cascade_virq);
seq_printf(p, "fsl-msi-%d", cascade_virq);
}


Expand Down
2 changes: 1 addition & 1 deletion drivers/bus/moxtet.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ static void moxtet_irq_print_chip(struct irq_data *d, struct seq_file *p)

id = moxtet->modules[pos->idx];

seq_printf(p, " moxtet-%s.%i#%i", mox_module_name(id), pos->idx,
seq_printf(p, "moxtet-%s.%i#%i", mox_module_name(id), pos->idx,
pos->bit);
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-partition-percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static void partition_irq_print_chip(struct irq_data *d, struct seq_file *p)
struct irq_chip *chip = irq_desc_get_chip(part->chained_desc);
struct irq_data *data = irq_desc_get_irq_data(part->chained_desc);

seq_printf(p, " %5s-%lu", chip->name, data->hwirq);
seq_printf(p, "%5s-%lu", chip->name, data->hwirq);
}

static struct irq_chip partition_irq_chip = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/soc/qcom/smp2p.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static void smp2p_irq_print_chip(struct irq_data *irqd, struct seq_file *p)
{
struct smp2p_entry *entry = irq_data_get_irq_chip_data(irqd);

seq_printf(p, " %8s", dev_name(entry->smp2p->dev));
seq_printf(p, "%8s", dev_name(entry->smp2p->dev));
}

static struct irq_chip smp2p_irq_chip = {
Expand Down

0 comments on commit 29a61a1

Please sign in to comment.