[PATCH -next] phy: ralink: phy-mt7621-pci: fix return value check in mt7621_pci_phy_probe()

Sergio Paracuellos sergio.paracuellos at gmail.com
Fri Mar 5 04:59:36 GMT 2021


On Fri, Mar 5, 2021 at 4:40 AM 'Wei Yongjun <weiyongjun1 at huawei.com> wrote:
>
> From: Wei Yongjun <weiyongjun1 at huawei.com>
>
> Fix the return value check which testing the wrong variable
> in mt7621_pci_phy_probe().
>
> Fixes: d87da32372a0 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>
> ---
>  drivers/phy/ralink/phy-mt7621-pci.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Sergio Paracuellos <sergio.paracuellos at gmail.com>



More information about the linux-arm-kernel mailing list