Commit b51275a7 authored by Alex Elder's avatar Alex Elder
Browse files

UPSTREAM: 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: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
(cherry picked from commit 088f8a23
 https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git

 master)

BUG=b:177097776
TEST=Modem functional, No IPA hang in suspend stress test

Signed-off-by: default avatarSujit Kautkar <sujitka@chromium.org>
Change-Id: I3e44260a8bde33b925e242834f9e78ea3ba6fb42
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2674473


Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Reviewed-by: default avatarEvan Green <evgreen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2685036
parent 2cd388fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment