ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device
authorZhang Rui <rui.zhang@intel.com>
Sat, 14 Jun 2008 05:01:18 +0000 (01:01 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 14 Jun 2008 05:01:18 +0000 (01:01 -0400)
The child of a video bus device is not alway a video device.
It should be a warn message rather than an exception here.
http://bugzilla.kernel.org/show_bug.cgi?id=9761

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c

index 5e5dda3..d089c45 100644 (file)
@@ -1713,7 +1713,8 @@ acpi_video_bus_get_devices(struct acpi_video_bus *video,
 
                status = acpi_video_bus_get_one_device(dev, video);
                if (ACPI_FAILURE(status)) {
-                       ACPI_EXCEPTION((AE_INFO, status, "Cant attach device"));
+                       ACPI_DEBUG_PRINT((ACPI_DB_WARN,
+                                       "Cant attach device"));
                        continue;
                }
        }