]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mlxsw: spectrum: fix some error handling
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 9 Dec 2015 10:33:51 +0000 (13:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 01:10:55 +0000 (20:10 -0500)
commit82a06429ae215b39320e925dfae72419865d6029
tree3014e1eb16eba4d5e0f8f541db1f00f79193d9f4
parent9dd2d6c5c9755b160fe0111bcdad9491676feea8
mlxsw: spectrum: fix some error handling

The "err = " assignment is missing here.

Fixes: 0d65fc13042f ('mlxsw: spectrum: Implement LAG port join/leave')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c