]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: Use DEVICE_ATTR_RO macro to show parent field
authorKamal Heib <kamalheib1@gmail.com>
Thu, 15 Jun 2017 08:29:05 +0000 (11:29 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 12:43:12 +0000 (08:43 -0400)
commit12d0a9e0bba34f6693ac2c24331079e9a09ef9af
tree9049b61d7c602e5624222ecd611efe095c664893
parenta054cb9e1425b65ac83c23d3d053fa0f565e1da5
IB/rxe: Use DEVICE_ATTR_RO macro to show parent field

Use DEVICE_ATTR RO() macro and rename the show function accordingly.

Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_verbs.c