RDMA/cxgb4: Address sparse warnings
authorVipul Pandya <vipul@chelsio.com>
Mon, 7 Jan 2013 13:12:00 +0000 (13:12 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 14 Feb 2013 23:51:58 +0000 (15:51 -0800)
commitef5d6355ed4bcf574e8473c3ce667cbf6c66a0ee
tree194ade849c55b53f8189f7a46bdd3697ffdbdb0a
parentb3de6cfebc6167761c40947f05f4c817531f37d5
RDMA/cxgb4: Address sparse warnings

Fixe the following types of sparse warnings
- cast to pointer from integer of different size
- cast from pointer to integer of different size
- incorrect type in assignment (different base types)
- incorrect type in argument 1 (different base types)
- cast from restricted __be64
- cast from restricted __be32

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/cxgb4/device.c