]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Fix endianness annotation in rdma_is_multicast_addr()
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:48:43 +0000 (10:48 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 15 Oct 2017 00:47:05 +0000 (20:47 -0400)
commit78f4c9459d265c4cce71997cd0325190190b8b88
tree5c8c0c0c9d9a5aff2c4dc223f1c6ddafce7751e7
parente44ce66bf4c663bf8dec82ffacc4ffd250fb02e1
IB/core: Fix endianness annotation in rdma_is_multicast_addr()

Since ipv4_addr is a big endian 32-bit number, annotate it as such.

Fixes: commit cdec8f5d775d ("IB/core: Set RoCEv2 MGID according to spec")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_addr.h