[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180521.121429.1892126313890198061.davem@davemloft.net>
Date: Mon, 21 May 2018 12:14:29 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org, rmk+kernel@...linux.org.uk, andrew@...n.ch,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: phy: phylink: Don't release NULL GPIO
From: Florian Fainelli <f.fainelli@...il.com>
Date: Sun, 20 May 2018 20:49:47 -0700
> If CONFIG_GPIOLIB is disabled, gpiod_put() becomes a stub that produces a
> warning, this helped identify that we could be attempting to release a NULL
> pl->link_gpio GPIO descriptor, so guard against that.
>
> Fixes: daab3349ad1a ("net: phy: phylink: Release link GPIO")
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Applied.
Powered by blists - more mailing lists