diff options
author | Don Wood <donald.e.wood@intel.com> | 2009-04-08 17:21:02 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-04-08 17:21:02 -0400 |
commit | 7a5efb62f6ae366cefac6be475434906c5061e15 (patch) | |
tree | 834615c1a5928d196aec846cfe2742cea168a78c /drivers/mtd | |
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>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions