| To: | linux-kernel@vger.kernel.org |
|---|---|
| Subject: | [PATCH 01/25] arch/mips: Use static const char arrays |
| From: | Joe Perches <joe@perches.com> |
| Date: | Mon, 13 Sep 2010 12:47:39 -0700 |
| Cc: | Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org |
| In-reply-to: | <cover.1284406638.git.joe@perches.com> |
| References: | <cover.1284406638.git.joe@perches.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
Signed-off-by: Joe Perches <joe@perches.com>
---
arch/mips/pnx8550/common/reset.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/pnx8550/common/reset.c b/arch/mips/pnx8550/common/reset.c
index fadd874..e0ac0b2 100644
--- a/arch/mips/pnx8550/common/reset.c
+++ b/arch/mips/pnx8550/common/reset.c
@@ -27,8 +27,8 @@
void pnx8550_machine_restart(char *command)
{
- char head[] = "************* Machine restart *************";
- char foot[] = "*******************************************";
+ static const char head[] = "************* Machine restart
*************";
+ static const char foot[] =
"*******************************************";
printk("\n\n");
printk("%s\n", head);
--
1.7.3.rc1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] mips: fix start of free memory when using initrd, Greg Ungerer |
|---|---|
| Next by Date: | [PATCH 00/25] treewide-next: Use static const char arrays, Joe Perches |
| Previous by Thread: | [PATCH 00/25] treewide-next: Use static const char arrays, Joe Perches |
| Next by Thread: | Re: [PATCH 01/25] arch/mips: Use static const char arrays, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |