[PATCH 3/3] phy: qcom: qmp-usbc: Simplify check for non-NULL pointer
Abel Vesa
abel.vesa at oss.qualcomm.com
Mon Feb 16 06:58:22 PST 2026
On 26-02-16 12:04:16, Krzysztof Kozlowski wrote:
> Pointers should not use explicit '0' comparison, so just use standard
> evaluation as non-NULL:
>
> phy-qcom-qmp-usbc.c:1682:31: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa at oss.qualcomm.com>
More information about the linux-arm-kernel
mailing list