]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
AX88796: Fix locking in ethtool support
authorBen Dooks <ben-linux@fluff.org>
Thu, 7 Aug 2008 16:21:09 +0000 (17:21 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 14 Aug 2008 08:44:21 +0000 (04:44 -0400)
commitc0912585ec8b64d846d56995241f2c8a7f48ee75
treea1d55fd65b6f018b0537d353c35c71633f46da13
parent1a3c4bc61547e5a75fd3b85b425624756da4cffb
AX88796: Fix locking in ethtool support

Fix a pair of nasty locking problems in the ax88796 driver
spotted by a sparse check:

warning: context imbalance in 'ax_get_settings' - wrong count at exit
warning: context imbalance in 'ax_set_settings' - wrong count at exit

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ax88796.c