[v4,06/21] common/idpf: convert data type to 'le'
Checks
Commit Message
'u32' data type is used for the struct members in
'virtchnl2_version_info' which should be '__le32'.
Make the change accordingly.
It is a Little Endian specific type defination.
Signed-off-by: Soumyadeep Hore <soumyadeep.hore@intel.com>
---
drivers/common/idpf/base/virtchnl2.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -471,8 +471,8 @@
* error regardless of version mismatch.
*/
struct virtchnl2_version_info {
- u32 major;
- u32 minor;
+ __le32 major;
+ __le32 minor;
};
VIRTCHNL2_CHECK_STRUCT_LEN(8, virtchnl2_version_info);