commit | c13899f187285eaa5bfc30f8692888ba2e7765cb | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Mon Feb 01 17:26:08 2021 -0600 |
committer | Jakub Kicinski <kuba@kernel.org> | Tue Feb 02 08:48:15 2021 -0800 |
tree | c90247463bb77f7054720850e6526887f6fcae91 | |
parent | 088f8a2396d813e7ee49272a1a59b55139c81e64 [diff] |
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>