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: Jes Sorensen <Jes.Sorensen@redhat.com> Tested-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
52063eca7f
commit
a6e7fe5c04
@ -141,8 +141,7 @@ struct visorchipset_bus_info {
|
||||
struct controlvm_message_header pending_msg_hdr;/* CONTROLVM MsgHdr */
|
||||
/** For private use by the bus driver */
|
||||
void *bus_driver_context;
|
||||
u64 dev_no;
|
||||
|
||||
u32 dev_no;
|
||||
};
|
||||
|
||||
static inline struct visorchipset_bus_info *
|
||||
|
Loading…
Reference in New Issue
Block a user