From: Tomas Winkler Date: Thu, 23 Feb 2012 19:52:55 +0000 (+0200) Subject: staging/mei: fix hbm_host_version_response structure X-Git-Tag: MMI-PSA29.97-13-9~17268^2~134 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b00706cd9499652051918305e70c7152d0cfd0e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mei/hw.h b/drivers/staging/mei/hw.h index b08c90193f73..f86a213c372d 100644 --- a/drivers/staging/mei/hw.h +++ b/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;