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:Alex Elder <elder@linaro.org> Signed-off-by:
Jakub 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:
Sujit Kautkar <sujitka@chromium.org> Change-Id: Ie9e184439eb49136403512805594734c5fa4204d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2674474 Reviewed-by:
Sean Paul <seanpaul@chromium.org> Reviewed-by:
Evan Green <evgreen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2685037
Loading
Please sign in to comment