RDMA/cxgb4: re-fix 32-bit build warning
authorArnd Bergmann <arnd@arndb.de>
Wed, 7 Oct 2015 12:10:04 +0000 (14:10 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 21 Oct 2015 20:56:28 +0000 (16:56 -0400)
commitb61e564af85bde408456f779eb267a37a64dc522
tree6bae2ed11907e6af1ac854d83d852bfcc89f1654
parent931cf9a3e55c7a4c0d7340140643ce6fdf7b6e96
RDMA/cxgb4: re-fix 32-bit build warning

Casting a pointer to __be64 produces a warning on 32-bit architectures:

drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    req->wr.wr_lo = (__force __be64)&wr_wait;

This was fixed at least twice for this driver in different places,
and accidentally reverted once more. This puts the correct version
back in place.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 6198dd8d7a6a7 ("iw_cxgb4: 32b platform fixes")
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/mem.c