From: Don Wood Date: Wed, 8 Apr 2009 21:21:02 +0000 (-0700) Subject: RDMA/nes: Fix incorrect casts on 32-bit architectures X-Git-Tag: v2.6.30-rc2~92^2^5~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5efb62f6ae366cefac6be475434906c5061e15;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed