IB/mlx4: Use ARRAY_SIZE instead of sizeof/sizeof[0]
authorFabian Frederick <[email protected]>
Tue, 12 Aug 2014 23:20:07 +0000 (19:20 -0400)
committerRoland Dreier <[email protected]>
Wed, 13 Aug 2014 05:00:23 +0000 (22:00 -0700)
commita57f23f675bf679b2be093571ae09fe2199c5e76
treed5154d98d7b0548804aa7cf7e384c39427172450
parent114840c3d29b9cbd867faa69595a2aee6f6b54a2
IB/mlx4: Use ARRAY_SIZE instead of sizeof/sizeof[0]

Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
drivers/infiniband/hw/mlx4/main.c