aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-05-20 20:49:47 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-21 12:13:05 -0400
commit3bcd47726c3b744fd08781795cca905cc59a1382 (patch)
tree4a2f0c508abeeaa42e69be09ad685c5cb999a350 /tools/perf/scripts/python/bin
parentmv88e6xxx: Fix uninitialized variable warning. (diff)
downloadlinux-3bcd47726c3b744fd08781795cca905cc59a1382.tar.gz
linux-3bcd47726c3b744fd08781795cca905cc59a1382.zip
net: phy: phylink: Don't release NULL GPIO
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@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions