diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-13 10:25:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-13 21:48:26 -0800 |
commit | e84f885ebfb43b1ebb1481ee8bb2018743f947e9 (patch) | |
tree | a5844259eac44bc6e5119e5c96fdaeb28aa78bdf /drivers/net/vxge | |
parent | f767b6df8a796f901b2bd595ae22234636be4124 (diff) |
vxge: Remember to release firmware after upgrading firmware
Regardless of whether the firmware update being performed by
vxge_fw_upgrade() is a success or not we must still remember to always
release_firmware() before returning.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge')
-rw-r--r-- | drivers/net/vxge/vxge-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c index 1ac9b568f1b..c81a6512c68 100644 --- a/drivers/net/vxge/vxge-main.c +++ b/drivers/net/vxge/vxge-main.c @@ -4120,6 +4120,7 @@ int vxge_fw_upgrade(struct vxgedev *vdev, char *fw_name, int override) "hotplug event.\n"); out: + release_firmware(fw); return ret; } |