* [PATCH] power: align wakeup_sources format
@ 2015-08-12 4:31 check.kernel
2015-08-12 4:59 ` Greg Kroah-Hartman
0 siblings, 1 reply; 9+ messages in thread
From: check.kernel @ 2015-08-12 4:31 UTC (permalink / raw)
To: Rafael J. Wysocki, Len Brown, Pavel Machek, Greg Kroah-Hartman,
Ethan du, Linghua Gu
Cc: linux-pm, linux-kernel, yangdongdong
From: yangdongdong <yangdongdong@xiaomi.com>
This aligns every column of elements in wakeup_sources to
conveniently check any specific column for suspicious power
consumption wakeup source or for other easily readable purpose.
Signed-off-by: Andy Yang <yangdongdong@xiaomi.com>
Signed-off-by: Linghua Gu <gulinghua@xiaomi.com>
---
drivers/base/power/wakeup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index 51f15bc..b6fe9e6 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -998,7 +998,7 @@ static int print_wakeup_source_stats(struct seq_file *m,
active_time = ktime_set(0, 0);
}
- seq_printf(m, "%-12s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
+ seq_printf(m, "%-32s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
ws->name, active_count, ws->event_count,
ws->wakeup_count, ws->expire_count,
ktime_to_ms(active_time), ktime_to_ms(total_time),
@@ -1018,7 +1018,7 @@ static int wakeup_sources_stats_show(struct seq_file *m, void *unused)
{
struct wakeup_source *ws;
- seq_puts(m, "name\t\tactive_count\tevent_count\twakeup_count\t"
+ seq_puts(m, "name\t\t\t\t\tactive_count\tevent_count\twakeup_count\t"
"expire_count\tactive_since\ttotal_time\tmax_time\t"
"last_change\tprevent_suspend_time\n");
--
2.5.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] power: align wakeup_sources format
2015-08-12 4:31 check.kernel
@ 2015-08-12 4:59 ` Greg Kroah-Hartman
0 siblings, 0 replies; 9+ messages in thread
From: Greg Kroah-Hartman @ 2015-08-12 4:59 UTC (permalink / raw)
To: check.kernel
Cc: Rafael J. Wysocki, Len Brown, Pavel Machek, Ethan du, Linghua Gu,
linux-pm, linux-kernel, yangdongdong
On Wed, Aug 12, 2015 at 12:31:14PM +0800, check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
Use the same name here as you used for the signed-off-by: line please.
Please fix and resend.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] power: align wakeup_sources format
@ 2015-08-12 6:12 check.kernel
2015-08-12 16:20 ` Greg Kroah-Hartman
0 siblings, 1 reply; 9+ messages in thread
From: check.kernel @ 2015-08-12 6:12 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rafael J. Wysocki, Len Brown, Pavel Machek,
Ethan du, Linghua Gu
Cc: linux-pm, linux-kernel, yangdongdong
From: yangdongdong <yangdongdong@xiaomi.com>
This aligns every column of elements in wakeup_sources to
conveniently check any specific column for suspicious power
consumption wakeup source or for other easily readable purpose.
Signed-off-by: yangdongdong <yangdongdong@xiaomi.com>
Signed-off-by: Linghua Gu <gulinghua@xiaomi.com>
---
drivers/base/power/wakeup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index 51f15bc..b6fe9e6 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -998,7 +998,7 @@ static int print_wakeup_source_stats(struct seq_file *m,
active_time = ktime_set(0, 0);
}
- seq_printf(m, "%-12s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
+ seq_printf(m, "%-32s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
ws->name, active_count, ws->event_count,
ws->wakeup_count, ws->expire_count,
ktime_to_ms(active_time), ktime_to_ms(total_time),
@@ -1018,7 +1018,7 @@ static int wakeup_sources_stats_show(struct seq_file *m, void *unused)
{
struct wakeup_source *ws;
- seq_puts(m, "name\t\tactive_count\tevent_count\twakeup_count\t"
+ seq_puts(m, "name\t\t\t\t\tactive_count\tevent_count\twakeup_count\t"
"expire_count\tactive_since\ttotal_time\tmax_time\t"
"last_change\tprevent_suspend_time\n");
--
2.5.0
The signed name is updated from "Andy Yang" to yangdongdong.
Best Regards,
Andy
On Wed, Aug 12, 2015 at 12:31:14PM +0800, check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
Use the same name here as you used for the signed-off-by: line please.
Please fix and resend.
thanks,
greg k-h
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] power: align wakeup_sources format
2015-08-12 6:12 [PATCH] power: align wakeup_sources format check.kernel
@ 2015-08-12 16:20 ` Greg Kroah-Hartman
0 siblings, 0 replies; 9+ messages in thread
From: Greg Kroah-Hartman @ 2015-08-12 16:20 UTC (permalink / raw)
To: check.kernel
Cc: Rafael J. Wysocki, Len Brown, Pavel Machek, Ethan du, Linghua Gu,
linux-pm, linux-kernel, yangdongdong
On Wed, Aug 12, 2015 at 02:12:38PM +0800, check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
As mentioned before, please fix this.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] power: align wakeup_sources format
@ 2015-08-13 2:24 check.kernel
2015-08-14 8:59 ` Rafael J. Wysocki
0 siblings, 1 reply; 9+ messages in thread
From: check.kernel @ 2015-08-13 2:24 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rafael J. Wysocki, Len Brown, Pavel Machek,
Ethan du, Linghua Gu
Cc: linux-pm, linux-kernel, yangdongdong
From: yangdongdong <yangdongdong@xiaomi.com>
This aligns every column of elements in wakeup_sources to
conveniently check any specific column for suspicious power
consumption wakeup source or for other easily readable purpose.
Signed-off-by: yangdongdong <yangdongdong@xiaomi.com>
---
drivers/base/power/wakeup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index 51f15bc..b6fe9e6 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -998,7 +998,7 @@ static int print_wakeup_source_stats(struct seq_file *m,
active_time = ktime_set(0, 0);
}
- seq_printf(m, "%-12s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
+ seq_printf(m, "%-32s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
ws->name, active_count, ws->event_count,
ws->wakeup_count, ws->expire_count,
ktime_to_ms(active_time), ktime_to_ms(total_time),
@@ -1018,7 +1018,7 @@ static int wakeup_sources_stats_show(struct seq_file *m, void *unused)
{
struct wakeup_source *ws;
- seq_puts(m, "name\t\tactive_count\tevent_count\twakeup_count\t"
+ seq_puts(m, "name\t\t\t\t\tactive_count\tevent_count\twakeup_count\t"
"expire_count\tactive_since\ttotal_time\tmax_time\t"
"last_change\tprevent_suspend_time\n");
--
2.5.0
The signed name has been updated.
Thanks,
yangdongdong
On Wed, Aug 12, 2015 at 02:12:38PM +0800, check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
As mentioned before, please fix this.
The signed name is updated from "Andy Yang" to yangdongdong.
Best Regards,
Andy
On Wed, Aug 12, 2015 at 12:31:14PM +0800, check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
Use the same name here as you used for the signed-off-by: line please.
Please fix and resend.
thanks,
greg k-h
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] power: align wakeup_sources format
2015-08-14 8:59 ` Rafael J. Wysocki
@ 2015-08-14 8:41 ` 杜慧
0 siblings, 0 replies; 9+ messages in thread
From: 杜慧 @ 2015-08-14 8:41 UTC (permalink / raw)
To: Rafael J. Wysocki, check.kernel@gmail.com
Cc: Greg Kroah-Hartman, Len Brown, Pavel Machek,
顾凌华, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, 杨冬东
That is her full name:)
________________________________________
From: Rafael J. Wysocki <rjw@rjwysocki.net>
Sent: Friday, August 14, 2015 16:59
To: check.kernel@gmail.com
Cc: Greg Kroah-Hartman; Len Brown; Pavel Machek; 杜慧; 顾凌华; linux-pm@vger.kernel.org; linux-kernel@vger.kernel.org; 杨冬东
Subject: Re: [PATCH] power: align wakeup_sources format
On Thursday, August 13, 2015 10:24:49 AM check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
>
> This aligns every column of elements in wakeup_sources to
> conveniently check any specific column for suspicious power
> consumption wakeup source or for other easily readable purpose.
>
> Signed-off-by: yangdongdong <yangdongdong@xiaomi.com>
Is yangdongdong your real name, ie. one you would use when checking in
at a hotel etc.? If not, it is not appropriate for signing off a patch.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] power: align wakeup_sources format
2015-08-13 2:24 check.kernel
@ 2015-08-14 8:59 ` Rafael J. Wysocki
2015-08-14 8:41 ` 杜慧
0 siblings, 1 reply; 9+ messages in thread
From: Rafael J. Wysocki @ 2015-08-14 8:59 UTC (permalink / raw)
To: check.kernel
Cc: Greg Kroah-Hartman, Len Brown, Pavel Machek, Ethan du, Linghua Gu,
linux-pm, linux-kernel, yangdongdong
On Thursday, August 13, 2015 10:24:49 AM check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
>
> This aligns every column of elements in wakeup_sources to
> conveniently check any specific column for suspicious power
> consumption wakeup source or for other easily readable purpose.
>
> Signed-off-by: yangdongdong <yangdongdong@xiaomi.com>
Is yangdongdong your real name, ie. one you would use when checking in
at a hotel etc.? If not, it is not appropriate for signing off a patch.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] power: align wakeup_sources format
@ 2015-08-14 8:59 check.kernel
2015-09-15 11:19 ` Pavel Machek
0 siblings, 1 reply; 9+ messages in thread
From: check.kernel @ 2015-08-14 8:59 UTC (permalink / raw)
To: Rafael J. Wysocki, Greg Kroah-Hartman, Len Brown, Pavel Machek,
Ethan du, Linghua Gu
Cc: linux-pm, linux-kernel, yangdongdong
From: yangdongdong <yangdongdong@xiaomi.com>
This aligns every column of elements in wakeup_sources to
conveniently check any specific column for suspicious power
consumption wakeup source or for other easily readable purpose.
Signed-off-by: Dongdong Yang <yangdongdong@xiaomi.com>
Signed-off-by: Linghua Gu <gulinghua@xiaomi.com>
---
drivers/base/power/wakeup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index 51f15bc..b6fe9e6 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -998,7 +998,7 @@ static int print_wakeup_source_stats(struct seq_file *m,
active_time = ktime_set(0, 0);
}
- seq_printf(m, "%-12s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
+ seq_printf(m, "%-32s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
ws->name, active_count, ws->event_count,
ws->wakeup_count, ws->expire_count,
ktime_to_ms(active_time), ktime_to_ms(total_time),
@@ -1018,7 +1018,7 @@ static int wakeup_sources_stats_show(struct seq_file *m, void *unused)
{
struct wakeup_source *ws;
- seq_puts(m, "name\t\tactive_count\tevent_count\twakeup_count\t"
+ seq_puts(m, "name\t\t\t\t\tactive_count\tevent_count\twakeup_count\t"
"expire_count\tactive_since\ttotal_time\tmax_time\t"
"last_change\tprevent_suspend_time\n");
--
2.5.0
On Thursday, August 13, 2015 10:24:49 AM check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
>
> This aligns every column of elements in wakeup_sources to
> conveniently check any specific column for suspicious power
> consumption wakeup source or for other easily readable purpose.
>
> Signed-off-by: yangdongdong <yangdongdong@xiaomi.com>
Is yangdongdong your real name, ie. one you would use when checking in
at a hotel etc.? If not, it is not appropriate for signing off a patch.
Thanks,
Rafael
That is her full name:)
________________________________________
From: Rafael J. Wysocki <rjw@rjwysocki.net>
Sent: Friday, August 14, 2015 16:59
To: check.kernel@gmail.com
Subject: Re: [PATCH] power: align wakeup_sources format
________________________________________
My surname is Yang, and given name is Dongdong. It is my real name and be
printed at my passport. Thanks for your prudence to confirm it with me.
BTW, Andy Yang is my English name when I worked for foreign company.
Best Regards,
Dongdong Yang
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] power: align wakeup_sources format
2015-08-14 8:59 check.kernel
@ 2015-09-15 11:19 ` Pavel Machek
0 siblings, 0 replies; 9+ messages in thread
From: Pavel Machek @ 2015-09-15 11:19 UTC (permalink / raw)
To: check.kernel
Cc: Rafael J. Wysocki, Greg Kroah-Hartman, Len Brown, Ethan du,
Linghua Gu, linux-pm, linux-kernel, yangdongdong
On Fri 2015-08-14 16:59:27, check.kernel@gmail.com wrote:
> From: yangdongdong <yangdongdong@xiaomi.com>
>
> This aligns every column of elements in wakeup_sources to
> conveniently check any specific column for suspicious power
> consumption wakeup source or for other easily readable purpose.
>
> Signed-off-by: Dongdong Yang <yangdongdong@xiaomi.com>
> Signed-off-by: Linghua Gu <gulinghua@xiaomi.com>
> ---
> drivers/base/power/wakeup.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Its debugfs, so format update should be ok.
Acked-by: Pavel Machek <pavel@ucw.cz>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-09-15 11:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12 6:12 [PATCH] power: align wakeup_sources format check.kernel
2015-08-12 16:20 ` Greg Kroah-Hartman
-- strict thread matches above, loose matches on Subject: below --
2015-08-14 8:59 check.kernel
2015-09-15 11:19 ` Pavel Machek
2015-08-13 2:24 check.kernel
2015-08-14 8:59 ` Rafael J. Wysocki
2015-08-14 8:41 ` 杜慧
2015-08-12 4:31 check.kernel
2015-08-12 4:59 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).