diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-08-17 15:50:54 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-24 16:44:48 -0400 |
commit | 17bf1ad2e80db7c9bdafec9c2da72389247194e9 (patch) | |
tree | 451c9c4f6941369beb9d852dfa4c95b26fc27072 /samples | |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions