diff options
| author | Bart Van Assche <[email protected]> | 2018-07-02 10:06:51 -0700 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-07-03 14:11:34 -0600 |
| commit | 4eefd62c17a9a5e7576207e84f3d2b4f73aba750 (patch) | |
| tree | a89998c8182291c75fc4e61af664340cfe13502c /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 1c77483e4c50339b0306572167ccbff6b55d051b (diff) | |
include/rdma/opa_addr.h: Fix an endianness issue
IB_MULTICAST_LID_BASE is defined as follows:
#define IB_MULTICAST_LID_BASE cpu_to_be16(0xC000)
Hence use be16_to_cpu() to convert it to CPU endianness. Compile-tested
only.
Fixes: af808ece5ce9 ("IB/SA: Check dlid before SA agent queries for ClassPortInfo")
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Venkata Sandeep Dhanalakota <[email protected]>
Cc: Mike Marciniszyn <[email protected]>
Cc: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions