提交 4b00706c 编写于 作者: T Tomas Winkler 提交者: Greg Kroah-Hartman

staging/mei: fix hbm_host_version_response structure

Looks during cleanup we converted type of host_version_supported
member from UINT8 into int instead of u8.
Since we've queried only for boolean value of
this variable the bug wasn't really visible.
Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 adc4a3a4
...@@ -237,7 +237,7 @@ struct hbm_host_version_request { ...@@ -237,7 +237,7 @@ struct hbm_host_version_request {
struct hbm_host_version_response { struct hbm_host_version_response {
struct hbm_cmd cmd; struct hbm_cmd cmd;
int host_version_supported; u8 host_version_supported;
struct hbm_version me_max_version; struct hbm_version me_max_version;
} __packed; } __packed;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册