diff options
author | Herve Codina <herve.codina@bootlin.com> | 2024-05-13 14:18:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-16 11:46:07 +0300 |
commit | 99975ad644c7836414183fa7be4f883a4fb2bf64 (patch) | |
tree | ff79ec21f09f93dd7fede8ead7c214bbcadcf563 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9 (diff) | |
download | linux-99975ad644c7836414183fa7be4f883a4fb2bf64.tar.xz |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions