net: ipa: be explicit about endianness
authorAlex Elder <elder@linaro.org>
Mon, 1 Feb 2021 23:26:07 +0000 (17:26 -0600)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Feb 2021 16:48:15 +0000 (08:48 -0800)
commit088f8a2396d813e7ee49272a1a59b55139c81e64
tree758078a53b9cc1e31ac989a4c3729d8df81e01ed
parente6cdd6d80baedadb96d7060a509f51769e53021d
net: ipa: be explicit about endianness

Sparse warns that the assignment of the metadata mask for a QMAP
endpoint in ipa_endpoint_init_hdr_metadata_mask() is a bad
assignment.  We know we want the mask value to be big endian, even
though the value we write is in host byte order.  Use a __force
tag to indicate we really mean it.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_endpoint.c