提交 61f98896 编写于 作者: B Benjamin Romer 提交者: Greg Kroah-Hartman

staging: unisys: fix brackets in uisctrl_register_req_handler_ex()

Add the missing brackets to the last if statement in this function.
Signed-off-by: NBryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: NBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 6791b8c4
......@@ -148,9 +148,9 @@ uisctrl_register_req_handler_ex(uuid_le switch_uuid,
if (chipset_driver_info)
bus_device_info_init(chipset_driver_info, "chipset",
"uislib", VERSION, NULL);
} else
} else {
LOGERR("failed to register type %pUL.\n", &switch_uuid);
}
return rc;
}
EXPORT_SYMBOL_GPL(uisctrl_register_req_handler_ex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册