* [PATCH] Fix misspellings in pm.h macros
@ 2008-11-17 16:14 Alan Stern
2008-11-17 21:02 ` Rafael J. Wysocki
2008-11-17 23:41 ` patch fix-misspellings-in-pm.h-macros.patch added to gregkh-2.6 tree gregkh
0 siblings, 2 replies; 3+ messages in thread
From: Alan Stern @ 2008-11-17 16:14 UTC (permalink / raw)
To: Greg KH; +Cc: Linux-pm mailing list
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>
---
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, })
/**
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix misspellings in pm.h macros
2008-11-17 16:14 [PATCH] Fix misspellings in pm.h macros Alan Stern
@ 2008-11-17 21:02 ` Rafael J. Wysocki
2008-11-17 23:41 ` patch fix-misspellings-in-pm.h-macros.patch added to gregkh-2.6 tree gregkh
1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2008-11-17 21:02 UTC (permalink / raw)
To: Alan Stern; +Cc: Greg KH, Linux-pm mailing list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* patch fix-misspellings-in-pm.h-macros.patch added to gregkh-2.6 tree
2008-11-17 16:14 [PATCH] Fix misspellings in pm.h macros Alan Stern
2008-11-17 21:02 ` Rafael J. Wysocki
@ 2008-11-17 23:41 ` gregkh
1 sibling, 0 replies; 3+ messages in thread
From: gregkh @ 2008-11-17 23:41 UTC (permalink / raw)
To: stern, greg, linux-pm, rjw
This is a note to let you know that I've just added the patch titled
Subject: Fix misspellings in pm.h macros
to my gregkh-2.6 tree. Its filename is
fix-misspellings-in-pm.h-macros.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From stern@rowland.harvard.edu Mon Nov 17 15:02:22 2008
From: Alan Stern <stern@rowland.harvard.edu>
Date: Mon, 17 Nov 2008 11:14:19 -0500 (EST)
Subject: Fix misspellings in pm.h macros
To: Greg KH <greg@kroah.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>, Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Message-ID: <Pine.LNX.4.44L0.0811171111050.5170-100000@iolanthe.rowland.org>
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>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
---
include/linux/pm.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- a/include/linux/pm.h
+++ b/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, })
/**
Patches currently in gregkh-2.6 which might be from stern@rowland.harvard.edu are
usb/usb-change-interface-to-usb_lock_device_for_reset.patch
usb/usb-avoid-20ms-delay-in-ehci-resume.patch
usb/usb-straighten-out-inline-code-in-sysfs.c.patch
usb/usb-ehci-pci-quirks.c-don-t-wait-so-long-for-bios-handoff.patch
usb/usb-remove-restrictions-on-signal-numbers-in-devio.c.patch
usb/usb-powerpc-workaround-for-the-ppc440epx-usbh_23-errata.patch
usb/usb-add-asynchronous-autosuspend-autoresume-support.patch
usb/usb-usb-storage-add-quirks-module-parameter.patch
usb/usb-introduce-usb_queue_reset-to-do-resets-from-atomic-contexts-v7.patch
usb.current/usb-storage-updates-unusual_devs-entry-for-the-nokia-6300.patch
usb.current/usb-storage-update-unusual_devs-entries-for-nokia-5300-and-5310.patch
driver-core/pm-simplify-the-new-suspend-hibernation-framework-for-devices.patch
driver-core/fix-misspellings-in-pm.h-macros.patch
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-17 23:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17 16:14 [PATCH] Fix misspellings in pm.h macros Alan Stern
2008-11-17 21:02 ` Rafael J. Wysocki
2008-11-17 23:41 ` patch fix-misspellings-in-pm.h-macros.patch added to gregkh-2.6 tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox