summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2015-04-13 10:28:42 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-30 16:33:05 +0200
commita6e7fe5c042c171d912783a8bf0918b7f68aefe4 (patch)
tree2e7723d2ef578a2290922fe5b1f68a5474954e03 /drivers
parent52063eca7fd04cb4e8a5b8f0d4f99c5e8816d59e (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/unisys/visorchipset/visorchipset.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset.h b/drivers/staging/unisys/visorchipset/visorchipset.h
index 3a8aa5614b4b..3848de253371 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset.h
+++ b/drivers/staging/unisys/visorchipset/visorchipset.h
@@ -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 *