[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170830.153007.110092081024877123.davem@davemloft.net>
Date: Wed, 30 Aug 2017 15:30:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: salil.mehta@...wei.com
Cc: yisen.zhuang@...wei.com, mehta.salil.lnk@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxarm@...wei.com
Subject: Re: [PATCH net-next] net: hns3: Fixes the wrong IS_ERR check on
the returned phydev value
From: Salil Mehta <salil.mehta@...wei.com>
Date: Wed, 30 Aug 2017 12:06:03 +0100
> This patch removes the wrong check being done for the phy device being
> returned by the mdiobus_get_phy() function. This function never returns
> the error pointers.
>
> Fixes: 256727da7395 ("net: hns3: Add MDIO support to HNS3 Ethernet
> Driver for hip08 SoC")
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Salil Mehta <salil.mehta@...wei.com>
Applied.
Powered by blists - more mailing lists