Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6e67d6d authored by Russell King's avatar Russell King Committed by David S. Miller
Browse files

sfp: fix sparse warning



drivers/net/phy/sfp-bus.c:298:13: warning: context imbalance in 'sfp_bus_release' - wrong count at exit

Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0a6fcd3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -291,7 +291,7 @@ static struct sfp_bus *sfp_bus_get(struct device_node *np)
	return found;
	return found;
}
}


static void sfp_bus_release(struct kref *kref) __releases(sfp_mutex)
static void sfp_bus_release(struct kref *kref)
{
{
	struct sfp_bus *bus = container_of(kref, struct sfp_bus, kref);
	struct sfp_bus *bus = container_of(kref, struct sfp_bus, kref);