diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-09-30 16:16:56 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-01 12:18:18 -0300 |
commit | 050dbddf249eee3e936b5734c30b2e1b427efdc3 (patch) | |
tree | 45c589e1221c488964f59f4475b77fb060df7c45 /drivers/infiniband/sw/rxe/rxe_pool.c | |
parent | RDMA/siw: Simplify several debug messages (diff) | |
download | linux-dev-050dbddf249eee3e936b5734c30b2e1b427efdc3.tar.xz linux-dev-050dbddf249eee3e936b5734c30b2e1b427efdc3.zip |
RDMA/siw: Fix port number endianness in a debug message
sin_port and sin6_port are big endian member variables. Convert these port
numbers into CPU endianness before printing.
Link: https://lore.kernel.org/r/20190930231707.48259-5-bvanassche@acm.org
Fixes: 6c52fdc244b5 ("rdma/siw: connection management")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_pool.c')
0 files changed, 0 insertions, 0 deletions