IB/mlx5: Use ARRAY_SIZE instead of sizeof/sizeof[0]
authorFabian Frederick <fabf@skynet.be>
Tue, 12 Aug 2014 23:20:08 +0000 (19:20 -0400)
committerRoland Dreier <roland@purestorage.com>
Wed, 13 Aug 2014 05:00:58 +0000 (22:00 -0700)
commita8f731ebd1b4f94cf52ff07fe524414b4fbf9793
tree498e7cb58342c2c4fc6705b033855f68313afa6d
parent64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91
IB/mlx5: Use ARRAY_SIZE instead of sizeof/sizeof[0]

Acked-by: Eli Cohen <eli@mellanox.com>
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/mlx5/qp.c