RDMA/efa: Use existing FIELD_SIZEOF macro
authorGal Pressman <galpress@amazon.com>
Mon, 26 Aug 2019 11:53:50 +0000 (14:53 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 27 Aug 2019 16:01:15 +0000 (13:01 -0300)
commit1bc5ba836e3ba02b8c7981a1fb453fe33513526d
tree4c9bc18be518dd3bbff157d850423de91afc13f2
parent958b6813f0c077c45a36d0a10b5bdcd27216eabe
RDMA/efa: Use existing FIELD_SIZEOF macro

Use FIELD_SIZEOF macro instead of hard coding it in field_avail macro.

Link: https://lore.kernel.org/r/20190826115350.21718-3-galpress@amazon.com
Reviewed-by: Daniel Kranzdorf <dkkranzd@amazon.com>
Reviewed-by: Firas JahJah <firasj@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/efa/efa_verbs.c