From: Vincent Legoll <vincent.legoll@gmail.com>
To: hpa@zytor.com, mingo@redhat.com, tglx@linutronix.de,
bhelgaas@google.com, x86@kernel.org, linux-pci@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Vincent Legoll <vincent.legoll@gmail.com>
Subject: [PATCH] PCI: fix whitespace in printk() to align log entries
Date: Sun, 21 May 2017 11:04:41 +0200 [thread overview]
Message-ID: <1495357481-15750-1-git-send-email-vincent.legoll@gmail.com> (raw)
Remove the space character between "PCI" and the colon.
This was printed before the patch:
PCI : PCI BIOS area is rw and x. Use pci=nobios if you want it NX.
Whereas other PCI printks are like that:
$ dmesg | grep 'PCI:'
[ 0.649178] PCI: MMCONFIG for domain 0000 [bus 00-7f] at [mem 0xf0000000-0xf7ffffff] (base 0xf0000000)
[ 0.649180] PCI: MMCONFIG at [mem 0xf0000000-0xf7ffffff] reserved in E820
[ 0.649186] PCI: Using configuration type 1 for base access
[ 0.676407] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.784009] PCI: Using ACPI for IRQ routing
[ 0.795599] PCI: pci_cache_line_size set to 64 bytes
[ 0.811154] PCI: CLS 0 bytes, default 64
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
arch/x86/pci/pcbios.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/pci/pcbios.c b/arch/x86/pci/pcbios.c
index c1bdb9e..7659540 100644
--- a/arch/x86/pci/pcbios.c
+++ b/arch/x86/pci/pcbios.c
@@ -46,7 +46,7 @@ static inline void set_bios_x(void)
pcibios_enabled = 1;
set_memory_x(PAGE_OFFSET + BIOS_BEGIN, (BIOS_END - BIOS_BEGIN) >> PAGE_SHIFT);
if (__supported_pte_mask & _PAGE_NX)
- printk(KERN_INFO "PCI : PCI BIOS area is rw and x. Use pci=nobios if you want it NX.\n");
+ printk(KERN_INFO "PCI: PCI BIOS area is rw and x. Use pci=nobios if you want it NX.\n");
}
/*
--
2.7.4
next reply other threads:[~2017-05-21 9:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-21 9:04 Vincent Legoll [this message]
2017-05-22 20:04 ` [PATCH] PCI: fix whitespace in printk() to align log entries Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1495357481-15750-1-git-send-email-vincent.legoll@gmail.com \
--to=vincent.legoll@gmail.com \
--cc=bhelgaas@google.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).