mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	genirq/proc: Add missing space separator back
The recent conversion of show_interrupts() to seq_put_decimal_ull_width()
caused a formatting regression as it drops a previosuly existing space
separator.
Add it back by unconditionally inserting a space after the interrupt
counts and removing the extra leading space from the chip name prints.
Fixes: f9ed1f7c2e ("genirq/proc: Use seq_put_decimal_ull_width() for decimal values")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: David Wang <00107082@163.com>
Link: https://lore.kernel.org/all/87zfldt5g4.ffs@tglx
Closes: https://lore.kernel.org/all/4ce18851-6e9f-bbe-8319-cc5e69fb45c@linux-m68k.org
			
			
This commit is contained in:
		
							parent
							
								
									ee3878b84c
								
							
						
					
					
						commit
						9d9f204bdf
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -501,6 +501,7 @@ int show_interrupts(struct seq_file *p, void *v)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		seq_put_decimal_ull_width(p, " ", cnt, 10);
 | 
							seq_put_decimal_ull_width(p, " ", cnt, 10);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						seq_putc(p, ' ');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	raw_spin_lock_irqsave(&desc->lock, flags);
 | 
						raw_spin_lock_irqsave(&desc->lock, flags);
 | 
				
			||||||
	if (desc->irq_data.chip) {
 | 
						if (desc->irq_data.chip) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue