+ acpi-dock-driver-acpi_get_device-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Properly use return value from acpi_get_device

has been added to the -mm tree.  Its filename is

     acpi-dock-driver-acpi_get_device-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Properly use return value from acpi_get_device
From: Kristen Accardi <kristen.c.accardi@xxxxxxxxx>


Properly use return value from acpi_get_device

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@xxxxxxxxx>
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/acpi/dock.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/acpi/dock.c~acpi-dock-driver-acpi_get_device-fix drivers/acpi/dock.c
--- devel/drivers/acpi/dock.c~acpi-dock-driver-acpi_get_device-fix	2006-06-06 15:53:38.000000000 -0700
+++ devel-akpm/drivers/acpi/dock.c	2006-06-06 15:53:38.000000000 -0700
@@ -273,7 +273,7 @@ static void dock_remove_acpi_device(acpi
 	struct acpi_device *device;
 	int ret;
 
-	if (acpi_bus_get_device(handle, &device)) {
+	if (!acpi_bus_get_device(handle, &device)) {
 		ret = acpi_bus_trim(device, 1);
 		if (ret)
 			pr_debug("error removing bus, %x\n", -ret);
_

Patches currently in -mm which might be from kristen.c.accardi@xxxxxxxxx are

kevent-add-new-uevent.patch
acpi-dock-driver.patch
acpi-dock-driver-acpi_get_device-fix.patch
acpiphp-use-new-dock-driver.patch
acpiphp-prevent-duplicate-slot-numbers-when-no-_sun.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux