Jelajahi Sumber

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: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tomas Winkler 14 tahun lalu
induk
melakukan
4b00706cd9
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      drivers/staging/mei/hw.h

+ 1 - 1
drivers/staging/mei/hw.h

@@ -237,7 +237,7 @@ struct hbm_host_version_request {
 
 struct hbm_host_version_response {
 	struct hbm_cmd cmd;
-	int host_version_supported;
+	u8 host_version_supported;
 	struct hbm_version me_max_version;
 } __packed;