[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190312.145443.966175629804121821.davem@davemloft.net>
Date: Tue, 12 Mar 2019 14:54:43 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kjlu@....edu
Cc: pakki001@....edu, peppe.cavallaro@...com, alexandre.torgue@...com,
joabreu@...opsys.com, maxime.ripard@...tlin.com, wens@...e.org,
mcoquelin.stm32@...il.com, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: dwmac-sun8i: fix a missing check of
of_get_phy_mode
From: Kangjie Lu <kjlu@....edu>
Date: Tue, 12 Mar 2019 02:50:40 -0500
> of_get_phy_mode may fail and return a negative error code;
> the fix checks the return value of of_get_phy_mode and
> returns -EINVAL of it fails.
>
> Signed-off-by: Kangjie Lu <kjlu@....edu>
Applied.
Powered by blists - more mailing lists