* - acpi-dock-terminate-eject-request-is-the-dock-is-not-present.patch removed from -mm tree
@ 2009-01-09 21:25 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-01-09 21:25 UTC (permalink / raw)
To: marvin, hmacht, lenb, rui.zhang, shaohua.li, stable, mm-commits
The patch titled
acpi dock: terminate eject request is the dock is not present
has been removed from the -mm tree. Its filename was
acpi-dock-terminate-eject-request-is-the-dock-is-not-present.patch
This patch was dropped because an updated version will be merged
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: acpi dock: terminate eject request is the dock is not present
From: Daniel Smolik <marvin@mydatex.cz>
Taken from http://bugzilla.kernel.org/show_bug.cgi?id=12360
nfi if it's right - I merged it so it wouldn't get lost.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Li, Shaohua" <shaohua.li@intel.com>
Cc: <hmacht@suse.de>
Cc: <stable@kernel.org> [2.6.26.x, 2.6.27.x, 2.6.28.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/acpi/dock.c | 3 +++
1 file changed, 3 insertions(+)
diff -puN drivers/acpi/dock.c~acpi-dock-terminate-eject-request-is-the-dock-is-not-present drivers/acpi/dock.c
--- a/drivers/acpi/dock.c~acpi-dock-terminate-eject-request-is-the-dock-is-not-present
+++ a/drivers/acpi/dock.c
@@ -668,6 +668,9 @@ EXPORT_SYMBOL_GPL(unregister_hotplug_doc
*/
static int handle_eject_request(struct dock_station *ds, u32 event)
{
+ if (!dock_present(ds))
+ return -ENODEV;
+
if (dock_in_progress(ds))
return -EBUSY;
_
Patches currently in -mm which might be from marvin@mydatex.cz are
acpi-dock-terminate-eject-request-is-the-dock-is-not-present.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-09 21:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-09 21:25 - acpi-dock-terminate-eject-request-is-the-dock-is-not-present.patch removed from -mm tree akpm
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.