提交 e67beb37 编写于 作者: L Len Brown

ACPI: dock: fix build warning

drivers/acpi/dock.c:689: warning: too many arguments for format
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 671adbec
...@@ -636,7 +636,7 @@ static int dock_add(acpi_handle handle) ...@@ -636,7 +636,7 @@ static int dock_add(acpi_handle handle)
dock_device.name = dock_device_name; dock_device.name = dock_device_name;
ret = platform_device_register(&dock_device); ret = platform_device_register(&dock_device);
if (ret) { if (ret) {
printk(KERN_ERR PREFIX "Error registering dock device\n", ret); printk(KERN_ERR PREFIX "Error %d registering dock device\n", ret);
kfree(dock_station); kfree(dock_station);
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册