commit | 17bf1ad2e80db7c9bdafec9c2da72389247194e9 | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Thu Aug 17 15:50:54 2017 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Thu Aug 24 16:44:48 2017 -0400 |
tree | 451c9c4f6941369beb9d852dfa4c95b26fc27072 | |
parent | 84305d71d6ca9a2e6a33d9b403639f1cdeeee846 [diff] |
RDMA/mlx4: Properly annotate link layer variable The rdma_port_get_link_layer() returns enum rdma_link_layer as a return value, hence it is better to store the return value in specially annotated variable and not in int. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>