Commit b2346b50 authored by Mahesh Rajashekhara's avatar Mahesh Rajashekhara Committed by Martin K. Petersen
parent b6e2ef67
...@@ -645,6 +645,7 @@ struct bmic_host_wellness_driver_version { ...@@ -645,6 +645,7 @@ struct bmic_host_wellness_driver_version {
u8 driver_version_tag[2]; u8 driver_version_tag[2];
__le16 driver_version_length; __le16 driver_version_length;
char driver_version[32]; char driver_version[32];
u8 dont_write_tag[2];
u8 end_tag[2]; u8 end_tag[2];
}; };
...@@ -674,6 +675,8 @@ static int pqi_write_driver_version_to_host_wellness( ...@@ -674,6 +675,8 @@ static int pqi_write_driver_version_to_host_wellness(
strncpy(buffer->driver_version, "Linux " DRIVER_VERSION, strncpy(buffer->driver_version, "Linux " DRIVER_VERSION,
sizeof(buffer->driver_version) - 1); sizeof(buffer->driver_version) - 1);
buffer->driver_version[sizeof(buffer->driver_version) - 1] = '\0'; buffer->driver_version[sizeof(buffer->driver_version) - 1] = '\0';
buffer->dont_write_tag[0] = 'D';
buffer->dont_write_tag[1] = 'W';
buffer->end_tag[0] = 'Z'; buffer->end_tag[0] = 'Z';
buffer->end_tag[1] = 'Z'; buffer->end_tag[1] = 'Z';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment