[staging-next] staging/mei: fix hbm_host_version_response structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 drivers/staging/mei/hw.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/mei/hw.h b/drivers/staging/mei/hw.h
index b08c901..f86a213 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;
 
-- 
1.7.4.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux