diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-09-18 16:05:26 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-10-29 21:24:19 +0100 |
commit | f7777dcc7550531ae551f544bdc391c65d0e1731 (patch) | |
tree | ab95758874c5d534f95ec0814760a7805ba6d175 /arch/mips/ralink/clk.c | |
parent | MIPS: Use NUMA_NO_NODE instead of -1 for node ID. (diff) | |
download | linux-f7777dcc7550531ae551f544bdc391c65d0e1731.tar.xz linux-f7777dcc7550531ae551f544bdc391c65d0e1731.zip |
MIPS: Panic messages should not end in \n.
Panic() is going to add a \n itself and it's annoying if a panic message rolls
of the screen on a device with no scrollback.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink/clk.c')
-rw-r--r-- | arch/mips/ralink/clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c index bba0cdfd83bc..5d0983d47161 100644 --- a/arch/mips/ralink/clk.c +++ b/arch/mips/ralink/clk.c @@ -26,7 +26,7 @@ void ralink_clk_add(const char *dev, unsigned long rate) struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); if (!clk) - panic("failed to add clock\n"); + panic("failed to add clock"); clk->cl.dev_id = dev; clk->cl.clk = clk; |