IB/mlx4: Use ARRAY_SIZE instead of sizeof/sizeof[0]
authorFabian Frederick <fabf@skynet.be>
Tue, 12 Aug 2014 23:20:07 +0000 (19:20 -0400)
committerRoland Dreier <roland@purestorage.com>
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 <fabf@skynet.be>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/main.c