diff options
author | 2024-05-13 13:18:53 +0200 | |
---|---|---|
committer | 2024-05-16 09:46:07 +0100 | |
commit | 99975ad644c7836414183fa7be4f883a4fb2bf64 (patch) | |
tree | ff79ec21f09f93dd7fede8ead7c214bbcadcf563 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next (diff) | |
download | wireguard-linux-99975ad644c7836414183fa7be4f883a4fb2bf64.tar.xz wireguard-linux-99975ad644c7836414183fa7be4f883a4fb2bf64.zip |
net: lan966x: remove debugfs directory in probe() error path
A debugfs directory entry is create early during probe(). This entry is
not removed on error path leading to some "already present" issues in
case of EPROBE_DEFER.
Create this entry later in the probe() code to avoid the need to change
many 'return' in 'goto' and add the removal in the already present error
path.
Fixes: 942814840127 ("net: lan966x: Add VCAP debugFS support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions