Commit 70bcbc06 authored by Shaun Laing's avatar Shaun Laing Committed by Greg Kroah-Hartman

staging: comedi: dt9812: Resolve different base types warnings.

Resolves warnings from the "sparse" checker of the form "warning: incorrect
type in assignment (different base types)".
Signed-off-by: default avatarShaun Laing <shaun@xresource.ca>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Reviewed-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 62bf50cd
...@@ -187,8 +187,8 @@ enum { ...@@ -187,8 +187,8 @@ enum {
}; };
struct dt9812_flash_data { struct dt9812_flash_data {
u16 numbytes; __le16 numbytes;
u16 address; __le16 address;
}; };
#define DT9812_MAX_NUM_MULTI_BYTE_RDS \ #define DT9812_MAX_NUM_MULTI_BYTE_RDS \
...@@ -229,7 +229,7 @@ struct dt9812_rmw_multi { ...@@ -229,7 +229,7 @@ struct dt9812_rmw_multi {
}; };
struct dt9812_usb_cmd { struct dt9812_usb_cmd {
u32 cmd; __le32 cmd;
union { union {
struct dt9812_flash_data flash_data_info; struct dt9812_flash_data flash_data_info;
struct dt9812_read_multi read_multi_info; struct dt9812_read_multi read_multi_info;
......
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