Files
linux/drivers
Herve Codina 99975ad644 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: 9428148401 ("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>
2024-05-16 09:46:07 +01:00
..
2024-03-07 21:52:03 +00:00
2024-04-07 13:49:02 +02:00
2024-03-07 20:37:04 +00:00
2024-03-07 20:32:47 +00:00
2024-03-07 20:32:38 +00:00
2024-04-22 18:30:39 +02:00
2024-04-22 17:07:13 -04:00
2024-04-29 16:45:53 +02:00