]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: meson-gxl: check phy_write return value
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 18 Dec 2017 09:44:40 +0000 (10:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2017 18:24:55 +0000 (13:24 -0500)
commitc47ed6c9839a9f1c2689bd58a7b9c77b93934fbc
tree0b5883bba4de974532c1da372c0e548d33aece0b
parentca874aba27f472dc5d6ac329327e36da54837fe0
net: phy: meson-gxl: check phy_write return value

Always check phy_write return values. Better to be safe than sorry

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/meson-gxl.c