* [PATCH] clk: add newline character after dumping all clocks
@ 2015-05-01 14:48 Felipe Balbi
2015-05-02 21:22 ` Stefan Wahren
2015-05-06 5:52 ` Stephen Boyd
0 siblings, 2 replies; 3+ messages in thread
From: Felipe Balbi @ 2015-05-01 14:48 UTC (permalink / raw)
To: Stephen Boyd
Cc: Stefan Wahren, Mike Turquette, Linux Kernel Mailing List, Felipe Balbi
clk_dump() will dump data about all clocks in JSON
format, but it misses a newline character at the
end of the JSON string. This patch adds that missing
newline character.
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
drivers/clk/clk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 459ce9da13e0..c2de94238e75 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -276,7 +276,7 @@ static int clk_dump(struct seq_file *s, void *data)
clk_prepare_unlock();
- seq_printf(s, "}");
+ seq_printf(s, "}\n");
return 0;
}
--
2.4.0.rc3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: add newline character after dumping all clocks
2015-05-01 14:48 [PATCH] clk: add newline character after dumping all clocks Felipe Balbi
@ 2015-05-02 21:22 ` Stefan Wahren
2015-05-06 5:52 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Wahren @ 2015-05-02 21:22 UTC (permalink / raw)
To: Felipe Balbi, Stephen Boyd; +Cc: Linux Kernel Mailing List, Mike Turquette
Hi,
> Felipe Balbi <balbi@ti.com> hat am 1. Mai 2015 um 16:48 geschrieben:
>
>
> clk_dump() will dump data about all clocks in JSON
> format, but it misses a newline character at the
> end of the JSON string. This patch adds that missing
> newline character.
>
> Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: add newline character after dumping all clocks
2015-05-01 14:48 [PATCH] clk: add newline character after dumping all clocks Felipe Balbi
2015-05-02 21:22 ` Stefan Wahren
@ 2015-05-06 5:52 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2015-05-06 5:52 UTC (permalink / raw)
To: Felipe Balbi; +Cc: Stefan Wahren, Mike Turquette, Linux Kernel Mailing List
On 05/01, Felipe Balbi wrote:
> clk_dump() will dump data about all clocks in JSON
> format, but it misses a newline character at the
> end of the JSON string. This patch adds that missing
> newline character.
>
> Signed-off-by: Felipe Balbi <balbi@ti.com>
Applied to clk-next with s/seq_printf/seq_puts/
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-06 5:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-01 14:48 [PATCH] clk: add newline character after dumping all clocks Felipe Balbi
2015-05-02 21:22 ` Stefan Wahren
2015-05-06 5:52 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.