[PATCH][V2] MIPS: PCI: Remove leading space in info message, rename pci

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][V2] MIPS: PCI: Remove leading space in info message, rename pci
Posted by Colin Ian King 3 years, 10 months ago
There is an info message with an extraneous leading space. Remove it.
Also rename pci to PCI.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
V2: make pci uppercase
---
 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][V2] MIPS: PCI: Remove leading space in info message, rename pci
Posted by Thomas Bogendoerfer 3 years, 9 months ago
On Mon, Jun 20, 2022 at 12:55:49PM +0100, Colin Ian King wrote:
> There is an info message with an extraneous leading space. Remove it.
> Also rename pci to PCI.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
> V2: make pci uppercase
> ---
>  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

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]