Commit 4ce3ac81 authored by Alex Elder's avatar Alex Elder
Browse files

UPSTREAM: net: ipa: use the right accessor in ipa_endpoint_status_skip()



When extracting the destination endpoint ID from the status in
ipa_endpoint_status_skip(), u32_get_bits() is used.  This happens to
work, but it's wrong: the structure field is only 8 bits wide
instead of 32.

Fix this by using u8_get_bits() to get the destination endpoint ID.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
(cherry picked from commit c13899f1
 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: Ie9e184439eb49136403512805594734c5fa4204d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2674474


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/+/2685037
parent b51275a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment