Re: [PATCH v2 net-next] net: phy: check return code when requesting PHY driver module

2019-01-17 Thread David Miller
From: Heiner Kallweit Date: Wed, 16 Jan 2019 08:07:38 +0100 > When requesting the PHY driver module fails we'll bind the genphy > driver later. This isn't obvious to the user and may cause, depending > on the PHY, different types of issues. Therefore check the return code > of request_module(). N

Re: [PATCH v2 net-next] net: phy: check return code when requesting PHY driver module

2019-01-16 Thread Andrew Lunn
On Wed, Jan 16, 2019 at 08:07:38AM +0100, Heiner Kallweit wrote: > When requesting the PHY driver module fails we'll bind the genphy > driver later. This isn't obvious to the user and may cause, depending > on the PHY, different types of issues. Therefore check the return code > of request_module()

[PATCH v2 net-next] net: phy: check return code when requesting PHY driver module

2019-01-15 Thread Heiner Kallweit
When requesting the PHY driver module fails we'll bind the genphy driver later. This isn't obvious to the user and may cause, depending on the PHY, different types of issues. Therefore check the return code of request_module(). Note that we only check for failures in loading the module, not whether