diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-18 05:10:24 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-19 00:37:06 (GMT) |
commit | 9254bc845db90a123cf992e983539d0ee409f22a (patch) | |
tree | 6fc33226de95d3e37db65180d344729cdee2f766 /drivers/spi/atmel_spi.c | |
parent | 3f8698d4d3f72252980575fb8d7b4cafeb5dd0a2 (diff) | |
download | linux-fsl-qoriq-9254bc845db90a123cf992e983539d0ee409f22a.tar.xz |
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 <dtor@mail.ru>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/spi/atmel_spi.c')
0 files changed, 0 insertions, 0 deletions