commit | 7a5efb62f6ae366cefac6be475434906c5061e15 | [log] [tgz] |
---|---|---|
author | Don Wood <donald.e.wood@intel.com> | Wed Apr 08 14:21:02 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Apr 08 14:21:02 2009 -0700 |
tree | 834615c1a5928d196aec846cfe2742cea168a78c | |
parent | 5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a [diff] |
RDMA/nes: Fix incorrect casts on 32-bit architectures The were some incorrect casts to unsigned long that caused 64-bit values to be truncated on 32-bit architectures and made the driver pass invalid adresses and lengths to the hardware. The problems were primarily seen with kernels with highmem configured but some could show up in non-highmem kernels, too. Signed-off-by: Don Wood <donald.e.wood@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>