From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Dmitry Torokhov <dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: acpi/sleep/proc.c
Date: Mon, 18 Jul 2005 13:42:49 +0200 [thread overview]
Message-ID: <20050718114249.GE1869@elf.ucw.cz> (raw)
In-Reply-To: <200507171952.52881.dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>
Hi!
> > + seq_printf(seq, "%4s %4d %s%8s\n",
> > + dev->pnp.bus_id, (u32) dev->wakeup.sleep_state,
> > + dev->wakeup.flags.run_wake ? "*" : "",
> > + dev->wakeup.state.enabled ? "*enabled" : "*disabled");
>
> Do you really want to have double astericks (**enabled)?
Oops, my bad. Just delete * from *enabled and *disabled:
Pavel
diff --git a/drivers/acpi/sleep/proc.c b/drivers/acpi/sleep/proc.c
--- a/drivers/acpi/sleep/proc.c
+++ b/drivers/acpi/sleep/proc.c
@@ -374,7 +374,7 @@ acpi_system_wakeup_device_seq_show(struc
seq_printf(seq, "%4s %4d %s%8s\n",
dev->pnp.bus_id, (u32) dev->wakeup.sleep_state,
dev->wakeup.flags.run_wake ? "*" : "",
- dev->wakeup.state.enabled ? "*enabled" : "*disabled");
+ dev->wakeup.state.enabled ? "enabled" : "disabled");
spin_lock(&acpi_device_lock);
}
spin_unlock(&acpi_device_lock);
--
teflon -- maybe it is a trademark, but it should not be.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
prev parent reply other threads:[~2005-07-18 11:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-17 19:16 acpi/sleep/proc.c Pavel Machek
[not found] ` <20050717191637.GA12674-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-07-18 0:52 ` acpi/sleep/proc.c Dmitry Torokhov
[not found] ` <200507171952.52881.dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>
2005-07-18 11:42 ` Pavel Machek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050718114249.GE1869@elf.ucw.cz \
--to=pavel-+zi9xunit7i@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox