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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:10:36 +0000 (10:10 +0100)
commit9fc290e529b4948b2b18fa943d8bd5c3a5d5b6e1
treef24b482cf9ad9c8d13b884b686fa4291f384ae6c
parentf7af60377ec05e2452a73c349b4fa2a4196480c8
IB/core: Fix endianness annotation in rdma_is_multicast_addr()

[ Upstream commit 1c3aea2bc8f0b2e5b57375ead40457ff75a3a2ec ]

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

Fixes: commit be1d325a3358 ("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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/rdma/ib_addr.h