]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdeafe474a1aac6421f359f0df5a3c117263e7ee2
tree194ade849c55b53f8189f7a46bdd3697ffdbdb0a
parent2d559662ed8a5544b52e5c3f9f791d2fde868359
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