Re: [PATCH] net: lan9303: fix missing error handling

2019-03-10 Thread David Miller
From: Kangjie Lu Date: Sun, 10 Mar 2019 03:08:56 -0500 > Both lan9303_phy_write and regmap_write may fail. The fix adds > the error handling to print error messages upon failure. > > Signed-off-by: Kangjie Lu It's ignored elsewhere in this driver in places you haven't handled. I doubt this is

[PATCH] net: lan9303: fix missing error handling

2019-03-10 Thread Kangjie Lu
Both lan9303_phy_write and regmap_write may fail. The fix adds the error handling to print error messages upon failure. Signed-off-by: Kangjie Lu --- drivers/net/dsa/lan9303-core.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-