OSDN Git Service

atl1e: checking the status of atl1e_write_phy_reg
authorKangjie Lu <kjlu@umn.edu>
Wed, 26 Dec 2018 04:23:19 +0000 (22:23 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Dec 2018 00:23:12 +0000 (16:23 -0800)
commitff07d48d7bc0974d4f96a85a4df14564fb09f1ef
tree80a92bb3505bba84b31a72a6f81fe4b3bb3719eb
parente49505f7255be8ced695919c08a29bf2c3d79616
atl1e: checking the status of atl1e_write_phy_reg

atl1e_write_phy_reg() could fail. The fix issues an error message when
it fails.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1e/atl1e_main.c