linux/drivers/net/ethernet/intel/i40e
Joe Perches e3fe44c759 i40e: Fix possible memory leak in i40e_dbg_dump_desc
I didn't notice that return in the code, fix it by
adding a goto out instead to free the memory.

Fixes:

> New smatch warnings:
> drivers/net/ethernet/intel/i40e/i40e_debugfs.c:832 i40e_dbg_dump_desc() warn: possible memory leak of 'ring'

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-12-31 15:40:12 -08:00
..
i40e_adminq_cmd.h i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_adminq.c i40e: init NVM update state on adminq init 2014-12-09 12:57:03 -08:00
i40e_adminq.h i40e: check for AQ timeout in aq_rc decode 2014-12-09 12:57:04 -08:00
i40e_alloc.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_common.c i40e: get pf_id from HW rather than PCI function 2014-12-06 04:46:45 -08:00
i40e_dcb_nl.c i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_dcb.c i40e: Check for LLDP AdminStatus before querying DCBX 2014-11-18 01:09:06 -08:00
i40e_dcb.h i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_debugfs.c i40e: Fix possible memory leak in i40e_dbg_dump_desc 2014-12-31 15:40:12 -08:00
i40e_diag.c i40e: Rework register diagnostic 2014-06-05 01:27:46 -07:00
i40e_diag.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_ethtool.c i40e: better error messages for NVM update issues 2014-12-09 12:57:01 -08:00
i40e_fcoe.c i40e: Add support to firmware CEE DCBX mode 2014-11-18 01:09:02 -08:00
i40e_fcoe.h i40e: adds FCoE code to the i40e driver 2014-08-02 19:41:13 -07:00
i40e_hmc.c i40e/i40evf: Fix code to accommodate i40e_register.h changes 2014-06-08 02:01:23 -07:00
i40e_hmc.h i40e/i40evf: Force a shifted '1' to be unsigned 2014-07-02 19:02:19 -07:00
i40e_lan_hmc.c i40e: remove unnecessary break after goto 2014-07-13 23:45:24 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c net: Disallow providing non zero VLAN ID for NIC drivers FDB add flow 2014-12-16 15:41:19 -05:00
i40e_nvm.c i40e: add to NVM update debug message 2014-12-09 12:57:05 -08:00
i40e_osdep.h i40e: Adds FCoE related code to i40e core driver 2014-08-02 19:41:13 -07:00
i40e_prototype.h i40e: Check for LLDP AdminStatus before querying DCBX 2014-11-18 01:09:06 -08:00
i40e_ptp.c i40e: don't enable PTP support on more than one PF per port 2014-12-06 03:47:15 -08:00
i40e_register.h i40e/i40evf: i40e_register.h update 2014-06-19 20:22:02 -07:00
i40e_status.h i40e: Fix GPL header 2014-01-09 02:10:23 -08:00
i40e_txrx.c ethernet/intel: Use eth_skb_pad and skb_put_padto helpers 2014-12-08 20:47:42 -05:00
i40e_txrx.h i40e: clean up throttle rate code 2014-11-11 06:01:48 -08:00
i40e_type.h i40e/i40evf: Convert macro to static inline 2014-12-09 12:57:05 -08:00
i40e_virtchnl_pf.c i40e: Add new update VSI flow to accommodate FW fix with VSI Loopback mode 2014-12-06 04:26:33 -08:00
i40e_virtchnl_pf.h i40e: Add new update VSI flow to accommodate FW fix with VSI Loopback mode 2014-12-06 04:26:33 -08:00
i40e_virtchnl.h i40e: Add a virtual channel op to config RSS 2014-12-06 03:53:48 -08:00
i40e.h i40e: increase ARQ size 2014-12-06 04:39:30 -08:00
Makefile i40e: adds FCoE to build and updates its documentation 2014-08-02 19:41:13 -07:00