Home
last modified time | relevance | path

Searched hist:"2 b87d721999a7591af7a63c1908084b1d59ba4e5" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ipa/
H A Dipa_endpoint.cdiff 2b87d721999a7591af7a63c1908084b1d59ba4e5 Thu Oct 27 14:26:29 CEST 2022 Alex Elder <elder@linaro.org> net: ipa: more completely check endpoint validity

Ensure all defined TX endpoints are in the range [0, CONS_PIPES) and
defined RX endpoints are within [PROD_LOWEST, PROD_LOWEST+PROD_PIPES).

Modify the way local variables are used to make the checks easier
to understand. Check for each endpoint being in valid range in the
loop, and drop the logical-AND check of initialized against
unavailable IDs.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>