提交 70bcbc06 编写于 作者: S Shaun Laing 提交者: 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: NShaun Laing <shaun@xresource.ca>
Reviewed-by: NIan Abbott <abbotti@mev.co.uk>
Reviewed-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 62bf50cd
......@@ -187,8 +187,8 @@ enum {
};
struct dt9812_flash_data {
u16 numbytes;
u16 address;
__le16 numbytes;
__le16 address;
};
#define DT9812_MAX_NUM_MULTI_BYTE_RDS \
......@@ -229,7 +229,7 @@ struct dt9812_rmw_multi {
};
struct dt9812_usb_cmd {
u32 cmd;
__le32 cmd;
union {
struct dt9812_flash_data flash_data_info;
struct dt9812_read_multi read_multi_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册