| fce36755 | 31-Oct-2025 |
Yann Gautier <yann.gautier@st.com> |
fix(st-usb): init endpoint with fixed value if only one is used
Use a fixed value when initializing PHY endpoint, in case only one is used.
This silences the Coverity issue CID 491154: Integer hand
fix(st-usb): init endpoint with fixed value if only one is used
Use a fixed value when initializing PHY endpoint, in case only one is used.
This silences the Coverity issue CID 491154: Integer handling issues (CONSTANT_EXPRESSION_RESULT).
Change-Id: I082ba1a608439e0bdc15ddd8a514704e616d53b8 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 8defd6fe | 31-Oct-2025 |
Yann Gautier <yann.gautier@st.com> |
fix(st-usb): correct phy_epnum type for error trace
The variable phy_epnum is an uint8_t, we should use %u to display it, and not %lu.
This corrects Coverity issue CID 491155: API usage errors (PW.
fix(st-usb): correct phy_epnum type for error trace
The variable phy_epnum is an uint8_t, we should use %u to display it, and not %lu.
This corrects Coverity issue CID 491155: API usage errors (PW.PRINTF_ARG_MISMATCH).
Change-Id: I6be371277f641b08921f070d0a7dfeee9324a3fb Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|