]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging/mei: fix hbm_host_version_response structure
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 23 Feb 2012 19:52:55 +0000 (21:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 19:59:56 +0000 (11:59 -0800)
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>
drivers/staging/mei/hw.h

index b08c90193f73299b0b59a9df2ec306007de89e7c..f86a213c372d79a7e8cf97744bdeebcd50e5e730 100644 (file)
@@ -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;