Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1723717

Re: [PATCH net-next] net: hns3: Fixes the wrong IS_ERR check on the returned phydev value

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] net: hns3: Fixes the wrong IS_ERR check on the returned phydev value
Date 2017-08-31 00:40 +0200
Message-ID <ukjOq-5Me-11@gated-at.bofh.it> (permalink)
References <uk92H-7yD-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Salil Mehta <salil.mehta@huawei.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@oracle.com>
> Signed-off-by: Salil Mehta <salil.mehta@huawei.com>

Applied.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH net-next] net: hns3: Fixes the wrong IS_ERR check on the returned phydev value Salil Mehta <salil.mehta@huawei.com> - 2017-08-30 13:10 +0200
  Re: [PATCH net-next] net: hns3: Fixes the wrong IS_ERR check on  the returned phydev value David Miller <davem@davemloft.net> - 2017-08-31 00:40 +0200

csiph-web