Skip to content

Commit

Permalink
staging/mei: fix hbm_host_version_response structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Feb 24, 2012
1 parent adc4a3a commit 4b00706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/mei/hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4b00706

Please sign in to comment.