diff options
author | Don Hiatt <don.hiatt@intel.com> | 2017-10-02 11:04:33 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-04 15:39:45 -0400 |
commit | a917374e8a20cdfbaaaaaa2b01331dc063d38848 (patch) | |
tree | e7646a66be5994b5acbf5c134ad55a6db334d8f6 /init | |
parent | 9be6a5d788b0f236e3b30827187e5db33231fa74 (diff) |
IB/core: Use __be32 for LIDs in opa_is_extended_lid
The LIDs passed to opa_extended_lid are in __be32 format,
change function signature accordingly.
This fixes the following sparse warnings:
drivers/infiniband/core/cm.c:1181:60: warning: incorrect type in
argument 1 (different ba
drivers/infiniband/core/cm.c:1182:60: warning: incorrect type in
argument 2 (different ba
drivers/infiniband/core/cm.c:1242:68: warning: incorrect type in
argument 1 (different ba
drivers/infiniband/core/cm.c:1243:68: warning: incorrect type in
argument 2 (different ba
drivers/infiniband/core/cm.c:2922:66: warning: incorrect type in
argument 1 (different ba
drivers/infiniband/core/cm.c:2923:66: warning: incorrect type in
argument 2 (different ba
include/rdma/opa_addr.h:102:14: warning: cast to restricted __be32
Fixes: e92aa00a5189 ("IB/CM: Add OPA Path record support to CM")
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions