commit | 52063eca7fd04cb4e8a5b8f0d4f99c5e8816d59e | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Mon Apr 13 10:28:41 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 30 16:33:05 2015 +0200 |
tree | 9ddf6a789df5a9c20220ed08557fc46fe5cc5a02 | |
parent | f4c11551e7109f0d3a4708a149903e4c75e962d2 [diff] |
staging: unisys: visorchipset: Do not use confuse size of long with size of u32 struct visorcipset_device_info defines bus_no and dev_no as u32, while the deprecated ulong type is 64 bits. Hence avoid promoting the values to 64 bit just to truncate them again later. 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>