net/mlx4_core: Always use 64 bit resource ID when doing lookup
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 21 Mar 2013 05:55:54 +0000 (05:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2013 16:05:08 +0000 (12:05 -0400)
commit1e3f7b324e46b772dec1bb6dd96ae745fc085401
tree12f12b33ed7d909a3f8fadbb891f82da1ed3b6e7
parent6efb5fac4d6b617972ab5a10bf67e0eba2c2d212
net/mlx4_core: Always use 64 bit resource ID when doing lookup

One of the resource tracker code paths was wrongly using int and not u64
for resource tracking IDs, fix it.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c