]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd9c1c9509db893ebfc5561bdebc16d3177aa9cc
tree80a92bb3505bba84b31a72a6f81fe4b3bb3719eb
parent96dbc434f1e614884fd39c6b7f374bb7ad5baf26
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