[PATCH] MIPS: PCI: Remove leading space in info message

Colin Ian King posted 1 patch 3 years, 10 months ago
arch/mips/pci/fixup-lemote2f.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] MIPS: PCI: Remove leading space in info message
Posted by Colin Ian King 3 years, 10 months ago
There is an info message with an extraneous leading space. Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 arch/mips/pci/fixup-lemote2f.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/pci/fixup-lemote2f.c b/arch/mips/pci/fixup-lemote2f.c
index 632ff2daa338..790d674cd80a 100644
--- a/arch/mips/pci/fixup-lemote2f.c
+++ b/arch/mips/pci/fixup-lemote2f.c
@@ -80,7 +80,7 @@ int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 		}
 		return dev->irq;
 	} else {
-		printk(KERN_INFO " strange pci slot number.\n");
+		printk(KERN_INFO "strange pci slot number.\n");
 		return 0;
 	}
 }
-- 
2.35.3
Re: [PATCH] MIPS: PCI: Remove leading space in info message
Posted by Randy Dunlap 3 years, 10 months ago
Hi,

On 6/19/22 10:43, Colin Ian King wrote:
> There is an info message with an extraneous leading space. Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  arch/mips/pci/fixup-lemote2f.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/mips/pci/fixup-lemote2f.c b/arch/mips/pci/fixup-lemote2f.c
> index 632ff2daa338..790d674cd80a 100644
> --- a/arch/mips/pci/fixup-lemote2f.c
> +++ b/arch/mips/pci/fixup-lemote2f.c
> @@ -80,7 +80,7 @@ int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
>  		}
>  		return dev->irq;
>  	} else {
> -		printk(KERN_INFO " strange pci slot number.\n");
> +		printk(KERN_INFO "strange pci slot number.\n");

Preferably	                          PCI

>  		return 0;
>  	}
>  }

-- 
~Randy