From: Anand Gadiyar <gadiyar@ti•com>
To: linux-arm-kernel@lists•infradead.org, linux-next@vger•kernel.org
Cc: Anand Gadiyar <gadiyar@ti•com>,
Russell King <rmk+kernel@arm•linux.org.uk>
Subject: [PATCH -next] arm: trivial: add missing argument to printk
Date: Sat, 4 Dec 2010 00:36:12 +0530 [thread overview]
Message-ID: <1291403172-2438-1-git-send-email-gadiyar@ti.com> (raw)
Patch "ARM: CPU hotplug: move cpu_killed completion to core code"
accidentally left out an argument to a printk call. This introduces
the following build warning - fix this.
arch/arm/kernel/smp.c: In function '__cpu_die':
arch/arm/kernel/smp.c:216: warning: too few arguments for format
Signed-off-by: Anand Gadiyar <gadiyar@ti•com>
Cc: Russell King <rmk+kernel@arm•linux.org.uk>
---
arch/arm/kernel/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: mainline/arch/arm/kernel/smp.c
===================================================================
--- mainline.orig/arch/arm/kernel/smp.c
+++ mainline/arch/arm/kernel/smp.c
@@ -213,7 +213,7 @@ static DECLARE_COMPLETION(cpu_died);
void __cpu_die(unsigned int cpu)
{
if (wait_for_completion_timeout(&cpu_died, 5000)) {
- printk(KERN_ERR "CPU%u: cpu didn't die\n");
+ printk(KERN_ERR "CPU%u: cpu didn't die\n", cpu);
return;
}
printk(KERN_NOTICE "CPU%u: shutdown\n", cpu);
next reply other threads:[~2010-12-03 19:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-03 19:06 Anand Gadiyar [this message]
2010-12-03 19:14 ` [PATCH -next] arm: trivial: add missing argument to printk Russell King - ARM Linux
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=1291403172-2438-1-git-send-email-gadiyar@ti.com \
--to=gadiyar@ti$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=rmk+kernel@arm$(echo .)linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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