From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg KH <greg@kroah.com>,
Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: [PATCH] Fix misspellings in pm.h macros
Date: Mon, 17 Nov 2008 22:02:06 +0100 [thread overview]
Message-ID: <200811172202.06736.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0811171111050.5170-100000@iolanthe.rowland.org>
On Monday, 17 of November 2008, Alan Stern wrote:
> This patch (as1167) fixes some misspellings in various recently-added
> macros in pm.h. Fortunately these macros are not yet used anywhere.
>
> Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
> CC: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
> ---
>
> Index: usb-2.6/include/linux/pm.h
> ===================================================================
> --- usb-2.6.orig/include/linux/pm.h
> +++ usb-2.6/include/linux/pm.h
> @@ -252,7 +252,7 @@ struct dev_pm_ops {
> #define PM_EVENT_SLEEP (PM_EVENT_SUSPEND | PM_EVENT_HIBERNATE)
> #define PM_EVENT_USER_SUSPEND (PM_EVENT_USER | PM_EVENT_SUSPEND)
> #define PM_EVENT_USER_RESUME (PM_EVENT_USER | PM_EVENT_RESUME)
> -#define PM_EVENT_REMOTE_WAKEUP (PM_EVENT_REMOTE | PM_EVENT_RESUME)
> +#define PM_EVENT_REMOTE_RESUME (PM_EVENT_REMOTE | PM_EVENT_RESUME)
> #define PM_EVENT_AUTO_SUSPEND (PM_EVENT_AUTO | PM_EVENT_SUSPEND)
> #define PM_EVENT_AUTO_RESUME (PM_EVENT_AUTO | PM_EVENT_RESUME)
>
> @@ -265,15 +265,15 @@ struct dev_pm_ops {
> #define PMSG_THAW ((struct pm_message){ .event = PM_EVENT_THAW, })
> #define PMSG_RESTORE ((struct pm_message){ .event = PM_EVENT_RESTORE, })
> #define PMSG_RECOVER ((struct pm_message){ .event = PM_EVENT_RECOVER, })
> -#define PMSG_USER_SUSPEND ((struct pm_messge) \
> +#define PMSG_USER_SUSPEND ((struct pm_message) \
> { .event = PM_EVENT_USER_SUSPEND, })
> -#define PMSG_USER_RESUME ((struct pm_messge) \
> +#define PMSG_USER_RESUME ((struct pm_message) \
> { .event = PM_EVENT_USER_RESUME, })
> -#define PMSG_REMOTE_RESUME ((struct pm_messge) \
> +#define PMSG_REMOTE_RESUME ((struct pm_message) \
> { .event = PM_EVENT_REMOTE_RESUME, })
> -#define PMSG_AUTO_SUSPEND ((struct pm_messge) \
> +#define PMSG_AUTO_SUSPEND ((struct pm_message) \
> { .event = PM_EVENT_AUTO_SUSPEND, })
> -#define PMSG_AUTO_RESUME ((struct pm_messge) \
> +#define PMSG_AUTO_RESUME ((struct pm_message) \
> { .event = PM_EVENT_AUTO_RESUME, })
>
> /**
>
>
>
--
Everyone knows that debugging is twice as hard as writing a program
in the first place. So if you're as clever as you can be when you write it,
how will you ever debug it? --- Brian Kernighan
next prev parent reply other threads:[~2008-11-17 21:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 16:14 [PATCH] Fix misspellings in pm.h macros Alan Stern
2008-11-17 21:02 ` Rafael J. Wysocki [this message]
2008-11-17 23:41 ` patch fix-misspellings-in-pm.h-macros.patch added to gregkh-2.6 tree gregkh
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=200811172202.06736.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=greg@kroah.com \
--cc=linux-pm@lists.linux-foundation.org \
--cc=stern@rowland.harvard.edu \
/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