From: Joe Perches <joe@perches.com>
To: Chris Metcalf <cmetcalf@tilera.com>,
Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] tile: Neaten early_printk uses
Date: Thu, 30 Oct 2014 11:11:53 -0700 [thread overview]
Message-ID: <ba879db6b10abf4e356d8765fb23349e56bf6dbd.1414691783.git.joe@perches.com> (raw)
In-Reply-To: <cover.1414691783.git.joe@perches.com>
Coalesce the formats and align arguments.
Signed-off-by: Joe Perches <joe@perches.com>
---
arch/tile/kernel/setup.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c
index b9736de..6471cc5 100644
--- a/arch/tile/kernel/setup.c
+++ b/arch/tile/kernel/setup.c
@@ -1208,9 +1208,8 @@ static void __init validate_hv(void)
* We use a struct cpumask for this, so it must be big enough.
*/
if ((smp_height * smp_width) > nr_cpu_ids)
- early_panic("Hypervisor %d x %d grid too big for Linux"
- " NR_CPUS %d\n", smp_height, smp_width,
- nr_cpu_ids);
+ early_panic("Hypervisor %d x %d grid too big for Linux NR_CPUS %d\n",
+ smp_height, smp_width, nr_cpu_ids);
#endif
/*
@@ -1265,10 +1264,9 @@ static void __init validate_va(void)
/* Kernel PCs must have their high bit set; see intvec.S. */
if ((long)VMALLOC_START >= 0)
- early_panic(
- "Linux VMALLOC region below the 2GB line (%#lx)!\n"
- "Reconfigure the kernel with smaller VMALLOC_RESERVE.\n",
- VMALLOC_START);
+ early_panic("Linux VMALLOC region below the 2GB line (%#lx)!\n"
+ "Reconfigure the kernel with smaller VMALLOC_RESERVE\n",
+ VMALLOC_START);
#endif
}
--
2.1.2
next prev parent reply other threads:[~2014-10-30 18:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 18:11 [PATCH 0/3] Remove use of early_vprintk, tile neatening Joe Perches
2014-10-30 18:11 ` [PATCH 1/3] printk: Remove used-once early_vprintk Joe Perches
2014-10-30 18:11 ` Joe Perches [this message]
2014-10-30 18:11 ` [PATCH 3/3] tile: Use pr_warn instead of pr_warning Joe Perches
2014-10-31 13:53 ` [PATCH 0/3] Remove use of early_vprintk, tile neatening Chris Metcalf
2014-10-31 17:50 ` [PATCH] tile: Use the more common pr_warn instead of pr_warning Joe Perches
2014-11-11 20:55 ` Chris Metcalf
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=ba879db6b10abf4e356d8765fb23349e56bf6dbd.1414691783.git.joe@perches.com \
--to=joe@perches.com \
--cc=akpm@linux-foundation.org \
--cc=cmetcalf@tilera.com \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®