diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-13 11:25:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-14 06:48:26 +0100 |
commit | e84f885ebfb43b1ebb1481ee8bb2018743f947e9 (patch) | |
tree | a5844259eac44bc6e5119e5c96fdaeb28aa78bdf /drivers/net/vxge | |
parent | netdev: bfin_mac: Remove is_multicast_ether_addr use in netdev_for_each_mc_addr (diff) | |
download | linux-e84f885ebfb43b1ebb1481ee8bb2018743f947e9.tar.xz linux-e84f885ebfb43b1ebb1481ee8bb2018743f947e9.zip |
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 1ac9b568f1b0..c81a6512c683 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; } |