From: Dmitry Torokhov Date: Wed, 18 Jul 2007 05:10:24 +0000 (-0400) Subject: ACPI: dock: fix oops when _DCK evaluation fails X-Git-Tag: v2.6.23-rc1~17^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9254bc845db90a123cf992e983539d0ee409f22a;p=pandora-kernel.git ACPI: dock: fix oops when _DCK evaluation fails Data returned by acpi_get_name in acpi_buffer is not acpi_object and therefore should not be cast to it, otherwise we'll get an nice oops trying to print error message. Also print name of the ACPI object corresponding to the docking station and elevate severity of the message printed when _DCK fails to KERN_ERR. Signed-off-by: Dmitry Torokhov Cc: Kristen Carlson Accardi Signed-off-by: Len Brown --- Reading git-diff-tree failed