提交 a6e7fe5c 编写于 作者: J Jes Sorensen 提交者: Greg Kroah-Hartman

staging: unisys: visorchipset: Use correct type for dev_no

visorchipset_bus_info.dev_no is only assigned the value of
controlvm_message_packet.create_bus.dev_count, which is a u32. No
point promoting it to a u64.
Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com>
Tested-by: NBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 52063eca
...@@ -141,8 +141,7 @@ struct visorchipset_bus_info { ...@@ -141,8 +141,7 @@ struct visorchipset_bus_info {
struct controlvm_message_header pending_msg_hdr;/* CONTROLVM MsgHdr */ struct controlvm_message_header pending_msg_hdr;/* CONTROLVM MsgHdr */
/** For private use by the bus driver */ /** For private use by the bus driver */
void *bus_driver_context; void *bus_driver_context;
u64 dev_no; u32 dev_no;
}; };
static inline struct visorchipset_bus_info * static inline struct visorchipset_bus_info *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册