linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
Christophe JAILLET 8ccc113172 mlxsw: core: Fix an error handling path in 'mlxsw_core_bus_device_register()'
Resources are not freed in the reverse order of the allocation.
Labels are also mixed-up.

Fix it and reorder code and labels in the error handling path of
'mlxsw_core_bus_device_register()'

Fixes: ef3116e540 ("mlxsw: spectrum: Register KVD resources with devlink")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-11 11:56:05 -04:00
..
cmd.h
core_acl_flex_actions.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
core_acl_flex_actions.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
core_acl_flex_keys.c
core_acl_flex_keys.h mlxsw: core: Fix flex keys scratchpad offset conflict 2018-02-28 12:32:36 -05:00
core_hwmon.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
core_thermal.c
core.c mlxsw: core: Fix an error handling path in 'mlxsw_core_bus_device_register()' 2018-05-11 11:56:05 -04:00
core.h mlxsw: Move "resources_query_enable" out of mlxsw_config_profile 2018-04-01 10:56:43 -04:00
emad.h
i2c.c
i2c.h
ib.h
item.h
Kconfig mlxsw: spectrum: Don't depend on ip_gre and ip6_gre 2018-03-12 11:07:16 -04:00
Makefile
minimal.c
pci_hw.h
pci.c mlxsw: Move "resources_query_enable" out of mlxsw_config_profile 2018-04-01 10:56:43 -04:00
pci.h
port.h
reg.h mlxsw: reg: Add register settings for IPv6 multicast routing 2018-03-26 13:14:44 -04:00
resources.h
spectrum_acl_flex_actions.c mlxsw: spectrum: Keep mirror netdev in mlxsw_sp_span_entry 2018-02-27 14:46:27 -05:00
spectrum_acl_flex_actions.h mlxsw: spectrum_acl: Fix flex actions header ifndef define construct 2018-04-01 10:56:41 -04:00
spectrum_acl_flex_keys.h
spectrum_acl_tcam.c mlxsw: spectrum_acl: Do not invalidate already invalid ACL groups 2018-03-20 12:11:02 -04:00
spectrum_acl.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
spectrum_buffers.c mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic 2018-03-17 17:34:54 -04:00
spectrum_cnt.c
spectrum_cnt.h
spectrum_dcb.c
spectrum_dpipe.c
spectrum_dpipe.h
spectrum_fid.c mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast 2018-02-28 12:32:36 -05:00
spectrum_flower.c mlxsw: spectrum: Fix gact_ok offloading 2018-03-09 13:02:13 -05:00
spectrum_ipip.c mlxsw: spectrum_ipip: Support decoding IPv6 tunnel addresses 2018-02-27 14:46:26 -05:00
spectrum_ipip.h mlxsw: spectrum_ipip: Support decoding IPv6 tunnel addresses 2018-02-27 14:46:26 -05:00
spectrum_kvdl.c devlink: convert occ_get op to separate registration 2018-04-08 12:45:57 -04:00
spectrum_mr_tcam.c mlxsw: spectrum_router: Support IPv6 multicast to host CPU 2018-03-26 13:14:44 -04:00
spectrum_mr_tcam.h
spectrum_mr.c mlxsw: spectrum_mr: Add ipv6 specific operations 2018-03-26 13:14:44 -04:00
spectrum_mr.h mlxsw: spectrum_mr: Add ipv6 specific operations 2018-03-26 13:14:44 -04:00
spectrum_qdisc.c mlxsw: spectrum: qdiscs: prio: Handle graft command 2018-02-28 12:06:01 -05:00
spectrum_router.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-04-01 19:49:34 -04:00
spectrum_router.h mlxsw: spectrum_router: Support IPv6 multicast to host CPU 2018-03-26 13:14:44 -04:00
spectrum_span.c mlxsw: spectrum_span: Prevent duplicate mirrors 2018-03-23 21:50:28 -04:00
spectrum_span.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
spectrum_switchdev.c mlxsw: spectrum_switchdev: Do not remove mrouter port from MDB's ports list 2018-04-27 13:44:50 -04:00
spectrum.c devlink: convert occ_get op to separate registration 2018-04-08 12:45:57 -04:00
spectrum.h devlink: convert occ_get op to separate registration 2018-04-08 12:45:57 -04:00
switchib.c mlxsw: Move "resources_query_enable" out of mlxsw_config_profile 2018-04-01 10:56:43 -04:00
switchx2.c mlxsw: Move "resources_query_enable" out of mlxsw_config_profile 2018-04-01 10:56:43 -04:00
trap.h mlxsw: spectrum: Add multicast router trap for PIMv6 2018-03-26 13:14:45 -04:00
txheader.h