From: Jes Sorensen Date: Mon, 13 Apr 2015 14:28:42 +0000 (-0400) Subject: staging: unisys: visorchipset: Use correct type for dev_no X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a6e7fe5c042c171d912783a8bf0918b7f68aefe4;p=linux-beck.git 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 Tested-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- 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 *