diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-31 18:01:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-31 18:01:16 -0400 |
commit | e38be1b1066687204b05b6a46a2018806c7281de (patch) | |
tree | d0210ff404d7726aabcaa6abe6ad5f712ad6dcff /arch/ia64/kernel | |
parent | f24279172d610e5ab2b8a2e290490213b0622453 (diff) | |
parent | 4c332c3238ab41fa9bc18d6ccb8e8aec1c87a426 (diff) |
Merge tag 'please-pull-misc-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
Pull ia64 updates from Tony Luck:
"Miscellaneous ia64 fixes for 3.15 merge window"
* tag 'please-pull-misc-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
[IA64] Keep format strings from leaking into printk
Fix warning in make defconfig
[IA64] sba_iommu: fix section mismatch To: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | arch/ia64/kernel/mca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index b8edfa75a83f..601502ab7141 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
@@ -217,7 +217,7 @@ void ia64_mca_printk(const char *fmt, ...) | |||
217 | /* Copy the output into mlogbuf */ | 217 | /* Copy the output into mlogbuf */ |
218 | if (oops_in_progress) { | 218 | if (oops_in_progress) { |
219 | /* mlogbuf was abandoned, use printk directly instead. */ | 219 | /* mlogbuf was abandoned, use printk directly instead. */ |
220 | printk(temp_buf); | 220 | printk("%s", temp_buf); |
221 | } else { | 221 | } else { |
222 | spin_lock(&mlogbuf_wlock); | 222 | spin_lock(&mlogbuf_wlock); |
223 | for (p = temp_buf; *p; p++) { | 223 | for (p = temp_buf; *p; p++) { |
@@ -268,7 +268,7 @@ void ia64_mlogbuf_dump(void) | |||
268 | } | 268 | } |
269 | *p = '\0'; | 269 | *p = '\0'; |
270 | if (temp_buf[0]) | 270 | if (temp_buf[0]) |
271 | printk(temp_buf); | 271 | printk("%s", temp_buf); |
272 | mlogbuf_start = index; | 272 | mlogbuf_start = index; |
273 | 273 | ||
274 | mlogbuf_timestamp = 0; | 274 | mlogbuf_timestamp = 0; |